You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sis.apache.org by de...@apache.org on 2015/05/12 22:46:32 UTC
svn commit: r1679094 -
/sis/branches/JDK8/storage/sis-storage/src/main/java/org/apache/sis/storage/DataStoreClosedException.java
Author: desruisseaux
Date: Tue May 12 20:46:31 2015
New Revision: 1679094
URL: http://svn.apache.org/r1679094
Log:
Minor editions:
- set the "svn:eol-style" property to "native"
- set the "svn:mime-type" property to "text/plain;charset=UTF-8"
- omit the import declaration since the class is in the same package
- follow the convention asking to use the third person form in the first sentence of methods: "Construct" -> "Constructs"
- expand a little bit the first sentence in order to differentiate the two constructors
Modified:
sis/branches/JDK8/storage/sis-storage/src/main/java/org/apache/sis/storage/DataStoreClosedException.java (contents, props changed)
Modified: sis/branches/JDK8/storage/sis-storage/src/main/java/org/apache/sis/storage/DataStoreClosedException.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/storage/sis-storage/src/main/java/org/apache/sis/storage/DataStoreClosedException.java?rev=1679094&r1=1679093&r2=1679094&view=diff
==============================================================================
--- sis/branches/JDK8/storage/sis-storage/src/main/java/org/apache/sis/storage/DataStoreClosedException.java [iso-8859-1] (original)
+++ sis/branches/JDK8/storage/sis-storage/src/main/java/org/apache/sis/storage/DataStoreClosedException.java [UTF-8] Tue May 12 20:46:31 2015
@@ -1,49 +1,50 @@
-/*
- * 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.storage;
-
-import org.apache.sis.storage.DataStoreException;
-
-/**
- * Thrown when a Data store is closed and can no more return data.
- *
- * @author Marc Le Bihan
- * @version 0.6
- * @since 0.6
- * @module
- */
-public class DataStoreClosedException extends DataStoreException {
- /** Serial UID. */
- private static final long serialVersionUID = 7205119080377665796L;
-
- /**
- * Construct an exception.
- * @param message Message of the exception.
- */
- public DataStoreClosedException(String message) {
- super(message);
- }
-
- /**
- * Construct an exception.
- * @param message Message of the exception.
- * @param cause Root cause of the exception.
- */
- public DataStoreClosedException(String message, Throwable cause) {
- super(message, cause);
- }
-}
+/*
+ * 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.storage;
+
+
+/**
+ * Thrown when a Data store is closed and can no more return data.
+ *
+ * @author Marc Le Bihan
+ * @version 0.6
+ * @since 0.6
+ * @module
+ */
+public class DataStoreClosedException extends DataStoreException {
+ /** Serial UID. */
+ private static final long serialVersionUID = 7205119080377665796L;
+
+ /**
+ * Constructs an exception with the specified details message.
+ *
+ * @param message Message of the exception.
+ */
+ public DataStoreClosedException(String message) {
+ super(message);
+ }
+
+ /**
+ * Constructs an exception with the specified details message and cause.
+ *
+ * @param message Message of the exception.
+ * @param cause Root cause of the exception.
+ */
+ public DataStoreClosedException(String message, Throwable cause) {
+ super(message, cause);
+ }
+}
Propchange: sis/branches/JDK8/storage/sis-storage/src/main/java/org/apache/sis/storage/DataStoreClosedException.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: sis/branches/JDK8/storage/sis-storage/src/main/java/org/apache/sis/storage/DataStoreClosedException.java
------------------------------------------------------------------------------
svn:mime-type = text/plain;charset=UTF-8