sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1644556 [1/10] - in /sis/branches/JDK8: core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/ core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/matrix/ core/sis-referencing/src/main/java/org/apache/sis/...
Date Thu, 11 Dec 2014 05:08:41 GMT
Author: desruisseaux
Date: Thu Dec 11 05:08:40 2014
New Revision: 1644556

URL: http://svn.apache.org/r1644556
Log:
Fixed SVN properties. There is no code change in this commit (the apparent changes
are only a result of SVN adjusting automatically the EOL style to the platform).

Modified:
    sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/DefaultTemporalDatum.java   (props changed)
    sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/matrix/MatrixSIS.java   (props changed)
    sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/matrix/MismatchedMatrixSizeException.java   (props changed)
    sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/matrix/NoninvertibleMatrixException.java   (props changed)
    sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/matrix/package-info.java   (props changed)
    sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/provider/Affine.java   (props changed)
    sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/util/logging/AbstractAutoChecker.java   (contents, props changed)
    sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/util/logging/AbstractAutoCheckerList.java   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/SQLConnectionClosedException.java   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/connection/AbstractConnection.java   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/connection/DBFConnection.java   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/connection/SQLClosingIOFailureException.java   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/connection/package-info.java   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/metadata/AbstractUnimplementedFeaturesOfDatabaseMetaData.java   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/metadata/DBFDatabaseMetaData.java   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/metadata/DBFResultSetMataData.java   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/metadata/package-info.java   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/resultset/AbstractBuiltInMemoryResultSet.java   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/resultset/AbstractResultSet.java   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/resultset/AbstractUnimplementedFeaturesOfResultSet.java   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/resultset/DBFBuiltInMemoryResultSetForCatalogNamesListing.java   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/resultset/DBFBuiltInMemoryResultSetForSchemaListing.java   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/resultset/DBFBuiltInMemoryResultSetForTablesListing.java   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/resultset/DBFBuiltInMemoryResultSetForTablesTypesListing.java   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/resultset/DBFRecordBasedResultSet.java   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/resultset/SQLIllegalColumnIndexException.java   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/resultset/SQLNoResultException.java   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/resultset/SQLNoSuchFieldException.java   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/resultset/SQLNotDateException.java   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/resultset/SQLNotNumericException.java   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/resultset/package-info.java   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/sql/AbstractClauseResolver.java   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/sql/ConditionalClauseResolver.java   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/sql/CrudeSQLParser.java   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/sql/SQLIllegalParameterException.java   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/sql/SQLInvalidStatementException.java   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/sql/SQLUnsupportedParsingFeatureException.java   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/sql/package-info.java   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/statement/AbstractStatement.java   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/statement/DBFStatement.java   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/statement/package-info.java   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/storage/shapefile/FieldsDescriptors.java   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/storage/shapefile/InvalidDbaseFileFormatException.java   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/resources/org/apache/sis/internal/shapefile/jdbc/AbstractJDBC.properties   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/resources/org/apache/sis/internal/shapefile/jdbc/AbstractJDBC_fr.properties   (props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/resources/org/apache/sis/internal/shapefile/jdbc/connection/AbstractConnection.properties   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/resources/org/apache/sis/internal/shapefile/jdbc/connection/AbstractConnection_fr.properties   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/resources/org/apache/sis/internal/shapefile/jdbc/connection/DBFConnection.properties   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/resources/org/apache/sis/internal/shapefile/jdbc/connection/DBFConnection_fr.properties   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/resources/org/apache/sis/internal/shapefile/jdbc/metadata/DBFResultSetMataData.properties   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/resources/org/apache/sis/internal/shapefile/jdbc/metadata/DBFResultSetMataData_fr.properties   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/resources/org/apache/sis/internal/shapefile/jdbc/resultset/AbstractResultSet.properties   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/resources/org/apache/sis/internal/shapefile/jdbc/resultset/AbstractResultSet_fr.properties   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/resources/org/apache/sis/internal/shapefile/jdbc/resultset/AbstractUnimplementedFeaturesOfResultSet.properties   (props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/resources/org/apache/sis/internal/shapefile/jdbc/resultset/AbstractUnimplementedFeaturesOfResultSet_fr.properties   (props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/resources/org/apache/sis/internal/shapefile/jdbc/resultset/DBFBuiltInMemoryResultSetForTablesListing.properties   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/resources/org/apache/sis/internal/shapefile/jdbc/resultset/DBFRecordBasedResultSet.properties   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/resources/org/apache/sis/internal/shapefile/jdbc/resultset/DBFRecordBasedResultSet_fr.properties   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/resources/org/apache/sis/internal/shapefile/jdbc/sql/AbstractClauseResolver.properties   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/resources/org/apache/sis/internal/shapefile/jdbc/sql/AbstractClauseResolver_fr.properties   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/resources/org/apache/sis/internal/shapefile/jdbc/sql/CrudeSQLParser.properties   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/resources/org/apache/sis/internal/shapefile/jdbc/statement/DBFStatement.properties   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/resources/org/apache/sis/internal/shapefile/jdbc/statement/DBFStatement_fr.properties   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/resources/org/apache/sis/storage/shapefile/Database.properties   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/resources/org/apache/sis/storage/shapefile/Database_fr.properties   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/resources/org/apache/sis/storage/shapefile/FieldDescriptor.properties   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/resources/org/apache/sis/storage/shapefile/FieldDescriptor_fr.properties   (props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/resources/org/apache/sis/storage/shapefile/FieldsDescriptors.properties   (props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/main/resources/org/apache/sis/storage/shapefile/FieldsDescriptors_fr.properties   (props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/test/java/org/apache/sis/internal/shapefile/jdbc/AbstractTestBaseForInternalJDBC.java   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/test/java/org/apache/sis/internal/shapefile/jdbc/DBFConnectionTest.java   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/test/java/org/apache/sis/internal/shapefile/jdbc/DBFStatementTest.java   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/test/java/org/apache/sis/internal/shapefile/jdbc/readme.txt   (contents, props changed)
    sis/branches/JDK8/storage/sis-shapefile/src/test/java/org/apache/sis/internal/shapefile/jdbc/sql/WhereClauseTest.java   (contents, props changed)

Propchange: sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/datum/DefaultTemporalDatum.java
------------------------------------------------------------------------------
--- svn:mime-type (original)
+++ svn:mime-type Thu Dec 11 05:08:40 2014
@@ -1 +1 @@
-text/plain
+text/plain;charset=UTF-8

Propchange: sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/matrix/MatrixSIS.java
------------------------------------------------------------------------------
--- svn:mime-type (original)
+++ svn:mime-type Thu Dec 11 05:08:40 2014
@@ -1 +1 @@
-text/plain
+text/plain;charset=UTF-8

Propchange: sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/matrix/MismatchedMatrixSizeException.java
------------------------------------------------------------------------------
--- svn:mime-type (original)
+++ svn:mime-type Thu Dec 11 05:08:40 2014
@@ -1 +1 @@
-text/plain
+text/plain;charset=UTF-8

Propchange: sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/matrix/NoninvertibleMatrixException.java
------------------------------------------------------------------------------
--- svn:mime-type (original)
+++ svn:mime-type Thu Dec 11 05:08:40 2014
@@ -1 +1 @@
-text/plain
+text/plain;charset=UTF-8

Propchange: sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/matrix/package-info.java
------------------------------------------------------------------------------
--- svn:mime-type (original)
+++ svn:mime-type Thu Dec 11 05:08:40 2014
@@ -1 +1 @@
-text/plain
+text/plain;charset=UTF-8

Propchange: sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/provider/Affine.java
------------------------------------------------------------------------------
--- svn:mime-type (original)
+++ svn:mime-type Thu Dec 11 05:08:40 2014
@@ -1 +1 @@
-text/plain
+text/plain;charset=UTF-8

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=1644556&r1=1644555&r2=1644556&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/util/logging/AbstractAutoChecker.java [iso-8859-1] (original)
+++ sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/util/logging/AbstractAutoChecker.java [UTF-8] Thu Dec 11 05:08:40 2014
@@ -1,136 +1,136 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.sis.util.logging;
-
-import java.text.MessageFormat;
-import java.util.MissingResourceException;
-import java.util.Objects;
-import java.util.ResourceBundle;
-import java.util.logging.Level;
-import java.util.logging.Logger;
-
-
-/**
- * Base class for objets having auto-checking abilities
- * and easy access to Bundle and logging function. 
- * @author Marc LE BIHAN
- */
-abstract public class AbstractAutoChecker {
-    /** Logger. */
-    private Logger logger = Logger.getLogger(getClass().getSimpleName());
-
-    /**
-     * Format a resource bundle message.
-     *
-     * @param classForResourceBundleName class from which ResourceBundle name will be extracted.
-     * @param key Message key.
-     * @param args Message arguments.
-     * @return Message.
-     */
-    final protected String format(Class<?> classForResourceBundleName, String key, Object... args) {
-        Objects.requireNonNull(classForResourceBundleName, "Class from with the ResourceBundle name is extracted cannot be null.");
-        Objects.requireNonNull(key, "Message key cannot be bull.");
-
-        Class<?> candidateClass = classForResourceBundleName;
-        MessageFormat format = null;
-        
-        // Find the key in the bundle having for name this class, or in one of its superclasses.
-        do {
-            try {
-                ResourceBundle rsc = ResourceBundle.getBundle(candidateClass.getName());
-                format = new MessageFormat(rsc.getString(key));
-            }
-            catch(MissingResourceException e) {
-                candidateClass = candidateClass.getSuperclass();
-            }
-        }
-        while(candidateClass != null && format == null);
-        
-        if (format == null) {
-            String fmt = "Cannot find property key {0} in {1} properties file or any of its superclasses.";
-            String message = MessageFormat.format(fmt, key, classForResourceBundleName.getName());
-            throw new MissingResourceException(message, classForResourceBundleName.getName(), key);
-        }
-        else
-            return format.format(args);
-    }
-
-    /**
-     * Format a resource bundle message.
-     *
-     * @param key Message key.
-     * @param args Message arguments.
-     * @return Message.
-     */
-    final protected String format(String key, Object... args) {
-        return format(getClass(), key, args);
-    }
-
-    /**
-     * Format a resource bundle message and before returning it, log it.
-     *
-     * @param logLevel Log Level.
-     * @param key Message key.
-     * @param args Message arguments.
-     * @return Message.
-     */
-    final protected String format(Level logLevel, String key, Object... args) {
-        Objects.requireNonNull(logLevel, "The log level cannot be null.");
-        
-        String message = format(key, args);
-        logger.log(logLevel, message);
-        return(message);
-    }
-
-    /**
-     * Format a resource bundle message and before returning it, log it.
-     *
-     * @param classForResourceBundleName class from which ResourceBundle name will be extracted.
-     * @param logLevel Log Level.
-     * @param key Message key.
-     * @param args Message arguments.
-     * @return Message.
-     */
-    final protected String format(Level logLevel, Class<?> classForResourceBundleName, String key, Object... args) {
-        Objects.requireNonNull(logLevel, "The log level cannot be null.");
-        
-        String message = format(classForResourceBundleName, key, args);
-        logger.log(logLevel, message);
-        return(message);
-    }
-
-    /**
-     * Logs (and take the time to format an entry log) only if the logger accepts the message.
-     * @param logLevel Log level.
-     * @param key Message key.
-     * @param args Message arguments.
-     */
-    final protected void log(Level logLevel, String key, Object... args) {
-        Objects.requireNonNull(logLevel, "The log level cannot be null.");
-
-        if (logger.isLoggable(logLevel))
-            format(logLevel, key, args);
-    }
-    
-    /**
-     * Return the class logger.
-     * @return logger.
-     */
-    public Logger getLogger() {
-        return logger;
-    }
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.sis.util.logging;
+
+import java.text.MessageFormat;
+import java.util.MissingResourceException;
+import java.util.Objects;
+import java.util.ResourceBundle;
+import java.util.logging.Level;
+import java.util.logging.Logger;
+
+
+/**
+ * Base class for objets having auto-checking abilities
+ * and easy access to Bundle and logging function. 
+ * @author Marc LE BIHAN
+ */
+abstract public class AbstractAutoChecker {
+    /** Logger. */
+    private Logger logger = Logger.getLogger(getClass().getSimpleName());
+
+    /**
+     * Format a resource bundle message.
+     *
+     * @param classForResourceBundleName class from which ResourceBundle name will be extracted.
+     * @param key Message key.
+     * @param args Message arguments.
+     * @return Message.
+     */
+    final protected String format(Class<?> classForResourceBundleName, String key, Object... args) {
+        Objects.requireNonNull(classForResourceBundleName, "Class from with the ResourceBundle name is extracted cannot be null.");
+        Objects.requireNonNull(key, "Message key cannot be bull.");
+
+        Class<?> candidateClass = classForResourceBundleName;
+        MessageFormat format = null;
+        
+        // Find the key in the bundle having for name this class, or in one of its superclasses.
+        do {
+            try {
+                ResourceBundle rsc = ResourceBundle.getBundle(candidateClass.getName());
+                format = new MessageFormat(rsc.getString(key));
+            }
+            catch(MissingResourceException e) {
+                candidateClass = candidateClass.getSuperclass();
+            }
+        }
+        while(candidateClass != null && format == null);
+        
+        if (format == null) {
+            String fmt = "Cannot find property key {0} in {1} properties file or any of its superclasses.";
+            String message = MessageFormat.format(fmt, key, classForResourceBundleName.getName());
+            throw new MissingResourceException(message, classForResourceBundleName.getName(), key);
+        }
+        else
+            return format.format(args);
+    }
+
+    /**
+     * Format a resource bundle message.
+     *
+     * @param key Message key.
+     * @param args Message arguments.
+     * @return Message.
+     */
+    final protected String format(String key, Object... args) {
+        return format(getClass(), key, args);
+    }
+
+    /**
+     * Format a resource bundle message and before returning it, log it.
+     *
+     * @param logLevel Log Level.
+     * @param key Message key.
+     * @param args Message arguments.
+     * @return Message.
+     */
+    final protected String format(Level logLevel, String key, Object... args) {
+        Objects.requireNonNull(logLevel, "The log level cannot be null.");
+        
+        String message = format(key, args);
+        logger.log(logLevel, message);
+        return(message);
+    }
+
+    /**
+     * Format a resource bundle message and before returning it, log it.
+     *
+     * @param classForResourceBundleName class from which ResourceBundle name will be extracted.
+     * @param logLevel Log Level.
+     * @param key Message key.
+     * @param args Message arguments.
+     * @return Message.
+     */
+    final protected String format(Level logLevel, Class<?> classForResourceBundleName, String key, Object... args) {
+        Objects.requireNonNull(logLevel, "The log level cannot be null.");
+        
+        String message = format(classForResourceBundleName, key, args);
+        logger.log(logLevel, message);
+        return(message);
+    }
+
+    /**
+     * Logs (and take the time to format an entry log) only if the logger accepts the message.
+     * @param logLevel Log level.
+     * @param key Message key.
+     * @param args Message arguments.
+     */
+    final protected void log(Level logLevel, String key, Object... args) {
+        Objects.requireNonNull(logLevel, "The log level cannot be null.");
+
+        if (logger.isLoggable(logLevel))
+            format(logLevel, key, args);
+    }
+    
+    /**
+     * Return the class logger.
+     * @return logger.
+     */
+    public Logger getLogger() {
+        return logger;
+    }
+}

Propchange: sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/util/logging/AbstractAutoChecker.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/util/logging/AbstractAutoChecker.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain;charset=UTF-8

Modified: sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/util/logging/AbstractAutoCheckerList.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/util/logging/AbstractAutoCheckerList.java?rev=1644556&r1=1644555&r2=1644556&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/util/logging/AbstractAutoCheckerList.java [iso-8859-1] (original)
+++ sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/util/logging/AbstractAutoCheckerList.java [UTF-8] Thu Dec 11 05:08:40 2014
@@ -1,29 +1,29 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.sis.util.logging;
-
-import java.util.ArrayList;
-
-/**
- * Array of objects having the ability of auto-checking.
- * @author Marc LE BIHAN
- * @param <T> Objects type.
- */
-public class AbstractAutoCheckerList<T extends AbstractAutoChecker> extends ArrayList<T> {
-    /** Serial ID. */
-    private static final long serialVersionUID = 4337592104848939780L;
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.sis.util.logging;
+
+import java.util.ArrayList;
+
+/**
+ * Array of objects having the ability of auto-checking.
+ * @author Marc LE BIHAN
+ * @param <T> Objects type.
+ */
+public class AbstractAutoCheckerList<T extends AbstractAutoChecker> extends ArrayList<T> {
+    /** Serial ID. */
+    private static final long serialVersionUID = 4337592104848939780L;
+}

Propchange: sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/util/logging/AbstractAutoCheckerList.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/util/logging/AbstractAutoCheckerList.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain;charset=UTF-8

Modified: sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/SQLConnectionClosedException.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/SQLConnectionClosedException.java?rev=1644556&r1=1644555&r2=1644556&view=diff
==============================================================================
--- sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/SQLConnectionClosedException.java [iso-8859-1] (original)
+++ sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/SQLConnectionClosedException.java [UTF-8] Thu Dec 11 05:08:40 2014
@@ -1,63 +1,63 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.sis.internal.shapefile.jdbc;
-
-import java.io.File;
-import java.sql.SQLException;
-
-/**
- * Exception thrown when a connection is closed.
- * @author Marc LE BIHAN
- */
-public class SQLConnectionClosedException extends SQLException {
-    /** Serial ID. */
-    private static final long serialVersionUID = -7806101485624353416L;
-
-    /** The SQL Statement that whas attempted (if known). */
-    private String m_sql;
-    
-    /** The database file. */
-    private File m_database;
-    
-    /**
-     * Build the exception.
-     * @param message Exception message.
-     * @param sql SQL Statement who encountered the trouble, if known.
-     * @param database The database that was queried.
-     */
-    public SQLConnectionClosedException(String message, String sql, File database) {
-        super(message);
-        m_sql = sql;
-        m_database = database;
-    }
-    
-    /**
-     * Returns the SQL statement who encountered the "connection closed" alert, if known.
-     * @return SQL statement or null.
-     */
-    public String getSQL() {
-        return m_sql;
-    }
-    
-    /**
-     * Returns the database file that is not opened for connection.
-     * @return Database file.
-     */
-    public File getDatabase() {
-        return m_database;
-    }
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.sis.internal.shapefile.jdbc;
+
+import java.io.File;
+import java.sql.SQLException;
+
+/**
+ * Exception thrown when a connection is closed.
+ * @author Marc LE BIHAN
+ */
+public class SQLConnectionClosedException extends SQLException {
+    /** Serial ID. */
+    private static final long serialVersionUID = -7806101485624353416L;
+
+    /** The SQL Statement that whas attempted (if known). */
+    private String m_sql;
+    
+    /** The database file. */
+    private File m_database;
+    
+    /**
+     * Build the exception.
+     * @param message Exception message.
+     * @param sql SQL Statement who encountered the trouble, if known.
+     * @param database The database that was queried.
+     */
+    public SQLConnectionClosedException(String message, String sql, File database) {
+        super(message);
+        m_sql = sql;
+        m_database = database;
+    }
+    
+    /**
+     * Returns the SQL statement who encountered the "connection closed" alert, if known.
+     * @return SQL statement or null.
+     */
+    public String getSQL() {
+        return m_sql;
+    }
+    
+    /**
+     * Returns the database file that is not opened for connection.
+     * @return Database file.
+     */
+    public File getDatabase() {
+        return m_database;
+    }
+}

Propchange: sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/SQLConnectionClosedException.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/SQLConnectionClosedException.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain;charset=UTF-8

Modified: sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/connection/AbstractConnection.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/connection/AbstractConnection.java?rev=1644556&r1=1644555&r2=1644556&view=diff
==============================================================================
--- sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/connection/AbstractConnection.java [iso-8859-1] (original)
+++ sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/connection/AbstractConnection.java [UTF-8] Thu Dec 11 05:08:40 2014
@@ -1,418 +1,418 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.sis.internal.shapefile.jdbc.connection;
-
-import java.sql.*;
-import java.util.Collections;
-import java.util.Map;
-import java.util.Properties;
-import java.util.concurrent.Executor;
-import java.util.logging.Level;
-
-import org.apache.sis.internal.shapefile.jdbc.AbstractJDBC;
-
-
-/**
- * This base class holds most of the unimplemented feature of a {@code Connection}.
- * This is used in order to avoid having a Connection implementation of thousand lines and unreadable.
- *
- * <table class="sis">
- *   <caption>Connection default values</caption>
- *   <tr><th>Property</th>                           <th>Value</th></tr>
- *   <tr><td>{@link #isReadOnly()}</td>              <td>{@code false}</td></tr>
- *   <tr><td>{@link #getAutoCommit()}</td>           <td>{@code true}</td></tr>
- *   <tr><td>{@link #getNetworkTimeout()}</td>       <td>0</td></tr>
- *   <tr><td>{@link #getTransactionIsolation()}</td> <td>{@link #TRANSACTION_NONE}</td></tr>
- *   <tr><td>{@link #getTypeMap()}</td>              <td>Empty map</td></tr>
- *   <tr><td>{@link #nativeSQL(String)}</td>         <td>No change</td></tr>
- *   <tr><td>{@link #getWarnings()}</td>             <td>{@code null}</td></tr>
- *   <tr><td>{@link #clearWarnings()}</td>           <td>Ignored</td></tr>
- * </table>
- *
- * @author  Marc Le Bihan
- * @author  Martin Desruisseaux (Geomatys)
- * @version 0.5
- * @since   0.5
- * @module
- */
-@SuppressWarnings("unused")
-abstract class AbstractConnection extends AbstractJDBC implements Connection {
-    /**
-     * Constructs a new {@code Connection} instance.
-     */
-    AbstractConnection() {
-    }
-
-    /**
-     * Unsupported by default.
-     */
-    @Override
-    public void setCatalog(String catalog) {
-        logUnsupportedOperation("setCatalog");
-    }
-
-    /**
-     * Unsupported by default.
-     */
-    @Override
-    public String getSchema() throws SQLException {
-        throw unsupportedOperation("getSchema");
-    }
-
-    /**
-     * Unsupported by default.
-     */
-    @Override
-    public void setSchema(String schema) throws SQLException {
-        throw unsupportedOperation("setSchema");
-    }
-
-    /**
-     * Unsupported by default.
-     */
-    @Override
-    public Map<String, Class<?>> getTypeMap() {
-        return Collections.emptyMap();
-    }
-
-    /**
-     * Unsupported by default.
-     */
-    @Override
-    public void setTypeMap(Map<String, Class<?>> map) {
-        if (!map.isEmpty()) {
-            throw new UnsupportedOperationException("setTypeMap");
-        }
-    }
-
-    /**
-     * Returns {@code true} by default, assuming a driver without write capabilities.
-     */
-    @Override
-    public boolean isReadOnly() {
-        return true;
-    }
-
-    /**
-     * Unsupported by default.
-     */
-    @Override
-    public void setReadOnly(boolean readOnly) {
-        if (!readOnly) {
-            throw new UnsupportedOperationException("setReadOnly");
-        }
-    }
-
-    /**
-     * Defaults to {@link #TRANSACTION_NONE}.
-     */
-    @Override
-    public int getTransactionIsolation() {
-        return TRANSACTION_NONE; // No guarantees of anything.
-    }
-
-    /**
-     * Unsupported by default.
-     */
-    @Override
-    public void setTransactionIsolation(int level) {
-        if (level != TRANSACTION_NONE) {
-            throw new UnsupportedOperationException("setTransactionIsolation");
-        }
-    }
-
-    /**
-     * Defaults to {@code true}, assuming that auto-commit state is not handled.
-     */
-    @Override
-    public boolean getAutoCommit() {
-        return true;
-    }
-
-    /**
-     * Defaults to ignoring the commit / rollback.
-     * The auto-commit mode is assumed fixed to {@code true}.
-     */
-    @Override
-    public void setAutoCommit(boolean autoCommit) {
-        format(Level.WARNING, "log.auto_commit_ignored", autoCommit);
-    }
-
-    /**
-     * Unsupported by default.
-     */
-    @Override
-    public void commit() {
-        format(Level.WARNING, "log.commit_rollback_ignored");
-    }
-
-    /**
-     * Unsupported by default.
-     */
-    @Override
-    public void rollback() {
-        format(Level.WARNING, "log.commit_rollback_ignored");
-    }
-
-    /**
-     * Unsupported by default.
-     */
-    @Override
-    public void rollback(Savepoint savepoint) throws SQLException {
-        throw unsupportedOperation("rollback");
-    }
-
-    /**
-     * Unsupported by default.
-     */
-    @Override
-    public Savepoint setSavepoint() throws SQLException {
-        throw unsupportedOperation("setSavepoint");
-    }
-
-    /**
-     * Unsupported by default.
-     */
-    @Override
-    public Savepoint setSavepoint(String name) throws SQLException {
-        throw unsupportedOperation("setSavepoint");
-    }
-
-    /**
-     * Unsupported by default.
-     */
-    @Override
-    public void releaseSavepoint(Savepoint savepoint) throws SQLException {
-        throw unsupportedOperation("releaseSavepoint");
-    }
-
-    /**
-     * Unsupported by default.
-     */
-    @Override
-    public int getHoldability() throws SQLException {
-        throw unsupportedOperation("getHoldability");
-    }
-
-    /**
-     * Unsupported by default.
-     */
-    @Override
-    public void setHoldability(int holdability) {
-        logUnsupportedOperation("setHoldability");
-    }
-
-    /**
-     * Returns the given string unchanged by default.
-     */
-    @Override
-    public String nativeSQL(String sql) {
-        return sql; // We do nothing at the moment.
-    }
-
-    /**
-     * Unsupported by default.
-     */
-    @Override
-    public Statement createStatement(int resultSetType, int resultSetConcurrency) throws SQLException {
-        throw unsupportedOperation("createStatement");
-    }
-
-    /**
-     * Unsupported by default.
-     */
-    @Override
-    public Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException {
-        throw unsupportedOperation("createStatement");
-    }
-
-    /**
-     * Unsupported by default.
-     */
-    @Override
-    public PreparedStatement prepareStatement(String sql) throws SQLException {
-        throw unsupportedOperation("prepareStatement");
-    }
-
-    /**
-     * Unsupported by default.
-     */
-    @Override
-    public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency) throws SQLException {
-        throw unsupportedOperation("prepareStatement");
-    }
-
-    /**
-     * Unsupported by default.
-     */
-    @Override
-    public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException {
-        throw unsupportedOperation("prepareStatement");
-    }
-
-    /**
-     * Unsupported by default.
-     */
-    @Override
-    public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException {
-        throw unsupportedOperation("prepareCall");
-    }
-
-    /**
-     * Unsupported by default.
-     */
-    @Override
-    public PreparedStatement prepareStatement(String sql, int autoGeneratedKeys) throws SQLException {
-        throw unsupportedOperation("prepareStatement");
-    }
-
-    /**
-     * Unsupported by default.
-     */
-    @Override
-    public PreparedStatement prepareStatement(String sql, int[] columnIndexes) throws SQLException {
-        throw unsupportedOperation("prepareStatement");
-    }
-
-    /**
-     * Unsupported by default.
-     */
-    @Override
-    public PreparedStatement prepareStatement(String sql, String[] columnNames) throws SQLException {
-        throw unsupportedOperation("prepareStatement");
-    }
-
-    /**
-     * Unsupported by default.
-     */
-    @Override
-    public CallableStatement prepareCall(String sql) throws SQLException {
-        throw unsupportedOperation("prepareCall");
-    }
-
-    /**
-     * Unsupported by default.
-     */
-    @Override
-    public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency) throws SQLException {
-        throw unsupportedOperation("prepareCall");
-    }
-
-    /**
-     * Unsupported by default.
-     */
-    @Override
-    public Clob createClob() throws SQLException {
-        throw unsupportedOperation("createClob");
-    }
-
-    /**
-     * Unsupported by default.
-     */
-    @Override
-    public Blob createBlob() throws SQLException {
-        throw unsupportedOperation("createBlob");
-    }
-
-    /**
-     * Unsupported by default.
-     */
-    @Override
-    public NClob createNClob() throws SQLException {
-        throw unsupportedOperation("createNClob");
-    }
-
-    /**
-     * Unsupported by default.
-     */
-    @Override
-    public SQLXML createSQLXML() throws SQLException {
-        throw unsupportedOperation("createSQLXML");
-    }
-
-    /**
-     * Unsupported by default.
-     */
-    @Override
-    public Array createArrayOf(String typeName, Object[] elements) throws SQLException {
-        throw unsupportedOperation("createArrayOf");
-    }
-
-    /**
-     * Unsupported by default.
-     */
-    @Override
-    public Struct createStruct(String typeName, Object[] attributes) throws SQLException {
-        throw unsupportedOperation("createStruct");
-    }
-
-    /**
-     * Unsupported by default.
-     */
-    @Override
-    public String getClientInfo(String name) throws SQLException {
-        throw unsupportedOperation("getClientInfo");
-    }
-
-    /**
-     * Unsupported by default.
-     */
-    @Override
-    public Properties getClientInfo() throws SQLException {
-        throw unsupportedOperation("getClientInfo");
-    }
-
-    /**
-     * Unsupported by default.
-     */
-    @Override
-    public void setClientInfo(String name, String value) {
-        logUnsupportedOperation("setClientInfo");
-    }
-
-    /**
-     * Unsupported by default.
-     */
-    @Override
-    public void setClientInfo(Properties properties) {
-        logUnsupportedOperation("setClientInfo");
-    }
-
-    /**
-     * Defaults to 0, which means there is no limit.
-     */
-    @Override
-    public int getNetworkTimeout() {
-        return 0; // Means there is no limt.
-    }
-
-    /**
-     * Unsupported by default.
-     */
-    @Override
-    public void setNetworkTimeout(Executor executor, int milliseconds) {
-        logUnsupportedOperation("setNetworkTimeout");
-    }
-
-    /**
-     * Unsupported by default.
-     */
-    @Override
-    public void abort(Executor executor) throws SQLException {
-        throw unsupportedOperation("abort");
-    }
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.sis.internal.shapefile.jdbc.connection;
+
+import java.sql.*;
+import java.util.Collections;
+import java.util.Map;
+import java.util.Properties;
+import java.util.concurrent.Executor;
+import java.util.logging.Level;
+
+import org.apache.sis.internal.shapefile.jdbc.AbstractJDBC;
+
+
+/**
+ * This base class holds most of the unimplemented feature of a {@code Connection}.
+ * This is used in order to avoid having a Connection implementation of thousand lines and unreadable.
+ *
+ * <table class="sis">
+ *   <caption>Connection default values</caption>
+ *   <tr><th>Property</th>                           <th>Value</th></tr>
+ *   <tr><td>{@link #isReadOnly()}</td>              <td>{@code false}</td></tr>
+ *   <tr><td>{@link #getAutoCommit()}</td>           <td>{@code true}</td></tr>
+ *   <tr><td>{@link #getNetworkTimeout()}</td>       <td>0</td></tr>
+ *   <tr><td>{@link #getTransactionIsolation()}</td> <td>{@link #TRANSACTION_NONE}</td></tr>
+ *   <tr><td>{@link #getTypeMap()}</td>              <td>Empty map</td></tr>
+ *   <tr><td>{@link #nativeSQL(String)}</td>         <td>No change</td></tr>
+ *   <tr><td>{@link #getWarnings()}</td>             <td>{@code null}</td></tr>
+ *   <tr><td>{@link #clearWarnings()}</td>           <td>Ignored</td></tr>
+ * </table>
+ *
+ * @author  Marc Le Bihan
+ * @author  Martin Desruisseaux (Geomatys)
+ * @version 0.5
+ * @since   0.5
+ * @module
+ */
+@SuppressWarnings("unused")
+abstract class AbstractConnection extends AbstractJDBC implements Connection {
+    /**
+     * Constructs a new {@code Connection} instance.
+     */
+    AbstractConnection() {
+    }
+
+    /**
+     * Unsupported by default.
+     */
+    @Override
+    public void setCatalog(String catalog) {
+        logUnsupportedOperation("setCatalog");
+    }
+
+    /**
+     * Unsupported by default.
+     */
+    @Override
+    public String getSchema() throws SQLException {
+        throw unsupportedOperation("getSchema");
+    }
+
+    /**
+     * Unsupported by default.
+     */
+    @Override
+    public void setSchema(String schema) throws SQLException {
+        throw unsupportedOperation("setSchema");
+    }
+
+    /**
+     * Unsupported by default.
+     */
+    @Override
+    public Map<String, Class<?>> getTypeMap() {
+        return Collections.emptyMap();
+    }
+
+    /**
+     * Unsupported by default.
+     */
+    @Override
+    public void setTypeMap(Map<String, Class<?>> map) {
+        if (!map.isEmpty()) {
+            throw new UnsupportedOperationException("setTypeMap");
+        }
+    }
+
+    /**
+     * Returns {@code true} by default, assuming a driver without write capabilities.
+     */
+    @Override
+    public boolean isReadOnly() {
+        return true;
+    }
+
+    /**
+     * Unsupported by default.
+     */
+    @Override
+    public void setReadOnly(boolean readOnly) {
+        if (!readOnly) {
+            throw new UnsupportedOperationException("setReadOnly");
+        }
+    }
+
+    /**
+     * Defaults to {@link #TRANSACTION_NONE}.
+     */
+    @Override
+    public int getTransactionIsolation() {
+        return TRANSACTION_NONE; // No guarantees of anything.
+    }
+
+    /**
+     * Unsupported by default.
+     */
+    @Override
+    public void setTransactionIsolation(int level) {
+        if (level != TRANSACTION_NONE) {
+            throw new UnsupportedOperationException("setTransactionIsolation");
+        }
+    }
+
+    /**
+     * Defaults to {@code true}, assuming that auto-commit state is not handled.
+     */
+    @Override
+    public boolean getAutoCommit() {
+        return true;
+    }
+
+    /**
+     * Defaults to ignoring the commit / rollback.
+     * The auto-commit mode is assumed fixed to {@code true}.
+     */
+    @Override
+    public void setAutoCommit(boolean autoCommit) {
+        format(Level.WARNING, "log.auto_commit_ignored", autoCommit);
+    }
+
+    /**
+     * Unsupported by default.
+     */
+    @Override
+    public void commit() {
+        format(Level.WARNING, "log.commit_rollback_ignored");
+    }
+
+    /**
+     * Unsupported by default.
+     */
+    @Override
+    public void rollback() {
+        format(Level.WARNING, "log.commit_rollback_ignored");
+    }
+
+    /**
+     * Unsupported by default.
+     */
+    @Override
+    public void rollback(Savepoint savepoint) throws SQLException {
+        throw unsupportedOperation("rollback");
+    }
+
+    /**
+     * Unsupported by default.
+     */
+    @Override
+    public Savepoint setSavepoint() throws SQLException {
+        throw unsupportedOperation("setSavepoint");
+    }
+
+    /**
+     * Unsupported by default.
+     */
+    @Override
+    public Savepoint setSavepoint(String name) throws SQLException {
+        throw unsupportedOperation("setSavepoint");
+    }
+
+    /**
+     * Unsupported by default.
+     */
+    @Override
+    public void releaseSavepoint(Savepoint savepoint) throws SQLException {
+        throw unsupportedOperation("releaseSavepoint");
+    }
+
+    /**
+     * Unsupported by default.
+     */
+    @Override
+    public int getHoldability() throws SQLException {
+        throw unsupportedOperation("getHoldability");
+    }
+
+    /**
+     * Unsupported by default.
+     */
+    @Override
+    public void setHoldability(int holdability) {
+        logUnsupportedOperation("setHoldability");
+    }
+
+    /**
+     * Returns the given string unchanged by default.
+     */
+    @Override
+    public String nativeSQL(String sql) {
+        return sql; // We do nothing at the moment.
+    }
+
+    /**
+     * Unsupported by default.
+     */
+    @Override
+    public Statement createStatement(int resultSetType, int resultSetConcurrency) throws SQLException {
+        throw unsupportedOperation("createStatement");
+    }
+
+    /**
+     * Unsupported by default.
+     */
+    @Override
+    public Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException {
+        throw unsupportedOperation("createStatement");
+    }
+
+    /**
+     * Unsupported by default.
+     */
+    @Override
+    public PreparedStatement prepareStatement(String sql) throws SQLException {
+        throw unsupportedOperation("prepareStatement");
+    }
+
+    /**
+     * Unsupported by default.
+     */
+    @Override
+    public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency) throws SQLException {
+        throw unsupportedOperation("prepareStatement");
+    }
+
+    /**
+     * Unsupported by default.
+     */
+    @Override
+    public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException {
+        throw unsupportedOperation("prepareStatement");
+    }
+
+    /**
+     * Unsupported by default.
+     */
+    @Override
+    public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException {
+        throw unsupportedOperation("prepareCall");
+    }
+
+    /**
+     * Unsupported by default.
+     */
+    @Override
+    public PreparedStatement prepareStatement(String sql, int autoGeneratedKeys) throws SQLException {
+        throw unsupportedOperation("prepareStatement");
+    }
+
+    /**
+     * Unsupported by default.
+     */
+    @Override
+    public PreparedStatement prepareStatement(String sql, int[] columnIndexes) throws SQLException {
+        throw unsupportedOperation("prepareStatement");
+    }
+
+    /**
+     * Unsupported by default.
+     */
+    @Override
+    public PreparedStatement prepareStatement(String sql, String[] columnNames) throws SQLException {
+        throw unsupportedOperation("prepareStatement");
+    }
+
+    /**
+     * Unsupported by default.
+     */
+    @Override
+    public CallableStatement prepareCall(String sql) throws SQLException {
+        throw unsupportedOperation("prepareCall");
+    }
+
+    /**
+     * Unsupported by default.
+     */
+    @Override
+    public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency) throws SQLException {
+        throw unsupportedOperation("prepareCall");
+    }
+
+    /**
+     * Unsupported by default.
+     */
+    @Override
+    public Clob createClob() throws SQLException {
+        throw unsupportedOperation("createClob");
+    }
+
+    /**
+     * Unsupported by default.
+     */
+    @Override
+    public Blob createBlob() throws SQLException {
+        throw unsupportedOperation("createBlob");
+    }
+
+    /**
+     * Unsupported by default.
+     */
+    @Override
+    public NClob createNClob() throws SQLException {
+        throw unsupportedOperation("createNClob");
+    }
+
+    /**
+     * Unsupported by default.
+     */
+    @Override
+    public SQLXML createSQLXML() throws SQLException {
+        throw unsupportedOperation("createSQLXML");
+    }
+
+    /**
+     * Unsupported by default.
+     */
+    @Override
+    public Array createArrayOf(String typeName, Object[] elements) throws SQLException {
+        throw unsupportedOperation("createArrayOf");
+    }
+
+    /**
+     * Unsupported by default.
+     */
+    @Override
+    public Struct createStruct(String typeName, Object[] attributes) throws SQLException {
+        throw unsupportedOperation("createStruct");
+    }
+
+    /**
+     * Unsupported by default.
+     */
+    @Override
+    public String getClientInfo(String name) throws SQLException {
+        throw unsupportedOperation("getClientInfo");
+    }
+
+    /**
+     * Unsupported by default.
+     */
+    @Override
+    public Properties getClientInfo() throws SQLException {
+        throw unsupportedOperation("getClientInfo");
+    }
+
+    /**
+     * Unsupported by default.
+     */
+    @Override
+    public void setClientInfo(String name, String value) {
+        logUnsupportedOperation("setClientInfo");
+    }
+
+    /**
+     * Unsupported by default.
+     */
+    @Override
+    public void setClientInfo(Properties properties) {
+        logUnsupportedOperation("setClientInfo");
+    }
+
+    /**
+     * Defaults to 0, which means there is no limit.
+     */
+    @Override
+    public int getNetworkTimeout() {
+        return 0; // Means there is no limt.
+    }
+
+    /**
+     * Unsupported by default.
+     */
+    @Override
+    public void setNetworkTimeout(Executor executor, int milliseconds) {
+        logUnsupportedOperation("setNetworkTimeout");
+    }
+
+    /**
+     * Unsupported by default.
+     */
+    @Override
+    public void abort(Executor executor) throws SQLException {
+        throw unsupportedOperation("abort");
+    }
+}

Propchange: sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/connection/AbstractConnection.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/connection/AbstractConnection.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain;charset=UTF-8

Modified: sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/connection/DBFConnection.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/connection/DBFConnection.java?rev=1644556&r1=1644555&r2=1644556&view=diff
==============================================================================
--- sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/connection/DBFConnection.java [iso-8859-1] (original)
+++ sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/connection/DBFConnection.java [UTF-8] Thu Dec 11 05:08:40 2014
@@ -1,194 +1,194 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.sis.internal.shapefile.jdbc.connection;
-
-import java.io.File;
-import java.io.FileNotFoundException;
-import java.io.IOException;
-import java.sql.*;
-import java.util.HashSet;
-import java.util.Objects;
-import java.util.logging.Level;
-import java.util.stream.Collectors;
-
-import org.apache.sis.internal.shapefile.jdbc.SQLConnectionClosedException;
-import org.apache.sis.internal.shapefile.jdbc.metadata.DBFDatabaseMetaData;
-import org.apache.sis.internal.shapefile.jdbc.statement.DBFStatement;
-import org.apache.sis.storage.shapefile.Database;
-
-
-/**
- * Connection to a DBF database.
- * @author  Marc Le Bihan
- * @version 0.5
- * @since   0.5
- * @module
- */
-public class DBFConnection extends AbstractConnection {
-    /** The object to use for reading the database content. */
-    final Database database;
-    
-    /** Opened statement. */
-    private HashSet<DBFStatement> m_openedStatements = new HashSet<>(); 
-
-    /**
-     * Constructs a connection to the given database.
-     * @param datafile Data file ({@code .dbf} extension).
-     * @throws SQLException if the Database file cannot be found or is not a file. 
-     */
-    public DBFConnection(final File datafile) throws SQLException {
-        // Check that file exists.
-        if (!datafile.exists()) {
-            throw new SQLException(format(Level.SEVERE, "excp.file_not_found", datafile.getAbsolutePath()));
-        }
-        
-        // Check that its not a directory.
-        if (datafile.isDirectory()) {
-            throw new SQLException(format(Level.SEVERE, "excp.directory_not_expected", datafile.getAbsolutePath()));
-        }
-        
-        try {
-           database = new Database(datafile.getAbsolutePath());
-           format(Level.FINE, "log.database_connection_opened", database.getFile().getAbsolutePath(), database.getFieldsDescriptor());
-        }
-        catch(FileNotFoundException e) {
-           throw(new SQLException(e.getMessage(), e));
-        }
-    }
-
-    /**
-     * Closes the connection to the database.
-     */
-    @Override
-    public void close() throws SQLClosingIOFailureException {
-        if (isClosed())
-            return;
-        
-        try {
-            // Check if all the underlying connections that has been opened with this connection has been closed.
-            // If not, we log a warning to help the developper.
-            if (m_openedStatements.size() > 0) {
-                format(Level.WARNING, "log.statements_left_opened", m_openedStatements.size(), m_openedStatements.stream().map(DBFStatement::toString).collect(Collectors.joining(", ")));  
-            }
-            
-            database.close();
-        } catch (IOException e) {
-            throw new SQLClosingIOFailureException(format(e.getLocalizedMessage(), e), null, database.getFile());
-        }
-    }
-
-    /**
-     * Creates an object for sending SQL statements to the database.
-     */
-    @Override
-    public Statement createStatement() throws SQLException {
-        assertNotClosed();
-        
-        DBFStatement stmt = new DBFStatement(this);
-        m_openedStatements.add(stmt);
-        return stmt;
-    }
-
-    /**
-     * @see java.sql.Connection#getCatalog()
-     */
-    @Override
-    public String getCatalog() {
-        return null; // DBase 3 offers no catalog.
-    }
-
-    /**
-     * Returns the binary representation of the database.
-     * @return Database.
-     */
-    public Database getDatabase() {
-        return database;
-    }
-
-    /**
-     * Returns the JDBC interface implemented by this class.
-     * This is used for formatting error messages.
-     */
-    @Override
-    final protected Class<?> getInterface() {
-        return Connection.class;
-    }
-
-    /**
-     * @see java.sql.Connection#getMetaData()
-     */
-    @Override
-    public DatabaseMetaData getMetaData() {
-        return new DBFDatabaseMetaData(this);
-    }
-
-    /**
-     * Returns {@code true} if this connection has been closed.
-     */
-    @Override
-    public boolean isClosed() {
-        return database.isClosed();
-    }
-
-    /**
-     * Returns {@code true} if the connection has not been closed and is still valid.
-     * The timeout parameter is ignored and this method bases itself only on {@link #isClosed()} state.
-     */
-    @Override
-    public boolean isValid(@SuppressWarnings("unused") int timeout) {
-        return !isClosed();
-    }
-
-    /**
-     * @see java.sql.Wrapper#isWrapperFor(java.lang.Class)
-     */
-    @Override
-    public boolean isWrapperFor(Class<?> iface) {
-        return iface.isAssignableFrom(getInterface());
-    }
-
-    /**
-     * Asserts that the connection is opened.
-     * @throws SQLConnectionClosedException if the connection is closed.
-     */
-    public void assertNotClosed() throws SQLConnectionClosedException {
-        // If closed throw an exception specifying the name if the DBF that is closed. 
-        if (isClosed()) {
-            throw new SQLConnectionClosedException(format(Level.SEVERE, "excp.closed_connection", database.getFile().getName()), null, database.getFile());
-        }
-    }
-    
-    /**
-     * Method called by Statement class to notity this connection that a statement has been closed.
-     * @param stmt Statement that has been closed.
-     */
-    public void notifyCloseStatement(DBFStatement stmt) {
-        Objects.requireNonNull(stmt, "The statement notified being closed cannot be null.");
-        
-        if (m_openedStatements.remove(stmt) == false) {
-            throw new RuntimeException(format(Level.SEVERE, "assert.statement_not_opened_by_me", stmt, toString()));
-        }
-    }
-    
-    /**
-     * @see java.lang.Object#toString()
-     */
-    @Override
-    public String toString() {
-        return format("toString", database.getFile().getAbsolutePath(), isClosed() == false);
-    }
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.sis.internal.shapefile.jdbc.connection;
+
+import java.io.File;
+import java.io.FileNotFoundException;
+import java.io.IOException;
+import java.sql.*;
+import java.util.HashSet;
+import java.util.Objects;
+import java.util.logging.Level;
+import java.util.stream.Collectors;
+
+import org.apache.sis.internal.shapefile.jdbc.SQLConnectionClosedException;
+import org.apache.sis.internal.shapefile.jdbc.metadata.DBFDatabaseMetaData;
+import org.apache.sis.internal.shapefile.jdbc.statement.DBFStatement;
+import org.apache.sis.storage.shapefile.Database;
+
+
+/**
+ * Connection to a DBF database.
+ * @author  Marc Le Bihan
+ * @version 0.5
+ * @since   0.5
+ * @module
+ */
+public class DBFConnection extends AbstractConnection {
+    /** The object to use for reading the database content. */
+    final Database database;
+    
+    /** Opened statement. */
+    private HashSet<DBFStatement> m_openedStatements = new HashSet<>(); 
+
+    /**
+     * Constructs a connection to the given database.
+     * @param datafile Data file ({@code .dbf} extension).
+     * @throws SQLException if the Database file cannot be found or is not a file. 
+     */
+    public DBFConnection(final File datafile) throws SQLException {
+        // Check that file exists.
+        if (!datafile.exists()) {
+            throw new SQLException(format(Level.SEVERE, "excp.file_not_found", datafile.getAbsolutePath()));
+        }
+        
+        // Check that its not a directory.
+        if (datafile.isDirectory()) {
+            throw new SQLException(format(Level.SEVERE, "excp.directory_not_expected", datafile.getAbsolutePath()));
+        }
+        
+        try {
+           database = new Database(datafile.getAbsolutePath());
+           format(Level.FINE, "log.database_connection_opened", database.getFile().getAbsolutePath(), database.getFieldsDescriptor());
+        }
+        catch(FileNotFoundException e) {
+           throw(new SQLException(e.getMessage(), e));
+        }
+    }
+
+    /**
+     * Closes the connection to the database.
+     */
+    @Override
+    public void close() throws SQLClosingIOFailureException {
+        if (isClosed())
+            return;
+        
+        try {
+            // Check if all the underlying connections that has been opened with this connection has been closed.
+            // If not, we log a warning to help the developper.
+            if (m_openedStatements.size() > 0) {
+                format(Level.WARNING, "log.statements_left_opened", m_openedStatements.size(), m_openedStatements.stream().map(DBFStatement::toString).collect(Collectors.joining(", ")));  
+            }
+            
+            database.close();
+        } catch (IOException e) {
+            throw new SQLClosingIOFailureException(format(e.getLocalizedMessage(), e), null, database.getFile());
+        }
+    }
+
+    /**
+     * Creates an object for sending SQL statements to the database.
+     */
+    @Override
+    public Statement createStatement() throws SQLException {
+        assertNotClosed();
+        
+        DBFStatement stmt = new DBFStatement(this);
+        m_openedStatements.add(stmt);
+        return stmt;
+    }
+
+    /**
+     * @see java.sql.Connection#getCatalog()
+     */
+    @Override
+    public String getCatalog() {
+        return null; // DBase 3 offers no catalog.
+    }
+
+    /**
+     * Returns the binary representation of the database.
+     * @return Database.
+     */
+    public Database getDatabase() {
+        return database;
+    }
+
+    /**
+     * Returns the JDBC interface implemented by this class.
+     * This is used for formatting error messages.
+     */
+    @Override
+    final protected Class<?> getInterface() {
+        return Connection.class;
+    }
+
+    /**
+     * @see java.sql.Connection#getMetaData()
+     */
+    @Override
+    public DatabaseMetaData getMetaData() {
+        return new DBFDatabaseMetaData(this);
+    }
+
+    /**
+     * Returns {@code true} if this connection has been closed.
+     */
+    @Override
+    public boolean isClosed() {
+        return database.isClosed();
+    }
+
+    /**
+     * Returns {@code true} if the connection has not been closed and is still valid.
+     * The timeout parameter is ignored and this method bases itself only on {@link #isClosed()} state.
+     */
+    @Override
+    public boolean isValid(@SuppressWarnings("unused") int timeout) {
+        return !isClosed();
+    }
+
+    /**
+     * @see java.sql.Wrapper#isWrapperFor(java.lang.Class)
+     */
+    @Override
+    public boolean isWrapperFor(Class<?> iface) {
+        return iface.isAssignableFrom(getInterface());
+    }
+
+    /**
+     * Asserts that the connection is opened.
+     * @throws SQLConnectionClosedException if the connection is closed.
+     */
+    public void assertNotClosed() throws SQLConnectionClosedException {
+        // If closed throw an exception specifying the name if the DBF that is closed. 
+        if (isClosed()) {
+            throw new SQLConnectionClosedException(format(Level.SEVERE, "excp.closed_connection", database.getFile().getName()), null, database.getFile());
+        }
+    }
+    
+    /**
+     * Method called by Statement class to notity this connection that a statement has been closed.
+     * @param stmt Statement that has been closed.
+     */
+    public void notifyCloseStatement(DBFStatement stmt) {
+        Objects.requireNonNull(stmt, "The statement notified being closed cannot be null.");
+        
+        if (m_openedStatements.remove(stmt) == false) {
+            throw new RuntimeException(format(Level.SEVERE, "assert.statement_not_opened_by_me", stmt, toString()));
+        }
+    }
+    
+    /**
+     * @see java.lang.Object#toString()
+     */
+    @Override
+    public String toString() {
+        return format("toString", database.getFile().getAbsolutePath(), isClosed() == false);
+    }
+}

Propchange: sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/connection/DBFConnection.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/connection/DBFConnection.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain;charset=UTF-8

Modified: sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/connection/SQLClosingIOFailureException.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/connection/SQLClosingIOFailureException.java?rev=1644556&r1=1644555&r2=1644556&view=diff
==============================================================================
--- sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/connection/SQLClosingIOFailureException.java [iso-8859-1] (original)
+++ sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/connection/SQLClosingIOFailureException.java [UTF-8] Thu Dec 11 05:08:40 2014
@@ -1,63 +1,63 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.sis.internal.shapefile.jdbc.connection;
-
-import java.io.File;
-import java.sql.SQLException;
-
-/**
- * Exception thrown when a connection cannot be closed due to an environement trouble.
- * @author Marc LE BIHAN
- */
-public class SQLClosingIOFailureException extends SQLException {
-    /** Serial ID. */
-    private static final long serialVersionUID = -3327372119927661463L;
-
-    /** The SQL Statement that whas attempted (if known). */
-    private String m_sql;
-    
-    /** The database file. */
-    private File m_database;
-    
-    /**
-     * Build the exception.
-     * @param message Exception message.
-     * @param sql SQL Statement who encountered the trouble, if known.
-     * @param database The database that was queried.
-     */
-    public SQLClosingIOFailureException(String message, String sql, File database) {
-        super(message);
-        m_sql = sql;
-        m_database = database;
-    }
-    
-    /**
-     * Returns the SQL statement who encountered the "connection closed" alert, if known.
-     * @return SQL statement or null.
-     */
-    public String getSQL() {
-        return m_sql;
-    }
-    
-    /**
-     * Returns the database file that is not opened for connection.
-     * @return Database file.
-     */
-    public File getDatabase() {
-        return m_database;
-    }
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.sis.internal.shapefile.jdbc.connection;
+
+import java.io.File;
+import java.sql.SQLException;
+
+/**
+ * Exception thrown when a connection cannot be closed due to an environement trouble.
+ * @author Marc LE BIHAN
+ */
+public class SQLClosingIOFailureException extends SQLException {
+    /** Serial ID. */
+    private static final long serialVersionUID = -3327372119927661463L;
+
+    /** The SQL Statement that whas attempted (if known). */
+    private String m_sql;
+    
+    /** The database file. */
+    private File m_database;
+    
+    /**
+     * Build the exception.
+     * @param message Exception message.
+     * @param sql SQL Statement who encountered the trouble, if known.
+     * @param database The database that was queried.
+     */
+    public SQLClosingIOFailureException(String message, String sql, File database) {
+        super(message);
+        m_sql = sql;
+        m_database = database;
+    }
+    
+    /**
+     * Returns the SQL statement who encountered the "connection closed" alert, if known.
+     * @return SQL statement or null.
+     */
+    public String getSQL() {
+        return m_sql;
+    }
+    
+    /**
+     * Returns the database file that is not opened for connection.
+     * @return Database file.
+     */
+    public File getDatabase() {
+        return m_database;
+    }
+}

Propchange: sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/connection/SQLClosingIOFailureException.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/connection/SQLClosingIOFailureException.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain;charset=UTF-8

Modified: sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/connection/package-info.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/connection/package-info.java?rev=1644556&r1=1644555&r2=1644556&view=diff
==============================================================================
--- sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/connection/package-info.java [iso-8859-1] (original)
+++ sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/connection/package-info.java [UTF-8] Thu Dec 11 05:08:40 2014
@@ -1,19 +1,19 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/** Connections */
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/** Connections */
 package org.apache.sis.internal.shapefile.jdbc.connection;
\ No newline at end of file

Propchange: sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/connection/package-info.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sis/branches/JDK8/storage/sis-shapefile/src/main/java/org/apache/sis/internal/shapefile/jdbc/connection/package-info.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain;charset=UTF-8



Mime
View raw message