directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r902266 - in /directory/apacheds/trunk: core-integ/src/main/java/org/apache/directory/server/core/integ/IntegrationUtils.java i18n/src/main/resources/org/apache/directory/server/i18n/errors.properties
Date Fri, 22 Jan 2010 21:03:55 GMT
Author: felixk
Date: Fri Jan 22 21:03:55 2010
New Revision: 902266

URL: http://svn.apache.org/viewvc?rev=902266&view=rev
Log:
I18n

Modified:
    directory/apacheds/trunk/core-integ/src/main/java/org/apache/directory/server/core/integ/IntegrationUtils.java
    directory/apacheds/trunk/i18n/src/main/resources/org/apache/directory/server/i18n/errors.properties

Modified: directory/apacheds/trunk/core-integ/src/main/java/org/apache/directory/server/core/integ/IntegrationUtils.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-integ/src/main/java/org/apache/directory/server/core/integ/IntegrationUtils.java?rev=902266&r1=902265&r2=902266&view=diff
==============================================================================
--- directory/apacheds/trunk/core-integ/src/main/java/org/apache/directory/server/core/integ/IntegrationUtils.java
(original)
+++ directory/apacheds/trunk/core-integ/src/main/java/org/apache/directory/server/core/integ/IntegrationUtils.java
Fri Jan 22 21:03:55 2010
@@ -227,7 +227,7 @@
                     
                     if ( dn.size() == 0 )
                     {
-                        throw new IllegalStateException( "can't move the root DSE" );
+                        throw new IllegalStateException( I18n.err( I18n.ERR_475 ) );
                     }
                     else if ( oldRdn.equals( newRdn ) )
                     {
@@ -253,7 +253,7 @@
                 break;
 
             default:
-                throw new IllegalStateException( "Unidentified change type value: " + entry.getChangeType()
);
+                throw new IllegalStateException( I18n.err( I18n.ERR_476, entry.getChangeType()
) );
         }
     }
 

Modified: directory/apacheds/trunk/i18n/src/main/resources/org/apache/directory/server/i18n/errors.properties
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/i18n/src/main/resources/org/apache/directory/server/i18n/errors.properties?rev=902266&r1=902265&r2=902266&view=diff
==============================================================================
--- directory/apacheds/trunk/i18n/src/main/resources/org/apache/directory/server/i18n/errors.properties
(original)
+++ directory/apacheds/trunk/i18n/src/main/resources/org/apache/directory/server/i18n/errors.properties
Fri Jan 22 21:03:55 2010
@@ -496,8 +496,8 @@
 ERR_472=Not a valid value
 ERR_473=expected string to normalize
 ERR_474=expected byte[] to normalize
-ERR_475=
-ERR_476=
+ERR_475=can't move the root DSE
+ERR_476=Unidentified change type value: {0}
 ERR_477=
 ERR_478=
 ERR_479=



Mime
View raw message