[Mulgara-svn] r1576 - trunk/src/jar/store-stringpool-memory/java/org/mulgara/store/stringpool/memory

pag at mulgara.org pag at mulgara.org
Tue Mar 3 07:31:34 UTC 2009


Author: pag
Date: 2009-03-02 23:31:33 -0800 (Mon, 02 Mar 2009)
New Revision: 1576

Modified:
   trunk/src/jar/store-stringpool-memory/java/org/mulgara/store/stringpool/memory/MemoryStringPoolFactory.java
Log:
Removed a warning from an unused logger, and some reformatting

Modified: trunk/src/jar/store-stringpool-memory/java/org/mulgara/store/stringpool/memory/MemoryStringPoolFactory.java
===================================================================
--- trunk/src/jar/store-stringpool-memory/java/org/mulgara/store/stringpool/memory/MemoryStringPoolFactory.java	2009-03-02 18:32:38 UTC (rev 1575)
+++ trunk/src/jar/store-stringpool-memory/java/org/mulgara/store/stringpool/memory/MemoryStringPoolFactory.java	2009-03-03 07:31:33 UTC (rev 1576)
@@ -58,25 +58,19 @@
  */
 public class MemoryStringPoolFactory implements StringPoolFactory
 {
-  /**
-   * Logger.
-   */
-  private static final Logger logger =
-    Logger.getLogger(MemoryStringPoolFactory.class.getName());
+  /** Logger. */
+  @SuppressWarnings("unused")
+  private static final Logger logger = Logger.getLogger(MemoryStringPoolFactory.class.getName());
 
-  /**
-   * The singleton instance of this class.
-   */
-  private static final StringPoolFactory stringPoolFactory =
-    new MemoryStringPoolFactory();
+  /** The singleton instance of this class. */
+  private static final StringPoolFactory stringPoolFactory = new MemoryStringPoolFactory();
 
   /**
    * This constructor is only for internal use.
    *
    * Use the {@link #newInstance} method to obtain instances.
    */
-  private MemoryStringPoolFactory()
-  {
+  private MemoryStringPoolFactory() {
     // null implementation
   }
 
@@ -85,8 +79,7 @@
    *
    * @param factoryInitializer  not used
    */
-  static public StringPoolFactory newInstance(FactoryInitializer factoryInitializer)
-  {
+  static public StringPoolFactory newInstance(FactoryInitializer factoryInitializer) {
     return stringPoolFactory;
   }
 
@@ -97,8 +90,7 @@
   /**
    * {@inheritDoc StringPoolFactory}
    */
-  public StringPool newStringPool()
-  {
+  public StringPool newStringPool() {
     return new MemoryStringPoolImpl();
   }
 }




More information about the Mulgara-svn mailing list