Return-Path: Delivered-To: apmail-directory-commits-archive@www.apache.org Received: (qmail 99264 invoked from network); 13 Aug 2009 15:59:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Aug 2009 15:59:27 -0000 Received: (qmail 93541 invoked by uid 500); 13 Aug 2009 15:59:34 -0000 Delivered-To: apmail-directory-commits-archive@directory.apache.org Received: (qmail 93479 invoked by uid 500); 13 Aug 2009 15:59:34 -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 93467 invoked by uid 99); 13 Aug 2009 15:59:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Aug 2009 15:59:32 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Aug 2009 15:59:30 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id EEB7C23888FC; Thu, 13 Aug 2009 15:59:09 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@directory.apache.org From: seelmann@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090813155909.EEB7C23888FC@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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 ); }