directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r803937 - /directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/BrowserCorePreferencesInitializer.java
Date Thu, 13 Aug 2009 15:59:09 GMT
Author: seelmann
Date: Thu Aug 13 15:59:09 2009
New Revision: 803937

URL: http://svn.apache.org/viewvc?rev=803937&view=rev
Log:
Formatting

Modified:
    directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/BrowserCorePreferencesInitializer.java

Modified: directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/BrowserCorePreferencesInitializer.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/BrowserCorePreferencesInitializer.java?rev=803937&r1=803936&r2=803937&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/BrowserCorePreferencesInitializer.java
(original)
+++ directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/BrowserCorePreferencesInitializer.java
Thu Aug 13 15:59:09 2009
@@ -44,20 +44,20 @@
 
         store.setDefault( BrowserCoreConstants.PREFERENCE_CHECK_FOR_CHILDREN, true );
 
-        store.setDefault( BrowserCoreConstants.PREFERENCE_FORMAT_CSV_ATTRIBUTEDELIMITER,
"," );
-        store.setDefault( BrowserCoreConstants.PREFERENCE_FORMAT_CSV_VALUEDELIMITER, "|"
);
-        store.setDefault( BrowserCoreConstants.PREFERENCE_FORMAT_CSV_QUOTECHARACTER, "\""
);
+        store.setDefault( BrowserCoreConstants.PREFERENCE_FORMAT_CSV_ATTRIBUTEDELIMITER,
"," ); //$NON-NLS-1$
+        store.setDefault( BrowserCoreConstants.PREFERENCE_FORMAT_CSV_VALUEDELIMITER, "|"
); //$NON-NLS-1$
+        store.setDefault( BrowserCoreConstants.PREFERENCE_FORMAT_CSV_QUOTECHARACTER, "\""
); //$NON-NLS-1$
         store
             .setDefault( BrowserCoreConstants.PREFERENCE_FORMAT_CSV_LINESEPARATOR, BrowserCoreConstants.LINE_SEPARATOR
);
         store.setDefault( BrowserCoreConstants.PREFERENCE_FORMAT_CSV_BINARYENCODING,
             BrowserCoreConstants.BINARYENCODING_IGNORE );
         store.setDefault( BrowserCoreConstants.PREFERENCE_FORMAT_CSV_ENCODING, BrowserCoreConstants.DEFAULT_ENCODING
);
 
-        store.setDefault( BrowserCoreConstants.PREFERENCE_FORMAT_XLS_VALUEDELIMITER, "|"
);
+        store.setDefault( BrowserCoreConstants.PREFERENCE_FORMAT_XLS_VALUEDELIMITER, "|"
); //$NON-NLS-1$
         store.setDefault( BrowserCoreConstants.PREFERENCE_FORMAT_XLS_BINARYENCODING,
             BrowserCoreConstants.BINARYENCODING_IGNORE );
 
-        store.setDefault( BrowserCoreConstants.PREFERENCE_FORMAT_ODF_VALUEDELIMITER, "|"
);
+        store.setDefault( BrowserCoreConstants.PREFERENCE_FORMAT_ODF_VALUEDELIMITER, "|"
); //$NON-NLS-1$
         store.setDefault( BrowserCoreConstants.PREFERENCE_FORMAT_ODF_BINARYENCODING,
             BrowserCoreConstants.BINARYENCODING_IGNORE );
 
@@ -67,59 +67,33 @@
 
         // default binary attributes
         BinaryAttribute[] defaultBinaryAttributes = new BinaryAttribute[]
-            { new BinaryAttribute( "0.9.2342.19200300.100.1.7" ), // photo
-                // //$NON-NLS-1$
-                new BinaryAttribute( "0.9.2342.19200300.100.1.53" ), // personalSignature
-                // //$NON-NLS-1$
-                new BinaryAttribute( "0.9.2342.19200300.100.1.55" ), // audio
-                // //$NON-NLS-1$
-                new BinaryAttribute( "0.9.2342.19200300.100.1.60" ), // jpegPhoto
-                // //$NON-NLS-1$
-                new BinaryAttribute( "1.3.6.1.4.1.42.2.27.4.1.8" ), // javaSerializedData
-                // //$NON-NLS-1$
-                new BinaryAttribute( "1.3.6.1.4.1.1466.101.120.35" ), // thumbnailPhoto
-                // //$NON-NLS-1$
-                new BinaryAttribute( "1.3.6.1.4.1.1466.101.120.36" ), // thumbnailLogo
-                // //$NON-NLS-1$
-                new BinaryAttribute( "2.5.4.35" ), // userPassword
-                // //$NON-NLS-1$
-                new BinaryAttribute( "2.5.4.36" ), // userCertificate
-                // //$NON-NLS-1$
-                new BinaryAttribute( "2.5.4.37" ), // cACertificate
-                // //$NON-NLS-1$
-                new BinaryAttribute( "2.5.4.38" ), // authorityRevocationList
-                // //$NON-NLS-1$
-                new BinaryAttribute( "2.5.4.39" ), // certificateRevocationList
-                // //$NON-NLS-1$
-                new BinaryAttribute( "2.5.4.40" ), // crossCertificatePair
-                // //$NON-NLS-1$
-                new BinaryAttribute( "2.5.4.45" ), // x500UniqueIdentifier
-            // //$NON-NLS-1$
+            { new BinaryAttribute( "0.9.2342.19200300.100.1.7" ), // photo //$NON-NLS-1$
+                new BinaryAttribute( "0.9.2342.19200300.100.1.53" ), // personalSignature
//$NON-NLS-1$
+                new BinaryAttribute( "0.9.2342.19200300.100.1.55" ), // audio //$NON-NLS-1$
+                new BinaryAttribute( "0.9.2342.19200300.100.1.60" ), // jpegPhoto //$NON-NLS-1$
+                new BinaryAttribute( "1.3.6.1.4.1.42.2.27.4.1.8" ), // javaSerializedData
//$NON-NLS-1$
+                new BinaryAttribute( "1.3.6.1.4.1.1466.101.120.35" ), // thumbnailPhoto //$NON-NLS-1$
+                new BinaryAttribute( "1.3.6.1.4.1.1466.101.120.36" ), // thumbnailLogo //$NON-NLS-1$
+                new BinaryAttribute( "2.5.4.35" ), // userPassword //$NON-NLS-1$
+                new BinaryAttribute( "2.5.4.36" ), // userCertificate //$NON-NLS-1$
+                new BinaryAttribute( "2.5.4.37" ), // cACertificate //$NON-NLS-1$
+                new BinaryAttribute( "2.5.4.38" ), // authorityRevocationList //$NON-NLS-1$
+                new BinaryAttribute( "2.5.4.39" ), // certificateRevocationList //$NON-NLS-1$
+                new BinaryAttribute( "2.5.4.40" ), // crossCertificatePair //$NON-NLS-1$
+                new BinaryAttribute( "2.5.4.45" ), // x500UniqueIdentifier //$NON-NLS-1$
             };
         BrowserCorePlugin.getDefault().getCorePreferences().setDefaultBinaryAttributes( defaultBinaryAttributes
);
 
         // default binary syntaxes
         BinarySyntax[] defaultBinarySyntaxes = new BinarySyntax[]
-            { new BinarySyntax( "1.3.6.1.4.1.1466.115.121.1.5" ), // Binary
-                // //$NON-NLS-1$
-                new BinarySyntax( "1.3.6.1.4.1.1466.115.121.1.8" ), // Certificate
-                // //$NON-NLS-1$
-                new BinarySyntax( "1.3.6.1.4.1.1466.115.121.1.9" ), // Certificate
-                // List
-                // //$NON-NLS-1$
-                new BinarySyntax( "1.3.6.1.4.1.1466.115.121.1.10" ), // Certificate
-                // Pair
-                // //$NON-NLS-1$
-                new BinarySyntax( "1.3.6.1.4.1.1466.115.121.1.23" ), // Fax
-                // //$NON-NLS-1$
-                new BinarySyntax( "1.3.6.1.4.1.1466.115.121.1.28" ), // JPEG
-                // //$NON-NLS-1$
-                new BinarySyntax( "1.3.6.1.4.1.1466.115.121.1.40" ), // Octet
-                // String
-                // //$NON-NLS-1$
-                new BinarySyntax( "1.3.6.1.4.1.1466.115.121.1.49" ) // Supported
-            // Algorithm
-            // //$NON-NLS-1$
+            { new BinarySyntax( "1.3.6.1.4.1.1466.115.121.1.5" ), // Binary //$NON-NLS-1$
+                new BinarySyntax( "1.3.6.1.4.1.1466.115.121.1.8" ), // Certificate //$NON-NLS-1$
+                new BinarySyntax( "1.3.6.1.4.1.1466.115.121.1.9" ), // Certificate List //$NON-NLS-1$
+                new BinarySyntax( "1.3.6.1.4.1.1466.115.121.1.10" ), // Certificate Pair
//$NON-NLS-1$
+                new BinarySyntax( "1.3.6.1.4.1.1466.115.121.1.23" ), // Fax //$NON-NLS-1$
+                new BinarySyntax( "1.3.6.1.4.1.1466.115.121.1.28" ), // JPEG //$NON-NLS-1$
+                new BinarySyntax( "1.3.6.1.4.1.1466.115.121.1.40" ), // Octet String //$NON-NLS-1$
+                new BinarySyntax( "1.3.6.1.4.1.1466.115.121.1.49" ) // Supported Algorithm
//$NON-NLS-1$
             };
         BrowserCorePlugin.getDefault().getCorePreferences().setDefaultBinarySyntaxes( defaultBinarySyntaxes
);
     }



Mime
View raw message