sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mlebi...@apache.org
Subject svn commit: r1647092 - in /sis/branches/JDK8: core/sis-utility/src/main/java/org/apache/sis/util/logging/ storage/sis-shapefile/src/main/java/org/apache/sis/storage/shapefile/ storage/sis-shapefile/src/test/java/org/apache/sis/internal/shapefile/jdbc/
Date Sun, 21 Dec 2014 06:31:19 GMT
Author: mlebihan
Date: Sun Dec 21 06:31:18 2014
New Revision: 1647092

URL: http://svn.apache.org/r1647092
Log:
Refactoring on SIS-184 : Changing from java.util.Logger.getLogger(...) to java.apache.sis.getLogger(...).

Modified:
    sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/util/logging/AbstractAutoChecker.java
    sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/storage/shapefile/FieldDescriptor.java
    sis/branches/JDK8/storage/sis-shapefile/src/test/java/org/apache/sis/internal/shapefile/jdbc/AbstractTestBaseForInternalJDBC.java

Modified: sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/util/logging/AbstractAutoChecker.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/util/logging/AbstractAutoChecker.java?rev=1647092&r1=1647091&r2=1647092&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/util/logging/AbstractAutoChecker.java
[UTF-8] (original)
+++ sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/util/logging/AbstractAutoChecker.java
[UTF-8] Sun Dec 21 06:31:18 2014
@@ -31,7 +31,7 @@ import java.util.logging.Logger;
  */
 abstract public class AbstractAutoChecker {
     /** Logger. */
-    private Logger logger = Logger.getLogger(getClass().getSimpleName());
+    private Logger logger = Logging.getLogger(getClass().getSimpleName());
 
     /**
      * Format a resource bundle message.

Modified: sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/storage/shapefile/FieldDescriptor.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/storage/shapefile/FieldDescriptor.java?rev=1647092&r1=1647091&r2=1647092&view=diff
==============================================================================
--- sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/storage/shapefile/FieldDescriptor.java
[UTF-8] (original)
+++ sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/storage/shapefile/FieldDescriptor.java
[UTF-8] Sun Dec 21 06:31:18 2014
@@ -27,7 +27,7 @@ import org.apache.sis.util.logging.Abstr
  * @version 0.5
  * @module
  */
-public class FieldDescriptor extends AbstractAutoChecker {
+ public class FieldDescriptor extends AbstractAutoChecker {
     /** Field name. */
     public byte[] FieldName = new byte[11];
 
@@ -97,10 +97,5 @@ public class FieldDescriptor extends Abs
     public String toString() {
         String text = format("toString", getName(), FieldType, FieldLength, FieldDecimalCount);
         return text;
-        
-        // s.append("DbasePlusLanReserved2: ").append(DbasePlusLanReserved2 + "\n");
-        // s.append("WorkAreaID: ").append(WorkAreaID).append(lineSeparator);
-        // s.append("DbasePlusLanReserved3: ").append(DbasePlusLanReserved3).append(lineSeparator);
-        // s.append("SetFields: ").append(SetFields).append(lineSeparator);
     }
 }

Modified: sis/branches/JDK8/storage/sis-shapefile/src/test/java/org/apache/sis/internal/shapefile/jdbc/AbstractTestBaseForInternalJDBC.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/storage/sis-shapefile/src/test/java/org/apache/sis/internal/shapefile/jdbc/AbstractTestBaseForInternalJDBC.java?rev=1647092&r1=1647091&r2=1647092&view=diff
==============================================================================
--- sis/branches/JDK8/storage/sis-shapefile/src/test/java/org/apache/sis/internal/shapefile/jdbc/AbstractTestBaseForInternalJDBC.java
[UTF-8] (original)
+++ sis/branches/JDK8/storage/sis-shapefile/src/test/java/org/apache/sis/internal/shapefile/jdbc/AbstractTestBaseForInternalJDBC.java
[UTF-8] Sun Dec 21 06:31:18 2014
@@ -13,6 +13,7 @@ import java.util.logging.Logger;
 
 import org.apache.sis.storage.shapefile.Database;
 import org.apache.sis.test.TestCase;
+import org.apache.sis.util.logging.Logging;
 import org.junit.Before;
 
 /**
@@ -22,7 +23,7 @@ import org.junit.Before;
  */
 abstract public class AbstractTestBaseForInternalJDBC extends TestCase {
     /** Logger. */
-    protected Logger log = Logger.getLogger(getClass().getName());
+    protected Logger log = Logging.getLogger(getClass().getName());
     
     /** The database file to use for testing purpose.  */
     protected File dbfFile;



Mime
View raw message