Return-Path: Delivered-To: apmail-directory-commits-archive@www.apache.org Received: (qmail 10714 invoked from network); 22 Jun 2007 17:37:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Jun 2007 17:37:36 -0000 Received: (qmail 35188 invoked by uid 500); 22 Jun 2007 17:37:39 -0000 Delivered-To: apmail-directory-commits-archive@directory.apache.org Received: (qmail 35151 invoked by uid 500); 22 Jun 2007 17:37:39 -0000 Mailing-List: contact commits-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@directory.apache.org Delivered-To: mailing list commits@directory.apache.org Received: (qmail 35140 invoked by uid 99); 22 Jun 2007 17:37:39 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jun 2007 10:37:39 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jun 2007 10:37:35 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 59AD61A981D; Fri, 22 Jun 2007 10:37:15 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r549903 - in /directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema: SchemaEntityFactory.java SchemaService.java SyntaxImpl.java Date: Fri, 22 Jun 2007 17:37:15 -0000 To: commits@directory.apache.org From: elecharny@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070622173715.59AD61A981D@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: elecharny Date: Fri Jun 22 10:37:14 2007 New Revision: 549903 URL: http://svn.apache.org/viewvc?view=rev&rev=549903 Log: Fixed a typo : readible instead of readable Modified: directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/SchemaEntityFactory.java directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/SchemaService.java directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/SyntaxImpl.java Modified: directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/SchemaEntityFactory.java URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/SchemaEntityFactory.java?view=diff&rev=549903&r1=549902&r2=549903 ============================================================================== --- directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/SchemaEntityFactory.java (original) +++ directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/SchemaEntityFactory.java Fri Jun 22 10:37:14 2007 @@ -542,10 +542,10 @@ SyntaxImpl syntax = new SyntaxImpl( oid, targetRegistries.getSyntaxCheckerRegistry() ); syntax.setSchema( schema ); - if ( entry.get( MetaSchemaConstants.X_HUMAN_READIBLE_AT ) != null ) + if ( entry.get( MetaSchemaConstants.X_HUMAN_READABLE_AT ) != null ) { - String val = ( String ) entry.get( MetaSchemaConstants.X_HUMAN_READIBLE_AT ).get(); - syntax.setHumanReadible( val.toUpperCase().equals( "TRUE" ) ); + String val = ( String ) entry.get( MetaSchemaConstants.X_HUMAN_READABLE_AT ).get(); + syntax.setHumanReadable( val.toUpperCase().equals( "TRUE" ) ); } if ( entry.get( MetaSchemaConstants.M_DESCRIPTION_AT ) != null ) Modified: directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/SchemaService.java URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/SchemaService.java?view=diff&rev=549903&r1=549902&r2=549903 ============================================================================== --- directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/SchemaService.java (original) +++ directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/SchemaService.java Fri Jun 22 10:37:14 2007 @@ -1600,7 +1600,7 @@ continue; } - asBinary = !type.getSyntax().isHumanReadible(); + asBinary = !type.getSyntax().isHumanReadable(); asBinary = asBinary || ( ( binaries != null ) && ( binaries.contains( type ) ) ); asBinary = asBinary || binaries.contains( type ); @@ -1719,7 +1719,7 @@ } // Check the attributes values and transform them to String if necessary - assertHumanReadible( entry ); + assertHumanReadable( entry ); // Now check the syntaxes assertSyntaxes( entry ); @@ -1903,10 +1903,10 @@ } /** - * Check that all the attribute's values which are Human Readible can be transformed + * Check that all the attribute's values which are Human Readable can be transformed * to valid String if they are stored as byte[]. */ - private void assertHumanReadible( Attributes entry ) throws NamingException + private void assertHumanReadable( Attributes entry ) throws NamingException { NamingEnumeration attributes = entry.getAll(); boolean isEntryModified = false; @@ -1920,7 +1920,7 @@ AttributeType attributeType = registries.getAttributeTypeRegistry().lookup( attribute.getID() ); // If the attributeType is H-R, check all of its values - if ( attributeType.getSyntax().isHumanReadible() ) + if ( attributeType.getSyntax().isHumanReadable() ) { Enumeration values = attribute.getAll(); Attribute clone = null; @@ -1962,7 +1962,7 @@ } else { - throw new NamingException( "The value stored in an Human Readible attribute is not a String" ); + throw new NamingException( "The value stored in an Human Readable attribute is not a String" ); } } Modified: directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/SyntaxImpl.java URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/SyntaxImpl.java?view=diff&rev=549903&r1=549902&r2=549903 ============================================================================== --- directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/SyntaxImpl.java (original) +++ directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/SyntaxImpl.java Fri Jun 22 10:37:14 2007 @@ -53,9 +53,9 @@ } - public void setHumanReadible( boolean humanReadible ) + public void setHumanReadable( boolean humanReadable ) { - super.setHumanReadible( humanReadible ); + super.setHumanReadable( humanReadable ); }