You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by hl...@apache.org on 2009/02/05 19:15:07 UTC

svn commit: r741215 - in /tapestry/tapestry5/trunk/tapestry-ioc/src: main/java/org/apache/tapestry5/ioc/internal/RegistryImpl.java test/java/org/apache/tapestry5/ioc/IntegrationTest.java

Author: hlship
Date: Thu Feb  5 18:15:07 2009
New Revision: 741215

URL: http://svn.apache.org/viewvc?rev=741215&view=rev
Log:
TAP5-488: Typo in error message when contributing to unknown service

Modified:
    tapestry/tapestry5/trunk/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/internal/RegistryImpl.java
    tapestry/tapestry5/trunk/tapestry-ioc/src/test/java/org/apache/tapestry5/ioc/IntegrationTest.java

Modified: tapestry/tapestry5/trunk/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/internal/RegistryImpl.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/internal/RegistryImpl.java?rev=741215&r1=741214&r2=741215&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/internal/RegistryImpl.java (original)
+++ tapestry/tapestry5/trunk/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/internal/RegistryImpl.java Thu Feb  5 18:15:07 2009
@@ -197,7 +197,7 @@
             if (!serviceIdToModule.containsKey(serviceId))
             {
                 throw new IllegalArgumentException(
-                        String.format("Contibution %s is for service '%s', which does not exist.",
+                        String.format("Contribution %s is for service '%s', which does not exist.",
                                       cd, serviceId));
             }
         }

Modified: tapestry/tapestry5/trunk/tapestry-ioc/src/test/java/org/apache/tapestry5/ioc/IntegrationTest.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-ioc/src/test/java/org/apache/tapestry5/ioc/IntegrationTest.java?rev=741215&r1=741214&r2=741215&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-ioc/src/test/java/org/apache/tapestry5/ioc/IntegrationTest.java (original)
+++ tapestry/tapestry5/trunk/tapestry-ioc/src/test/java/org/apache/tapestry5/ioc/IntegrationTest.java Thu Feb  5 18:15:07 2009
@@ -1081,7 +1081,7 @@
         catch (IllegalArgumentException ex)
         {
             assertMessageContains(ex,
-                                  "Contibution org.apache.tapestry5.ioc.InvalidContributeDefModule.contributeDoesNotExist(Configuration)",
+                                  "Contribution org.apache.tapestry5.ioc.InvalidContributeDefModule.contributeDoesNotExist(Configuration)",
                                   "is for service 'DoesNotExist', which does not exist.");
         }
     }