directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r723057 - in /directory/shared/branches/shared-mina2/ldap/src/main/java/org/apache/directory/shared/ldap: codec/TwixTransformer.java ldif/LdifUtils.java util/Position.java util/StringTools.java
Date Wed, 03 Dec 2008 20:15:47 GMT
Author: elecharny
Date: Wed Dec  3 12:15:46 2008
New Revision: 723057

URL: http://svn.apache.org/viewvc?rev=723057&view=rev
Log:
Replaced tabs by 4 spaces.

Modified:
    directory/shared/branches/shared-mina2/ldap/src/main/java/org/apache/directory/shared/ldap/codec/TwixTransformer.java
    directory/shared/branches/shared-mina2/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifUtils.java
    directory/shared/branches/shared-mina2/ldap/src/main/java/org/apache/directory/shared/ldap/util/Position.java
    directory/shared/branches/shared-mina2/ldap/src/main/java/org/apache/directory/shared/ldap/util/StringTools.java

Modified: directory/shared/branches/shared-mina2/ldap/src/main/java/org/apache/directory/shared/ldap/codec/TwixTransformer.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-mina2/ldap/src/main/java/org/apache/directory/shared/ldap/codec/TwixTransformer.java?rev=723057&r1=723056&r2=723057&view=diff
==============================================================================
--- directory/shared/branches/shared-mina2/ldap/src/main/java/org/apache/directory/shared/ldap/codec/TwixTransformer.java
(original)
+++ directory/shared/branches/shared-mina2/ldap/src/main/java/org/apache/directory/shared/ldap/codec/TwixTransformer.java
Wed Dec  3 12:15:46 2008
@@ -253,7 +253,7 @@
         }
         catch ( InvalidNameException e )
         {
-        	LOG.error( "Could not parse matchedDN while transforming twix value to snickers:
{}", 
+            LOG.error( "Could not parse matchedDN while transforming twix value to snickers:
{}", 
                 twixResult.getMatchedDN() );
             snickersResult.setMatchedDn( new LdapDN() );
         }
@@ -831,7 +831,7 @@
 
         if ( IS_DEBUG )
         {
-        	LOG.debug( "Transforming LdapMessage <" + messageId + ", " + twixMessage.getMessageTypeName()
+            LOG.debug( "Transforming LdapMessage <" + messageId + ", " + twixMessage.getMessageTypeName()
                 + "> from Twix to Snickers." );
         }
 
@@ -1015,7 +1015,7 @@
                 }
                 catch ( LdapURLEncodingException lude )
                 {
-                	LOG.warn( "The referral " + referral + " is invalid : " + lude.getMessage()
);
+                    LOG.warn( "The referral " + referral + " is invalid : " + lude.getMessage()
);
                     twixLdapResult.addReferral( LdapURL.EMPTY_URL );
                 }
             }
@@ -1168,7 +1168,7 @@
         }
         catch ( DecoderException de )
         {
-        	LOG.warn( "The OID " + snickersExtendedResponse.getResponseName() + " is invalid
: " + de.getMessage() );
+            LOG.warn( "The OID " + snickersExtendedResponse.getResponseName() + " is invalid
: " + de.getMessage() );
             extendedResponse.setResponseName( null );
         }
 
@@ -1299,7 +1299,7 @@
                     }
                     catch ( LdapURLEncodingException luee )
                     {
-                    	LOG.warn( "The LdapURL " + url + " is incorrect : " + luee.getMessage()
);
+                        LOG.warn( "The LdapURL " + url + " is incorrect : " + luee.getMessage()
);
                     }
                 }
             }
@@ -1320,7 +1320,7 @@
     {
         if ( IS_DEBUG )
         {
-        	LOG.debug( "Transforming message type " + msg.getType() );
+            LOG.debug( "Transforming message type " + msg.getType() );
         }
 
         LdapMessage twixMessage = new LdapMessage();
@@ -1383,7 +1383,7 @@
 
         if ( IS_DEBUG )
         {
-        	LOG.debug( "Transformed message : " + twixMessage );
+            LOG.debug( "Transformed message : " + twixMessage );
         }
 
         return twixMessage;
@@ -1406,7 +1406,7 @@
         
         for ( Control control:twixMessage.getControls() )
         {
-        	LOG.debug( "Not decoding response control: {}", control );
+            LOG.debug( "Not decoding response control: {}", control );
         }
     }
     

Modified: directory/shared/branches/shared-mina2/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifUtils.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-mina2/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifUtils.java?rev=723057&r1=723056&r2=723057&view=diff
==============================================================================
--- directory/shared/branches/shared-mina2/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifUtils.java
(original)
+++ directory/shared/branches/shared-mina2/ldap/src/main/java/org/apache/directory/shared/ldap/ldif/LdifUtils.java
Wed Dec  3 12:15:46 2008
@@ -110,7 +110,7 @@
      */
     public static boolean isLDIFSafe( String str )
     {
-    	if ( StringTools.isEmpty( str ) )
+        if ( StringTools.isEmpty( str ) )
         {
             // A null string is LDIF safe
             return true;

Modified: directory/shared/branches/shared-mina2/ldap/src/main/java/org/apache/directory/shared/ldap/util/Position.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-mina2/ldap/src/main/java/org/apache/directory/shared/ldap/util/Position.java?rev=723057&r1=723056&r2=723057&view=diff
==============================================================================
--- directory/shared/branches/shared-mina2/ldap/src/main/java/org/apache/directory/shared/ldap/util/Position.java
(original)
+++ directory/shared/branches/shared-mina2/ldap/src/main/java/org/apache/directory/shared/ldap/util/Position.java
Wed Dec  3 12:15:46 2008
@@ -28,7 +28,7 @@
  */
 public class Position
 {
-	/** The starting position in the string */
+    /** The starting position in the string */
     public int start = 0;
     
     /** The current token length */  

Modified: directory/shared/branches/shared-mina2/ldap/src/main/java/org/apache/directory/shared/ldap/util/StringTools.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-mina2/ldap/src/main/java/org/apache/directory/shared/ldap/util/StringTools.java?rev=723057&r1=723056&r2=723057&view=diff
==============================================================================
--- directory/shared/branches/shared-mina2/ldap/src/main/java/org/apache/directory/shared/ldap/util/StringTools.java
(original)
+++ directory/shared/branches/shared-mina2/ldap/src/main/java/org/apache/directory/shared/ldap/util/StringTools.java
Wed Dec  3 12:15:46 2008
@@ -803,20 +803,20 @@
 
         if ( initialPattern != null )
         {
-        	buf.append( '^' ).append( Pattern.quote( initialPattern ) );
+            buf.append( '^' ).append( Pattern.quote( initialPattern ) );
         }
 
         if ( anyPattern != null )
         {
             for ( int i = 0; i < anyPattern.length; i++ )
             {
-            	buf.append( ".*" ).append( Pattern.quote( anyPattern[i] ) );
+                buf.append( ".*" ).append( Pattern.quote( anyPattern[i] ) );
             }
         }
 
         if ( finalPattern != null )
         {
-        	buf.append( ".*" ).append( Pattern.quote( finalPattern ) );
+            buf.append( ".*" ).append( Pattern.quote( finalPattern ) );
         }
         else
         {



Mime
View raw message