You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by pa...@apache.org on 2006/11/23 12:04:42 UTC

svn commit: r478530 - /directory/sandbox/pamarcelot/ldapstudio/ldapstudio-browser/src/main/java/org/apache/directory/ldapstudio/browser/view/views/ConnectionWizardInformationPage.java

Author: pamarcelot
Date: Thu Nov 23 03:04:38 2006
New Revision: 478530

URL: http://svn.apache.org/viewvc?view=rev&rev=478530
Log:
Removing warning caused by unused variables.

Modified:
    directory/sandbox/pamarcelot/ldapstudio/ldapstudio-browser/src/main/java/org/apache/directory/ldapstudio/browser/view/views/ConnectionWizardInformationPage.java

Modified: directory/sandbox/pamarcelot/ldapstudio/ldapstudio-browser/src/main/java/org/apache/directory/ldapstudio/browser/view/views/ConnectionWizardInformationPage.java
URL: http://svn.apache.org/viewvc/directory/sandbox/pamarcelot/ldapstudio/ldapstudio-browser/src/main/java/org/apache/directory/ldapstudio/browser/view/views/ConnectionWizardInformationPage.java?view=diff&rev=478530&r1=478529&r2=478530
==============================================================================
--- directory/sandbox/pamarcelot/ldapstudio/ldapstudio-browser/src/main/java/org/apache/directory/ldapstudio/browser/view/views/ConnectionWizardInformationPage.java (original)
+++ directory/sandbox/pamarcelot/ldapstudio/ldapstudio-browser/src/main/java/org/apache/directory/ldapstudio/browser/view/views/ConnectionWizardInformationPage.java Thu Nov 23 03:04:38 2006
@@ -141,7 +141,7 @@
         baseDNText.setLayoutData( new GridData( GridData.FILL, SWT.NONE, true, false ) );
 
         // Anonymous Bind
-        Label anonymousBindLabel = new Label( hostGroup, SWT.NONE );
+        new Label( hostGroup, SWT.NONE );
         anonymousBind = new Button( hostGroup, SWT.CHECK );
         anonymousBind.setText( "Anonymous Bind" );
         anonymousBind.setLayoutData( new GridData( GridData.FILL, SWT.NONE, true, false ) );
@@ -160,7 +160,7 @@
         userDNText.setLayoutData( new GridData( GridData.FILL, SWT.NONE, true, false ) );
 
         // Prefix User DN with Base DN
-        Label appendBaseDNtoUserDNWithBaseDNLabel = new Label( userGroup, SWT.NONE );
+        new Label( userGroup, SWT.NONE );
         appendBaseDNtoUserDNWithBaseDNButton = new Button( userGroup, SWT.CHECK );
         appendBaseDNtoUserDNWithBaseDNButton.setText( "Append Base DN to User DN" );
         appendBaseDNtoUserDNWithBaseDNButton.setLayoutData( new GridData( GridData.FILL, SWT.NONE, true, false ) );
@@ -336,7 +336,7 @@
                 {
                     try
                     {
-                        LdapDN ldapDN = new LdapDN( baseDNText.getText() );
+                        new LdapDN( baseDNText.getText() );
                     }
                     catch ( InvalidNameException e )
                     {
@@ -360,7 +360,7 @@
                 {
                     try
                     {
-                        LdapDN ldapDN = new LdapDN( userDNText.getText() );
+                        new LdapDN( userDNText.getText() );
                     }
                     catch ( InvalidNameException e )
                     {