directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1805304 - in /directory/studio/branches/studio-value/plugins: aciitemeditor/src/main/java/org/apache/directory/studio/aciitemeditor/widgets/ combinededitor/src/main/java/org/apache/directory/studio/combinededitor/editor/ ldapbrowser.core/s...
Date Thu, 17 Aug 2017 15:33:07 GMT
Author: elecharny
Date: Thu Aug 17 15:33:07 2017
New Revision: 1805304

URL: http://svn.apache.org/viewvc?rev=1805304&view=rev
Log:
Suppressed some tabs

Modified:
    directory/studio/branches/studio-value/plugins/aciitemeditor/src/main/java/org/apache/directory/studio/aciitemeditor/widgets/ACIItemGeneralComposite.java
    directory/studio/branches/studio-value/plugins/aciitemeditor/src/main/java/org/apache/directory/studio/aciitemeditor/widgets/ACIItemProtectedItemsComposite.java
    directory/studio/branches/studio-value/plugins/combinededitor/src/main/java/org/apache/directory/studio/combinededitor/editor/CombinedEntryEditor.java
    directory/studio/branches/studio-value/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/ExportDsmlRunnable.java
    directory/studio/branches/studio-value/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/filter/parser/LdapFilterScanner.java
    directory/studio/branches/studio-value/plugins/ldifparser/src/main/java/org/apache/directory/studio/ldifparser/parser/LdifScanner.java
    directory/studio/branches/studio-value/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/model/AclWhatClauseAttributes.java
    directory/studio/branches/studio-value/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/widgets/OpenLdapAclWhatClauseWidget.java
    directory/studio/branches/studio-value/plugins/openldap.acl.editor/src/test/java/org/apache/directory/studio/openldap/config/acl/model/OpenLdapAclParserTest.java
    directory/studio/branches/studio-value/plugins/rcp/src/main/java/org/apache/directory/studio/ApplicationWorkbenchAdvisor.java
    directory/studio/branches/studio-value/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/model/schemamanager/SchemaEditorSchemaLoaderUtils.java

Modified: directory/studio/branches/studio-value/plugins/aciitemeditor/src/main/java/org/apache/directory/studio/aciitemeditor/widgets/ACIItemGeneralComposite.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/aciitemeditor/src/main/java/org/apache/directory/studio/aciitemeditor/widgets/ACIItemGeneralComposite.java?rev=1805304&r1=1805303&r2=1805304&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/aciitemeditor/src/main/java/org/apache/directory/studio/aciitemeditor/widgets/ACIItemGeneralComposite.java
(original)
+++ directory/studio/branches/studio-value/plugins/aciitemeditor/src/main/java/org/apache/directory/studio/aciitemeditor/widgets/ACIItemGeneralComposite.java
Thu Aug 17 15:33:07 2017
@@ -109,7 +109,7 @@ public class ACIItemGeneralComposite ext
 
 
     /**
-     * This method initializes composite	
+     * This method initializes composite
      *
      */
     private void createComposite()

Modified: directory/studio/branches/studio-value/plugins/aciitemeditor/src/main/java/org/apache/directory/studio/aciitemeditor/widgets/ACIItemProtectedItemsComposite.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/aciitemeditor/src/main/java/org/apache/directory/studio/aciitemeditor/widgets/ACIItemProtectedItemsComposite.java?rev=1805304&r1=1805303&r2=1805304&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/aciitemeditor/src/main/java/org/apache/directory/studio/aciitemeditor/widgets/ACIItemProtectedItemsComposite.java
(original)
+++ directory/studio/branches/studio-value/plugins/aciitemeditor/src/main/java/org/apache/directory/studio/aciitemeditor/widgets/ACIItemProtectedItemsComposite.java
Thu Aug 17 15:33:07 2017
@@ -111,7 +111,7 @@ public class ACIItemProtectedItemsCompos
 
 
     /**
-     * This method initializes composite	
+     * This method initializes composite
      *
      */
     private void createComposite()
@@ -196,7 +196,7 @@ public class ACIItemProtectedItemsCompos
 
 
     /**
-     * This method initializes buttons	
+     * This method initializes buttons
      *
      */
     private void createButtonComposite()

Modified: directory/studio/branches/studio-value/plugins/combinededitor/src/main/java/org/apache/directory/studio/combinededitor/editor/CombinedEntryEditor.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/combinededitor/src/main/java/org/apache/directory/studio/combinededitor/editor/CombinedEntryEditor.java?rev=1805304&r1=1805303&r2=1805304&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/combinededitor/src/main/java/org/apache/directory/studio/combinededitor/editor/CombinedEntryEditor.java
(original)
+++ directory/studio/branches/studio-value/plugins/combinededitor/src/main/java/org/apache/directory/studio/combinededitor/editor/CombinedEntryEditor.java
Thu Aug 17 15:33:07 2017
@@ -254,7 +254,7 @@ public abstract class CombinedEntryEdito
      */
     public boolean canHandle( IEntry entry )
     {
-    	return true;
+        return true;
     }
 
 

Modified: directory/studio/branches/studio-value/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/ExportDsmlRunnable.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/ExportDsmlRunnable.java?rev=1805304&r1=1805303&r2=1805304&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/ExportDsmlRunnable.java
(original)
+++ directory/studio/branches/studio-value/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/ExportDsmlRunnable.java
Thu Aug 17 15:33:07 2017
@@ -364,10 +364,10 @@ public class ExportDsmlRunnable implemen
             // Adding references
             if ( refAttribute != null )
             {
-	            	for ( Value value : refAttribute )
-	            	{
-	                srr.addSearchResultReference( new LdapUrl( ( String ) value.getValue() )
);
-	            	}
+                for ( Value value : refAttribute )
+                {
+                    srr.addSearchResultReference( new LdapUrl( ( String ) value.getValue()
) );
+                }
             }
 
             return srr;

Modified: directory/studio/branches/studio-value/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/filter/parser/LdapFilterScanner.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/filter/parser/LdapFilterScanner.java?rev=1805304&r1=1805303&r2=1805304&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/filter/parser/LdapFilterScanner.java
(original)
+++ directory/studio/branches/studio-value/plugins/ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/filter/parser/LdapFilterScanner.java
Thu Aug 17 15:33:07 2017
@@ -34,7 +34,7 @@ public class LdapFilterScanner
     // The string representation of an LDAP search filter is defined by the
     // following grammar, following the ABNF notation defined in [5]. The
     // filter format uses a prefix notation.
-    //	
+    //
     // filter = "(" filtercomp ")"
     // filtercomp = and / or / not / item
     // and = "&" filterlist
@@ -58,12 +58,12 @@ public class LdapFilterScanner
     // attr = AttributeDescription from Section 4.1.5 of [1]
     // matchingrule = MatchingRuleId from Section 4.1.9 of [1]
     // value = AttributeValue from Section 4.1.6 of [1]
-    //	
+    //
     // The attr, matchingrule, and value constructs are as described in the
     // corresponding section of [1] given above.
-    //	
+    //
     // If a value should contain any of the following characters
-    //	
+    //
     // Character ASCII value
     // ---------------------------
     // * 0x2a
@@ -71,7 +71,7 @@ public class LdapFilterScanner
     // ) 0x29
     // \ 0x5c
     // NUL 0x00
-    //	
+    //
     // the character must be encoded as the backslash '\' character (ASCII
     // 0x5c) followed by the two hexadecimal digits representing the ASCII
     // value of the encoded character. The case of the two hexadecimal

Modified: directory/studio/branches/studio-value/plugins/ldifparser/src/main/java/org/apache/directory/studio/ldifparser/parser/LdifScanner.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/ldifparser/src/main/java/org/apache/directory/studio/ldifparser/parser/LdifScanner.java?rev=1805304&r1=1805303&r2=1805304&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/ldifparser/src/main/java/org/apache/directory/studio/ldifparser/parser/LdifScanner.java
(original)
+++ directory/studio/branches/studio-value/plugins/ldifparser/src/main/java/org/apache/directory/studio/ldifparser/parser/LdifScanner.java
Thu Aug 17 15:33:07 2017
@@ -440,27 +440,6 @@ public class LdifScanner
     }
 
 
-    // private String getStartAndFill(String start) {
-    // String s = this.getWord(start);
-    // if(s != null) {
-    // StringBuffer sb = new StringBuffer(s);
-    //			
-    // try {
-    // char c = '\u0000';
-    // while (c==' ') {
-    // c = read(sb);
-    // }
-    // unread(sb);
-    // } catch (EOFException e) {
-    // }
-    //    		
-    // return sb.toString();
-    // }
-    // else {
-    // return null;
-    // }
-    // }
-
     private String getWord( String word )
     {
         StringBuffer sb = new StringBuffer();

Modified: directory/studio/branches/studio-value/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/model/AclWhatClauseAttributes.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/model/AclWhatClauseAttributes.java?rev=1805304&r1=1805303&r2=1805304&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/model/AclWhatClauseAttributes.java
(original)
+++ directory/studio/branches/studio-value/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/model/AclWhatClauseAttributes.java
Thu Aug 17 15:33:07 2017
@@ -28,13 +28,13 @@ import java.util.List;
  * The Acl what-attrs clause. We either have an attribute val clause, or an attribute list
clause.  
  * 
  * <pre>
- * <what-attrs>		::= ( 'attrs' | 'attr' ) SP '=' SP <attrs>
- * <attrs>			::= IDENT SP 'val' <mr-e> <attr-val-style> SP? '=' SP? REGEX
| <what-attr> <what-attr-list>
- * <attr-val-style>	::= '.' <basic-style> | e
- * <basic-style>	::= 'exact' | 'base' | 'baseobject' | 'regex'
- * <mr-e>			::= '/' IDENT | e
- * <what-attr-list>	::= ',' <what-attr> <what-attr-list> | e
- * <what-attr> 		::= IDENT | '@' IDENT | '!' IDENT | 'entry' | 'children'
+ * <what-attrs>     ::= ( 'attrs' | 'attr' ) SP '=' SP <attrs>
+ * <attrs>          ::= IDENT SP 'val' <mr-e> <attr-val-style> SP? '='
SP? REGEX | <what-attr> <what-attr-list>
+ * <attr-val-style> ::= '.' <basic-style> | e
+ * <basic-style>    ::= 'exact' | 'base' | 'baseobject' | 'regex'
+ * <mr-e>           ::= '/' IDENT | e
+ * <what-attr-list> ::= ',' <what-attr> <what-attr-list> | e
+ * <what-attr>      ::= IDENT | '@' IDENT | '!' IDENT | 'entry' | 'children'
  * </pre>
  * 
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>

Modified: directory/studio/branches/studio-value/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/widgets/OpenLdapAclWhatClauseWidget.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/widgets/OpenLdapAclWhatClauseWidget.java?rev=1805304&r1=1805303&r2=1805304&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/widgets/OpenLdapAclWhatClauseWidget.java
(original)
+++ directory/studio/branches/studio-value/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/acl/widgets/OpenLdapAclWhatClauseWidget.java
Thu Aug 17 15:33:07 2017
@@ -305,20 +305,20 @@ public class OpenLdapAclWhatClauseWidget
         if ( whatClause != null )
         {
             // DN clause
-        	if ( whatClause instanceof AclWhatClauseDn )
-        	{
+            if ( whatClause instanceof AclWhatClauseDn )
+            {
                 dnCheckbox.setSelection( true );
                 createDnComposite();
-        	}
-        	else if ( whatClause instanceof AclWhatClauseFilter )
-        	{
-        		// Filter clause
+            }
+            else if ( whatClause instanceof AclWhatClauseFilter )
+            {
+                // Filter clause
                 filterCheckbox.setSelection( true );
                 createFilterComposite();
             }
-        	else if ( whatClause instanceof AclWhatClauseAttributes )
-        	{
-        		// Attributes clause
+            else if ( whatClause instanceof AclWhatClauseAttributes )
+            {
+                // Attributes clause
                 attributesCheckbox.setSelection( true );
                 createAttributesComposite();
             }

Modified: directory/studio/branches/studio-value/plugins/openldap.acl.editor/src/test/java/org/apache/directory/studio/openldap/config/acl/model/OpenLdapAclParserTest.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/openldap.acl.editor/src/test/java/org/apache/directory/studio/openldap/config/acl/model/OpenLdapAclParserTest.java?rev=1805304&r1=1805303&r2=1805304&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/openldap.acl.editor/src/test/java/org/apache/directory/studio/openldap/config/acl/model/OpenLdapAclParserTest.java
(original)
+++ directory/studio/branches/studio-value/plugins/openldap.acl.editor/src/test/java/org/apache/directory/studio/openldap/config/acl/model/OpenLdapAclParserTest.java
Thu Aug 17 15:33:07 2017
@@ -46,7 +46,7 @@ public class OpenLdapAclParserTest
     @Test( expected = ParseException.class )
     public void testEmpty() throws Exception
     {
-    	System.out.println( "\n--> testEmpty" );
+        System.out.println( "\n--> testEmpty" );
         OpenLdapAclParser parser = new OpenLdapAclParser();
         parser.parse( "" );
 
@@ -57,7 +57,7 @@ public class OpenLdapAclParserTest
     @Test
     public void testImpliedWhatStarWithAccess() throws Exception
     {
-    	System.out.println( "\n--> testImpliedWhatStarWithAccess" );
+        System.out.println( "\n--> testImpliedWhatStarWithAccess" );
         // Create parser
         OpenLdapAclParser parser = new OpenLdapAclParser();
 
@@ -77,7 +77,7 @@ public class OpenLdapAclParserTest
     @Test
     public void testWhatStarWithAccess() throws Exception
     {
-    	System.out.println( "\n--> testWhatStarWithAccess" );
+        System.out.println( "\n--> testWhatStarWithAccess" );
         // Create parser
         OpenLdapAclParser parser = new OpenLdapAclParser();
 
@@ -97,7 +97,7 @@ public class OpenLdapAclParserTest
     @Test
     public void testWhatStarWithoutAccess() throws Exception
     {
-    	System.out.println( "\n--> testWhatStarWithoutAccess" );
+        System.out.println( "\n--> testWhatStarWithoutAccess" );
         // Create parser
         OpenLdapAclParser parser = new OpenLdapAclParser();
 
@@ -117,7 +117,7 @@ public class OpenLdapAclParserTest
     @Test
     public void testWhatStarWithSpaces() throws Exception
     {
-    	System.out.println( "\n--> testWhatStarWithSpaces" );
+        System.out.println( "\n--> testWhatStarWithSpaces" );
         // Create parser
         OpenLdapAclParser parser = new OpenLdapAclParser();
 
@@ -137,7 +137,7 @@ public class OpenLdapAclParserTest
     @Test( expected = ParseException.class )
     public void testWhatTwoStars() throws Exception
     {
-    	System.out.println( "\n--> testWhatTwoStars" );
+        System.out.println( "\n--> testWhatTwoStars" );
         OpenLdapAclParser parser = new OpenLdapAclParser();
         parser.parse( "to * * by *" );
 
@@ -151,7 +151,7 @@ public class OpenLdapAclParserTest
     @Test
     public void testWhatDnValidDnWithQuote() throws Exception
     {
-    	System.out.println( "\n--> testWhatDnValidDnWithQuote" );
+        System.out.println( "\n--> testWhatDnValidDnWithQuote" );
         String dnPattern = "dc=example,dc=com";
 
         // Create parser
@@ -175,7 +175,7 @@ public class OpenLdapAclParserTest
     @Test( expected = ParseException.class )
     public void testWhatDnStar() throws Exception
     {
-    	System.out.println( "\n--> testWhatDnStar" );
+        System.out.println( "\n--> testWhatDnStar" );
         // Create parser
         OpenLdapAclParser parser = new OpenLdapAclParser();
 
@@ -189,7 +189,7 @@ public class OpenLdapAclParserTest
     @Test( expected=ParseException.class)
     public void testWhatDnValidDnNoQuote() throws Exception
     {
-    	System.out.println( "\n--> testWhatDnValidDnNoQuote" );
+        System.out.println( "\n--> testWhatDnValidDnNoQuote" );
         String dnPattern = "dc=example,dc=com";
 
         // Create parser
@@ -205,14 +205,14 @@ public class OpenLdapAclParserTest
     @Test ( expected=ParseException.class)
     public void testWhatDnBadDn() throws Exception
     {
-    	System.out.println( "\n--> testWhatDnBadDn" );
+        System.out.println( "\n--> testWhatDnBadDn" );
         String dnPattern = "Blah";
 
         // Create parser
         OpenLdapAclParser parser = new OpenLdapAclParser();
 
         // Testing the ACL item
-    	parser.parse( "access to dn=\"" + dnPattern + "\"\n by *" );
+        parser.parse( "access to dn=\"" + dnPattern + "\"\n by *" );
         
         fail();
     }
@@ -224,7 +224,7 @@ public class OpenLdapAclParserTest
     @Test
     public void testWhatDnBasicDnExact() throws Exception
     {
-    	System.out.println( "\n--> testWhatDnBasicDnExact" );
+        System.out.println( "\n--> testWhatDnBasicDnExact" );
         String dnPattern = "dc=example,dc=com";
 
         // Create parser
@@ -251,7 +251,7 @@ public class OpenLdapAclParserTest
     @Test ( expected=ParseException.class)
     public void testWhatDnBasicDnExactNoQuote() throws Exception
     {
-    	System.out.println( "\n--> testWhatDnBasicDnExactNoQuote" );
+        System.out.println( "\n--> testWhatDnBasicDnExactNoQuote" );
         String dnPattern = "dc=example,dc=com";
 
         // Create parser
@@ -267,7 +267,7 @@ public class OpenLdapAclParserTest
     @Test ( expected=ParseException.class)
     public void testWhatDnBasicDnExactBadDn() throws Exception
     {
-    	System.out.println( "\n--> testWhatDnBasicDnExactBadDn" );
+        System.out.println( "\n--> testWhatDnBasicDnExactBadDn" );
         String dnPattern = "example";
 
         // Create parser
@@ -286,7 +286,7 @@ public class OpenLdapAclParserTest
     @Test
     public void testWhatDnBasicDnRegex() throws Exception
     {
-    	System.out.println( "\n--> testWhatDnBasicDnRegex" );
+        System.out.println( "\n--> testWhatDnBasicDnRegex" );
         String dnPattern = "dc=*";
 
         // Create parser
@@ -313,7 +313,7 @@ public class OpenLdapAclParserTest
     @Test( expected=ParseException.class)
     public void testWhatDnBasicDnRegexNoQuote() throws Exception
     {
-    	System.out.println( "\n--> testWhatDnBasicDnRegexNoQuote" );
+        System.out.println( "\n--> testWhatDnBasicDnRegexNoQuote" );
         String dnPattern = "dc=*,dc=com";
 
         // Create parser
@@ -332,7 +332,7 @@ public class OpenLdapAclParserTest
     @Test
     public void testWhatDnScopeOneQuotedDn() throws Exception
     {
-    	System.out.println( "\n--> testWhatDnScopeOneQuotedDn" );
+        System.out.println( "\n--> testWhatDnScopeOneQuotedDn" );
         String dnPattern = "dc=example,dc=com";
 
         // Create parser
@@ -359,7 +359,7 @@ public class OpenLdapAclParserTest
     @Test
     public void testWhatDnScopeOneLevelQuotedDn() throws Exception
     {
-    	System.out.println( "\n--> testWhatDnScopeOneLevelQuotedDn" );
+        System.out.println( "\n--> testWhatDnScopeOneLevelQuotedDn" );
         String dnPattern = "dc=example,dc=com";
 
         // Create parser
@@ -386,7 +386,7 @@ public class OpenLdapAclParserTest
     @Test
     public void testWhatDnScopeBaseQuotedDn() throws Exception
     {
-    	System.out.println( "\n--> testWhatDnScopeBaseQuotedDn" );
+        System.out.println( "\n--> testWhatDnScopeBaseQuotedDn" );
         String dnPattern = "dc=example,dc=com";
 
         // Create parser
@@ -413,7 +413,7 @@ public class OpenLdapAclParserTest
     @Test
     public void testWhatDnScopeBaseobjectQuotedDn() throws Exception
     {
-    	System.out.println( "\n--> testWhatDnScopeBaseobjectQuotedDn" );
+        System.out.println( "\n--> testWhatDnScopeBaseobjectQuotedDn" );
         String dnPattern = "dc=example,dc=com";
 
         // Create parser
@@ -440,7 +440,7 @@ public class OpenLdapAclParserTest
     @Test
     public void testWhatDnScopeSubQuotedDn() throws Exception
     {
-    	System.out.println( "\n--> testWhatDnScopeSubQuotedDn" );
+        System.out.println( "\n--> testWhatDnScopeSubQuotedDn" );
         String dnPattern = "dc=example,dc=com";
 
         // Create parser
@@ -467,7 +467,7 @@ public class OpenLdapAclParserTest
     @Test
     public void testWhatDnScopeSubtreeQuotedDn() throws Exception
     {
-    	System.out.println( "\n--> testWhatDnScopeSubtreeQuotedDn" );
+        System.out.println( "\n--> testWhatDnScopeSubtreeQuotedDn" );
         String dnPattern = "dc=example,dc=com";
 
         // Create parser
@@ -494,7 +494,7 @@ public class OpenLdapAclParserTest
     @Test
     public void testWhatDnScopeChildrenQuotedDn() throws Exception
     {
-    	System.out.println( "\n--> testWhatDnScopeChildrenQuotedDn" );
+        System.out.println( "\n--> testWhatDnScopeChildrenQuotedDn" );
         String dnPattern = "dc=example,dc=com";
 
         // Create parser
@@ -521,7 +521,7 @@ public class OpenLdapAclParserTest
     @Test
     public void testWhatDnScopeOneEmptyDn() throws Exception
     {
-    	System.out.println( "\n--> testWhatDnScopeOneEmptyDn" );
+        System.out.println( "\n--> testWhatDnScopeOneEmptyDn" );
 
         // Create parser
         OpenLdapAclParser parser = new OpenLdapAclParser();
@@ -547,7 +547,7 @@ public class OpenLdapAclParserTest
     @Test( expected=ParseException.class)
     public void testWhatDnScopeOneNoQuotedDn() throws Exception
     {
-    	System.out.println( "\n--> testWhatDnScopeOneNoQuotedDn" );
+        System.out.println( "\n--> testWhatDnScopeOneNoQuotedDn" );
         String dnPattern = "dc=example,dc=com";
 
         // Create parser
@@ -561,7 +561,7 @@ public class OpenLdapAclParserTest
     @Test( expected=ParseException.class)
     public void testWhatDnScopeOneNoDn() throws Exception
     {
-    	System.out.println( "\n--> testWhatDnScopeOneNoDn" );
+        System.out.println( "\n--> testWhatDnScopeOneNoDn" );
 
         // Create parser
         OpenLdapAclParser parser = new OpenLdapAclParser();
@@ -574,7 +574,7 @@ public class OpenLdapAclParserTest
     @Test( expected=ParseException.class)
     public void testWhatDnScopeOneStar() throws Exception
     {
-    	System.out.println( "\n--> testWhatDnScopeOneStar" );
+        System.out.println( "\n--> testWhatDnScopeOneStar" );
 
         // Create parser
         OpenLdapAclParser parser = new OpenLdapAclParser();
@@ -590,7 +590,7 @@ public class OpenLdapAclParserTest
     @Test
     public void testWhatFilterSimple() throws Exception
     {
-    	System.out.println( "\n--> testWhatFilter" );
+        System.out.println( "\n--> testWhatFilter" );
         String filter = "(objectclass=*)";
 
         // Create parser
@@ -617,7 +617,7 @@ public class OpenLdapAclParserTest
     @Test
     public void testWhatFilterComplex() throws Exception
     {
-    	System.out.println( "\n--> testWhatFilterComplex" );
+        System.out.println( "\n--> testWhatFilterComplex" );
         String filter = "(&(objectclass=*)(cn=test)(!(sn=test)))";
 
         // Create parser
@@ -644,7 +644,7 @@ public class OpenLdapAclParserTest
     @Test( expected=ParseException.class)
     public void testWhatFilterWrongSimple() throws Exception
     {
-    	System.out.println( "\n--> testWhatFilterWrongSimple" );
+        System.out.println( "\n--> testWhatFilterWrongSimple" );
         String filter = "(objectclass=*";
 
         // Create parser
@@ -663,7 +663,7 @@ public class OpenLdapAclParserTest
     @Test
     public void testFail() throws Exception
     {
-    	fail();
+        fail();
     }
     
     /*

Modified: directory/studio/branches/studio-value/plugins/rcp/src/main/java/org/apache/directory/studio/ApplicationWorkbenchAdvisor.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/rcp/src/main/java/org/apache/directory/studio/ApplicationWorkbenchAdvisor.java?rev=1805304&r1=1805303&r2=1805304&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/rcp/src/main/java/org/apache/directory/studio/ApplicationWorkbenchAdvisor.java
(original)
+++ directory/studio/branches/studio-value/plugins/rcp/src/main/java/org/apache/directory/studio/ApplicationWorkbenchAdvisor.java
Thu Aug 17 15:33:07 2017
@@ -43,16 +43,16 @@ import org.osgi.framework.ServiceReferen
  * This workbench advisor creates the window advisor, and specifies
  * the perspective id for the initial window.<br />
  * <br />
- * - initialize  		Called first to perform any setup such as parsing the command 
- * line, registering adapters, declaring images, etc..  	IWorkbenchConfigurer<br />
- * - preStartup 		Called after initialization but before the first window is opened. 
- * May be used to set options affecting which editors and views are initially opened. <br
/>	 
- * - postStartup 		Called after all windows have been opened or restored, but before 
+ * - initialize Called first to perform any setup such as parsing the command 
+ * line, registering adapters, declaring images, etc...  IWorkbenchConfigurer<br />
+ * - preStartup Called after initialization but before the first window is opened. 
+ * May be used to set options affecting which editors and views are initially opened. <br
/> 
+ * - postStartup Called after all windows have been opened or restored, but before 
  * the event loop starts. It can be used to start automatic processes and to open tips or

- * other windows.<br /> 	 
- * - preShutdown 		Called after the event loop has terminated but before any windows 
- * have been closed. 	 <br />
- * - postShutdown 	Called after all windows are closed during Workbench shutdown. 
+ * other windows.<br />
+ * - preShutdown Called after the event loop has terminated but before any windows 
+ * have been closed. <br />
+ * - postShutdown Called after all windows are closed during Workbench shutdown. 
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */

Modified: directory/studio/branches/studio-value/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/model/schemamanager/SchemaEditorSchemaLoaderUtils.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-value/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/model/schemamanager/SchemaEditorSchemaLoaderUtils.java?rev=1805304&r1=1805303&r2=1805304&view=diff
==============================================================================
--- directory/studio/branches/studio-value/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/model/schemamanager/SchemaEditorSchemaLoaderUtils.java
(original)
+++ directory/studio/branches/studio-value/plugins/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/model/schemamanager/SchemaEditorSchemaLoaderUtils.java
Thu Aug 17 15:33:07 2017
@@ -225,18 +225,18 @@ public class SchemaEditorSchemaLoaderUti
      */
     private static Dn getDn( SchemaObject schemaObject, String objectPath ) throws LdapInvalidDnException
     {
-		try
-		{	
-		    return Dn.EMPTY_DN
-		        .add( new Rdn( SchemaConstants.OU_SCHEMA ) )
-		        .add( new Rdn( SchemaConstants.CN_AT, Rdn.escapeValue( schemaObject.getSchemaName()
) ) )
-		        .add( new Rdn( objectPath ) )
-		        .add( new Rdn( M_OID, schemaObject.getOid() ) );
-		}
-		catch ( LdapInvalidAttributeValueException liave )
-		{
-			throw new LdapInvalidDnException( liave.getLocalizedMessage(), liave );
-		}
+        try
+        {
+            return Dn.EMPTY_DN
+                .add( new Rdn( SchemaConstants.OU_SCHEMA ) )
+                .add( new Rdn( SchemaConstants.CN_AT, Rdn.escapeValue( schemaObject.getSchemaName()
) ) )
+                .add( new Rdn( objectPath ) )
+                .add( new Rdn( M_OID, schemaObject.getOid() ) );
+        }
+        catch ( LdapInvalidAttributeValueException liave )
+        {
+            throw new LdapInvalidDnException( liave.getLocalizedMessage(), liave );
+        }
     }
 
 



Mime
View raw message