directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1226736 - in /directory/studio/trunk/plugins/rcp: pom.xml src/main/java/org/apache/directory/studio/Application.java src/main/java/org/apache/directory/studio/Messages.java
Date Tue, 03 Jan 2012 10:47:00 GMT
Author: pamarcelot
Date: Tue Jan  3 10:46:59 2012
New Revision: 1226736

URL: http://svn.apache.org/viewvc?rev=1226736&view=rev
Log:
Removed unused logger.

Modified:
    directory/studio/trunk/plugins/rcp/pom.xml
    directory/studio/trunk/plugins/rcp/src/main/java/org/apache/directory/studio/Application.java
    directory/studio/trunk/plugins/rcp/src/main/java/org/apache/directory/studio/Messages.java

Modified: directory/studio/trunk/plugins/rcp/pom.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/rcp/pom.xml?rev=1226736&r1=1226735&r2=1226736&view=diff
==============================================================================
--- directory/studio/trunk/plugins/rcp/pom.xml (original)
+++ directory/studio/trunk/plugins/rcp/pom.xml Tue Jan  3 10:46:59 2012
@@ -278,19 +278,6 @@
       <artifactId>app</artifactId>
       <scope>provided</scope>
     </dependency>
-
-    <dependency>
-      <groupId>org.slf4j</groupId>
-      <artifactId>slf4j-api</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.slf4j</groupId>
-      <artifactId>slf4j-log4j12</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>log4j</groupId>
-      <artifactId>log4j</artifactId>
-    </dependency>
   </dependencies>
 
 </project>

Modified: directory/studio/trunk/plugins/rcp/src/main/java/org/apache/directory/studio/Application.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/rcp/src/main/java/org/apache/directory/studio/Application.java?rev=1226736&r1=1226735&r2=1226736&view=diff
==============================================================================
--- directory/studio/trunk/plugins/rcp/src/main/java/org/apache/directory/studio/Application.java
(original)
+++ directory/studio/trunk/plugins/rcp/src/main/java/org/apache/directory/studio/Application.java
Tue Jan  3 10:46:59 2012
@@ -26,8 +26,6 @@ import org.eclipse.equinox.app.IApplicat
 import org.eclipse.swt.widgets.Display;
 import org.eclipse.ui.IWorkbench;
 import org.eclipse.ui.PlatformUI;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
 
 
 /**
@@ -40,16 +38,12 @@ public class Application implements IApp
     /** The plugin ID */
     public static final String PLUGIN_ID = "org.apache.directory.studio.rcp"; //$NON-NLS-1$
 
-    /** The logger*/
-    private static Logger logger = LoggerFactory.getLogger( Application.class );
-
 
     /**
      * {@inheritDoc}
      */
     public Object start( IApplicationContext context ) throws Exception
     {
-        logger.info( "Entering Apache Directory Studio." ); //$NON-NLS-1$
         Display display = PlatformUI.createDisplay();
 
         try
@@ -67,7 +61,6 @@ public class Application implements IApp
         finally
         {
             display.dispose();
-            logger.info( "Exiting Apache Directory Studio." ); //$NON-NLS-1$
         }
     }
 

Modified: directory/studio/trunk/plugins/rcp/src/main/java/org/apache/directory/studio/Messages.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/rcp/src/main/java/org/apache/directory/studio/Messages.java?rev=1226736&r1=1226735&r2=1226736&view=diff
==============================================================================
--- directory/studio/trunk/plugins/rcp/src/main/java/org/apache/directory/studio/Messages.java
(original)
+++ directory/studio/trunk/plugins/rcp/src/main/java/org/apache/directory/studio/Messages.java
Tue Jan  3 10:46:59 2012
@@ -24,9 +24,6 @@ package org.apache.directory.studio;
 import java.util.MissingResourceException;
 import java.util.ResourceBundle;
 
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
 
 /**
  * This class is used to get Strings to display in the User Interface
@@ -35,9 +32,6 @@ import org.slf4j.LoggerFactory;
  */
 public class Messages
 {
-    // The logger
-    private static Logger logger = LoggerFactory.getLogger( Messages.class );
-
     private static final String BUNDLE_NAME = "org.apache.directory.studio.messages"; //$NON-NLS-1$
 
     private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle( BUNDLE_NAME
);
@@ -64,7 +58,6 @@ public class Messages
         }
         catch ( MissingResourceException e )
         {
-            logger.warn( "Associated ressource not found for key {}", key ); //$NON-NLS-1$
             return '!' + key + '!';
         }
     }



Mime
View raw message