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 2014/06/13 08:17:47 UTC
svn commit: r1602328 -
/directory/shared/trunk/ldap/schema/converter/src/main/java/org/apache/directory/api/converter/schema/Schema.java
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";
+ }
}