directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1005813 - /directory/studio/branches/shared-trunk-merge/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/Schema.java
Date Fri, 08 Oct 2010 13:23:14 GMT
Author: pamarcelot
Date: Fri Oct  8 13:23:13 2010
New Revision: 1005813

URL: http://svn.apache.org/viewvc?rev=1005813&view=rev
Log:
Fixed an UnsupportedOperationException.

Modified:
    directory/studio/branches/shared-trunk-merge/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/Schema.java

Modified: directory/studio/branches/shared-trunk-merge/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/Schema.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/shared-trunk-merge/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/Schema.java?rev=1005813&r1=1005812&r2=1005813&view=diff
==============================================================================
--- directory/studio/branches/shared-trunk-merge/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/Schema.java
(original)
+++ directory/studio/branches/shared-trunk-merge/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/schema/Schema.java
Fri Oct  8 13:23:13 2010
@@ -180,6 +180,8 @@ public class Schema
         {
             // TODO: exception handling
             System.out.println( "Schema#loadFromLdif: " + e.toString() );
+            System.err.println( e.getMessage() );
+            e.printStackTrace();
         }
     }
 
@@ -343,7 +345,7 @@ public class Schema
             if ( matchingRule != null && !hasMatchingRuleDescription( matchingRule
) )
             {
                 MatchingRule mrd = new MatchingRule( matchingRule );
-                mrd.getNames().add( matchingRule );
+                mrd.addName( matchingRule );
                 addMatchingRule( mrd );
             }
         }



Mime
View raw message