Author: hboutemy
Date: Sun May  3 08:20:38 2009
New Revision: 771040

URL: http://svn.apache.org/viewvc?rev=771040&view=rev
Log:
fixed typo

Modified:
    
maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/util/DoxiaUtils.java

Modified: 
maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/util/DoxiaUtils.java
URL: 
http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/util/DoxiaUtils.java?rev=771040&r1=771039&r2=771040&view=diff
==============================================================================
--- 
maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/util/DoxiaUtils.java
 (original)
+++ 
maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/util/DoxiaUtils.java
 Sun May  3 08:20:38 2009
@@ -189,7 +189,7 @@
         {
             char c = id.charAt( i );
 
-            if ( ( i == 0 ) && ( !isAciiLetter( c ) ) )
+            if ( ( i == 0 ) && ( !isAsciiLetter( c ) ) )
             {
                 buffer.append( 'a' );
             }
@@ -198,7 +198,7 @@
             {
                 buffer.append( '_' );
             }
-            else if ( isAciiLetter( c ) || isAciiDigit( c ) || ( c == '-' ) || 
( c == '_' ) || ( c == ':' )
+            else if ( isAsciiLetter( c ) || isAsciiDigit( c ) || ( c == '-' ) 
|| ( c == '_' ) || ( c == ':' )
                             || ( c == '.' ) )
             {
                 buffer.append( c );
@@ -267,12 +267,12 @@
         {
             char c = text.charAt( i );
 
-            if ( isAciiLetter( c ) )
+            if ( isAsciiLetter( c ) )
             {
                 continue;
             }
 
-            if ( ( i == 0 ) || ( c == ' ' ) || ( !isAciiDigit( c ) && c != '-' 
&& c != '_' && c != ':' && c != '.' ) )
+            if ( ( i == 0 ) || ( c == ' ' ) || ( !isAsciiDigit( c ) && c != 
'-' && c != '_' && c != ':' && c != '.' ) )
             {
                 return false;
             }
@@ -285,12 +285,12 @@
      // private
     //
 
-    private static boolean isAciiLetter( char c )
+    private static boolean isAsciiLetter( char c )
     {
         return ( ( c >= 'a' && c <= 'z' ) || ( c >= 'A' && c <= 'Z' ) );
     }
 
-    private static boolean isAciiDigit( char c )
+    private static boolean isAsciiDigit( char c )
     {
         return ( c >= '0' && c <= '9' );
     }


Reply via email to