fix typo in method name

Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/cc5d56a5
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/cc5d56a5
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/cc5d56a5

Branch: refs/heads/master
Commit: cc5d56a504cb6603afacd7f7d37ae971d996e971
Parents: 61b0129
Author: Igor Vaynberg <igor.vaynb...@gmail.com>
Authored: Mon Feb 24 11:09:39 2014 -0800
Committer: Igor Vaynberg <igor.vaynb...@gmail.com>
Committed: Mon Feb 24 11:09:39 2014 -0800

----------------------------------------------------------------------
 wicket-core/src/main/java/org/apache/wicket/markup/WicketTag.java  | 2 +-
 .../wicket/markup/html/panel/FragmentMarkupSourcingStrategy.java   | 2 +-
 .../java/org/apache/wicket/markup/resolver/FragmentResolver.java   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/cc5d56a5/wicket-core/src/main/java/org/apache/wicket/markup/WicketTag.java
----------------------------------------------------------------------
diff --git a/wicket-core/src/main/java/org/apache/wicket/markup/WicketTag.java 
b/wicket-core/src/main/java/org/apache/wicket/markup/WicketTag.java
index b609f7b..98b99cd 100644
--- a/wicket-core/src/main/java/org/apache/wicket/markup/WicketTag.java
+++ b/wicket-core/src/main/java/org/apache/wicket/markup/WicketTag.java
@@ -159,7 +159,7 @@ public class WicketTag extends ComponentTag
        /**
         * @return True if &lt;wicket:fragment&gt;
         */
-       public final boolean isFragementTag()
+       public final boolean isFragmentTag()
        {
                return FragmentResolver.FRAGMENT.equalsIgnoreCase(getName());
        }

http://git-wip-us.apache.org/repos/asf/wicket/blob/cc5d56a5/wicket-core/src/main/java/org/apache/wicket/markup/html/panel/FragmentMarkupSourcingStrategy.java
----------------------------------------------------------------------
diff --git 
a/wicket-core/src/main/java/org/apache/wicket/markup/html/panel/FragmentMarkupSourcingStrategy.java
 
b/wicket-core/src/main/java/org/apache/wicket/markup/html/panel/FragmentMarkupSourcingStrategy.java
index 400ea8d..1d82e42 100644
--- 
a/wicket-core/src/main/java/org/apache/wicket/markup/html/panel/FragmentMarkupSourcingStrategy.java
+++ 
b/wicket-core/src/main/java/org/apache/wicket/markup/html/panel/FragmentMarkupSourcingStrategy.java
@@ -148,7 +148,7 @@ public class FragmentMarkupSourcingStrategy extends 
AbstractMarkupSourcingStrate
                else
                {
                        MarkupElement fragmentTag = childMarkup.get(0);
-                       if ((fragmentTag instanceof WicketTag && 
((WicketTag)fragmentTag).isFragementTag()) == false)
+                       if ((fragmentTag instanceof WicketTag && 
((WicketTag)fragmentTag).isFragmentTag()) == false)
                        {
                                throw new MarkupNotFoundException("Markup found 
for Fragment '" + markupId
                                        + "' in providing markup container " + 
getMarkupProvider(container)

http://git-wip-us.apache.org/repos/asf/wicket/blob/cc5d56a5/wicket-core/src/main/java/org/apache/wicket/markup/resolver/FragmentResolver.java
----------------------------------------------------------------------
diff --git 
a/wicket-core/src/main/java/org/apache/wicket/markup/resolver/FragmentResolver.java
 
b/wicket-core/src/main/java/org/apache/wicket/markup/resolver/FragmentResolver.java
index 974fdf8..bd25302 100644
--- 
a/wicket-core/src/main/java/org/apache/wicket/markup/resolver/FragmentResolver.java
+++ 
b/wicket-core/src/main/java/org/apache/wicket/markup/resolver/FragmentResolver.java
@@ -52,7 +52,7 @@ public class FragmentResolver implements IComponentResolver
                        final WicketTag wTag = (WicketTag)tag;
 
                        // If <wicket:fragment ...>
-                       if (wTag.isFragementTag())
+                       if (wTag.isFragmentTag())
                        {
                                return new 
WebComponent(wTag.getId()).setVisible(false);
                        }

Reply via email to