Author: mgrigorov
Date: Mon Aug 16 14:39:00 2010
New Revision: 985968

URL: http://svn.apache.org/viewvc?rev=985968&view=rev
Log:
Fix a typo in error message


Modified:
    wicket/trunk/wicket/src/main/java/org/apache/wicket/Component.java

Modified: wicket/trunk/wicket/src/main/java/org/apache/wicket/Component.java
URL: 
http://svn.apache.org/viewvc/wicket/trunk/wicket/src/main/java/org/apache/wicket/Component.java?rev=985968&r1=985967&r2=985968&view=diff
==============================================================================
--- wicket/trunk/wicket/src/main/java/org/apache/wicket/Component.java 
(original)
+++ wicket/trunk/wicket/src/main/java/org/apache/wicket/Component.java Mon Aug 
16 14:39:00 2010
@@ -669,8 +669,8 @@ public abstract class Component
                final IDebugSettings debugSettings = 
Application.get().getDebugSettings();
                if (debugSettings.isLinePreciseReportingOnNewComponentEnabled())
                {
-                       setMetaData(CONSTRUCTED_AT_KEY, 
ComponentStrings.toString(this, new MarkupException(
-                               "constructed")));
+                       setMetaData(CONSTRUCTED_AT_KEY,
+                               ComponentStrings.toString(this, new 
MarkupException("constructed")));
                }
 
                if (model != null)
@@ -986,7 +986,7 @@ public abstract class Component
                                throw new 
IllegalStateException(Component.class.getName() +
                                        " has not been properly initialized. 
Something in the hierarchy of " +
                                        getClass().getName() +
-                                       " has not called super.onInitializer() 
in the override of onInitialize() method");
+                                       " has not called super.onInitialize() 
in the override of onInitialize() method");
                        }
                        setFlag(FLAG_INITIALIZE_SUPER_CALL_VERIFIED, false);
                }
@@ -3320,9 +3320,13 @@ public abstract class Component
                        final Page page = findPage();
                        if (page == null)
                        {
-                               return new StringBuffer("[Component id = 
").append(getId()).append(
-                                       ", page = <No Page>, path = 
").append(getPath()).append(".").append(
-                                       
Classes.simpleName(getClass())).append("]").toString();
+                               return new StringBuffer("[Component id = 
").append(getId())
+                                       .append(", page = <No Page>, path = ")
+                                       .append(getPath())
+                                       .append(".")
+                                       .append(Classes.simpleName(getClass()))
+                                       .append("]")
+                                       .toString();
                        }
                        else
                        {


Reply via email to