directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1602328 - /directory/shared/trunk/ldap/schema/converter/src/main/java/org/apache/directory/api/converter/schema/Schema.java
Date Fri, 13 Jun 2014 06:17:47 GMT
Author: elecharny
Date: Fri Jun 13 06:17:47 2014
New Revision: 1602328

URL: http://svn.apache.org/r1602328
Log:
Added a toString() method

Modified:
    directory/shared/trunk/ldap/schema/converter/src/main/java/org/apache/directory/api/converter/schema/Schema.java

Modified: directory/shared/trunk/ldap/schema/converter/src/main/java/org/apache/directory/api/converter/schema/Schema.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/schema/converter/src/main/java/org/apache/directory/api/converter/schema/Schema.java?rev=1602328&r1=1602327&r2=1602328&view=diff
==============================================================================
--- directory/shared/trunk/ldap/schema/converter/src/main/java/org/apache/directory/api/converter/schema/Schema.java
(original)
+++ directory/shared/trunk/ldap/schema/converter/src/main/java/org/apache/directory/api/converter/schema/Schema.java
Fri Jun 13 06:17:47 2014
@@ -25,7 +25,7 @@ import java.io.Writer;
 
 
 /**
- * A bean used to hold a schema. We keep its name and we associate whith this
+ * A bean used to hold a schema. We keep its name and we associate with this
  * object an inputStream mapped on the OpenLdap schema to read, and a writer
  * in which the ldif file will be dumped.
  *
@@ -102,4 +102,13 @@ public class Schema
     {
         this.out = out;
     }
+    
+    
+    /**
+     * @see Object#toString()
+     */
+    public String toString()
+    {
+        return "Schema " + name + ".schema";
+    }
 }



Mime
View raw message