You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2007/06/05 18:17:10 UTC
svn commit: r544539 -
/directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/exception/ExceptionService.java
Author: elecharny
Date: Tue Jun 5 09:17:09 2007
New Revision: 544539
URL: http://svn.apache.org/viewvc?view=rev&rev=544539
Log:
Removed the "alias" constant, and replaced it
by the SchemaConstants element
Modified:
directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/exception/ExceptionService.java
Modified: directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/exception/ExceptionService.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/exception/ExceptionService.java?view=diff&rev=544539&r1=544538&r2=544539
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/exception/ExceptionService.java (original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/exception/ExceptionService.java Tue Jun 5 09:17:09 2007
@@ -185,7 +185,7 @@
Attribute objectClass = attrs.get( SchemaConstants.OBJECT_CLASS_AT );
- if ( objectClass.contains( "alias" ) )
+ if ( objectClass.contains( SchemaConstants.ALIAS_OC ) )
{
String msg = "Attempt to add entry to alias '" + name.getUpName() + "' not allowed.";
ResultCodeEnum rc = ResultCodeEnum.ALIAS_PROBLEM;