diff options
-rw-r--r-- | src/com/vaadin/terminal/CombinedRequest.java | 2 | ||||
-rw-r--r-- | src/com/vaadin/terminal/WrappedRequest.java | 2 | ||||
-rw-r--r-- | src/com/vaadin/ui/Root.java | 2 | ||||
-rw-r--r-- | tests/testbench/com/vaadin/tests/components/root/LazyInitRoots.java | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/src/com/vaadin/terminal/CombinedRequest.java b/src/com/vaadin/terminal/CombinedRequest.java index a205f0e01e..6c67a0f263 100644 --- a/src/com/vaadin/terminal/CombinedRequest.java +++ b/src/com/vaadin/terminal/CombinedRequest.java @@ -86,7 +86,7 @@ public class CombinedRequest implements WrappedRequest { public BrowserDetails getBrowserDetails() { return new BrowserDetails() { - public String getUriFragmet() { + public String getUriFragment() { String fragment = secondRequest.getParameter("f"); if (fragment == null || fragment.length() == 0) { return ""; diff --git a/src/com/vaadin/terminal/WrappedRequest.java b/src/com/vaadin/terminal/WrappedRequest.java index 3d95ee7d00..f1783d6504 100644 --- a/src/com/vaadin/terminal/WrappedRequest.java +++ b/src/com/vaadin/terminal/WrappedRequest.java @@ -34,7 +34,7 @@ public interface WrappedRequest extends Serializable { * * @return the URI hash fragment */ - public String getUriFragmet(); + public String getUriFragment(); /** * Gets the value of window.name from the browser. This can be used to diff --git a/src/com/vaadin/ui/Root.java b/src/com/vaadin/ui/Root.java index 94d29ffebd..d011fab388 100644 --- a/src/com/vaadin/ui/Root.java +++ b/src/com/vaadin/ui/Root.java @@ -883,7 +883,7 @@ public class Root extends AbstractComponentContainer implements public void doInit(WrappedRequest request) { BrowserDetails browserDetails = request.getBrowserDetails(); if (browserDetails != null) { - fragment = browserDetails.getUriFragmet(); + fragment = browserDetails.getUriFragment(); } // Call the init overridden by the application developer diff --git a/tests/testbench/com/vaadin/tests/components/root/LazyInitRoots.java b/tests/testbench/com/vaadin/tests/components/root/LazyInitRoots.java index d06b052f5d..f1d538333c 100644 --- a/tests/testbench/com/vaadin/tests/components/root/LazyInitRoots.java +++ b/tests/testbench/com/vaadin/tests/components/root/LazyInitRoots.java @@ -20,7 +20,7 @@ public class LazyInitRoots extends AbstractTestApplication { BrowserDetails browserDetails = request.getBrowserDetails(); getContent().addComponent( new Label("Lazy init root: " - + browserDetails.getUriFragmet())); + + browserDetails.getUriFragment())); } } @@ -35,7 +35,7 @@ public class LazyInitRoots extends AbstractTestApplication { Root root = new Root(); root.getContent().addComponent( new Label("Lazy create root: " - + browserDetails.getUriFragmet())); + + browserDetails.getUriFragment())); return root; } } else if (request.getParameter("lazyInit") != null) { |