directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r554911 - in /directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor: SchemaImporter.java model/MatchingRuleImpl.java
Date Tue, 10 Jul 2007 11:49:53 GMT
Author: pamarcelot
Date: Tue Jul 10 04:49:52 2007
New Revision: 554911

URL: http://svn.apache.org/viewvc?view=rev&rev=554911
Log:
Fixed a spelling bug.
Added Javadoc.

Modified:
    directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/SchemaImporter.java
    directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/model/MatchingRuleImpl.java

Modified: directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/SchemaImporter.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/SchemaImporter.java?view=diff&rev=554911&r1=554910&r2=554911
==============================================================================
--- directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/SchemaImporter.java
(original)
+++ directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/SchemaImporter.java
Tue Jul 10 04:49:52 2007
@@ -295,7 +295,7 @@
         mr.setNames( getNames( sr ) );
         mr.setDescription( getDescription( sr ) );
         mr.setObsolete( isObsolete( sr ) );
-        mr.setSyntaxtOid( getSyntax( sr ) );
+        mr.setSyntaxOid( getSyntax( sr ) );
         return mr;
     }
 

Modified: directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/model/MatchingRuleImpl.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/model/MatchingRuleImpl.java?view=diff&rev=554911&r1=554910&r2=554911
==============================================================================
--- directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/model/MatchingRuleImpl.java
(original)
+++ directory/studio/trunk/studio-apacheds-schemaeditor/src/main/java/org/apache/directory/studio/apacheds/schemaeditor/model/MatchingRuleImpl.java
Tue Jul 10 04:49:52 2007
@@ -29,74 +29,106 @@
 import org.apache.directory.shared.ldap.schema.Normalizer;
 import org.apache.directory.shared.ldap.schema.Syntax;
 
-
+/**
+ * This class represents a matching rule.
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ * @version $Rev$, $Date$
+ */
 public class MatchingRuleImpl extends AbstractMatchingRule implements MutableSchemaObject
 {
     private static final long serialVersionUID = 1L;
     
     /** The OID of the syntax */
-    private String syntaxtOid;
+    private String syntaxOid;
 
 
-    public String getSyntaxtOid()
+    /**
+     * Gets the OID of the syntax.
+     *
+     * @return
+     *      the OID of the syntax
+     */
+    public String getSyntaxOid()
     {
-        return syntaxtOid;
+        return syntaxOid;
     }
 
 
-    public void setSyntaxtOid( String syntaxtOid )
+    /**
+     * Sets the OID of the syntax.
+     *
+     * @param syntaxOid
+     *      the OID of the syntax
+     */
+    public void setSyntaxOid( String syntaxOid )
     {
-        this.syntaxtOid = syntaxtOid;
+        this.syntaxOid = syntaxOid;
     }
 
 
+    /**
+     * Creates a new instance of MatchingRuleImpl.
+     *
+     * @param oid
+     *      the OID
+     */
     public MatchingRuleImpl( String oid )
     {
         super( oid );
     }
 
 
+    /* (non-Javadoc)
+     * @see org.apache.directory.shared.ldap.schema.MatchingRule#getComparator()
+     */
     public Comparator<?> getComparator() throws NamingException
     {
-        // TODO Auto-generated method stub
         return null;
     }
 
 
+    /* (non-Javadoc)
+     * @see org.apache.directory.shared.ldap.schema.MatchingRule#getNormalizer()
+     */
     public Normalizer getNormalizer() throws NamingException
     {
-        // TODO Auto-generated method stub
         return null;
     }
 
 
+    /* (non-Javadoc)
+     * @see org.apache.directory.shared.ldap.schema.MatchingRule#getSyntax()
+     */
     public Syntax getSyntax() throws NamingException
     {
-        // TODO Auto-generated method stub
         return null;
     }
 
 
-    @Override
+    /* (non-Javadoc)
+     * @see org.apache.directory.shared.ldap.schema.AbstractSchemaObject#setDescription(java.lang.String)
+     */
     public void setDescription( String description )
     {
-        // TODO Auto-generated method stub
         super.setDescription( description );
     }
 
 
-    @Override
+    /* (non-Javadoc)
+     * @see org.apache.directory.shared.ldap.schema.AbstractSchemaObject#setNames(java.lang.String[])
+     */
     public void setNames( String[] names )
     {
-        // TODO Auto-generated method stub
         super.setNames( names );
     }
 
 
-    @Override
+    /* (non-Javadoc)
+     * @see org.apache.directory.shared.ldap.schema.AbstractSchemaObject#setObsolete(boolean)
+     */
     public void setObsolete( boolean obsolete )
     {
-        // TODO Auto-generated method stub
         super.setObsolete( obsolete );
     }
 }



Mime
View raw message