Author: desruisseaux
Date: Sat Feb 17 12:56:48 2018
New Revision: 1824586
URL: http://svn.apache.org/viewvc?rev=1824586&view=rev
Log:
Changed file extension from ".txt" to ".lst" for NamespaceContent and
ImageryExtensions.
Added:
sis/branches/ISO-19115-3/core/sis-utility/src/main/resources/org/apache/sis/xml/ImageryExtensions.lst
- copied unchanged from r1824585,
sis/branches/ISO-19115-3/core/sis-utility/src/main/resources/org/apache/sis/xml/ImageryExtensions.txt
sis/branches/ISO-19115-3/core/sis-utility/src/main/resources/org/apache/sis/xml/NamespaceContent.lst
- copied unchanged from r1824585,
sis/branches/ISO-19115-3/core/sis-utility/src/main/resources/org/apache/sis/xml/NamespaceContent.txt
Removed:
sis/branches/ISO-19115-3/core/sis-utility/src/main/resources/org/apache/sis/xml/ImageryExtensions.txt
sis/branches/ISO-19115-3/core/sis-utility/src/main/resources/org/apache/sis/xml/NamespaceContent.txt
Modified:
sis/branches/ISO-19115-3/core/sis-metadata/src/test/java/org/apache/sis/xml/NamespaceContent.java
sis/branches/ISO-19115-3/core/sis-utility/src/main/java/org/apache/sis/xml/FilterVersion.java
sis/branches/ISO-19115-3/core/sis-utility/src/main/java/org/apache/sis/xml/FilteredReader.java
sis/branches/ISO-19115-3/ide-project/NetBeans/build.xml
Modified:
sis/branches/ISO-19115-3/core/sis-metadata/src/test/java/org/apache/sis/xml/NamespaceContent.java
URL:
http://svn.apache.org/viewvc/sis/branches/ISO-19115-3/core/sis-metadata/src/test/java/org/apache/sis/xml/NamespaceContent.java?rev=1824586&r1=1824585&r2=1824586&view=diff
==============================================================================
---
sis/branches/ISO-19115-3/core/sis-metadata/src/test/java/org/apache/sis/xml/NamespaceContent.java
[UTF-8] (original)
+++
sis/branches/ISO-19115-3/core/sis-metadata/src/test/java/org/apache/sis/xml/NamespaceContent.java
[UTF-8] Sat Feb 17 12:56:48 2018
@@ -37,7 +37,7 @@ import org.apache.sis.internal.jaxb.Lega
/**
- * Creates the {@code NamespaceContent.txt} file. This class needs to be
executed only when the content
+ * Creates the {@value FilteredReader#FILENAME} file. This class needs to be
executed only when the content
* has changed, or for verifying the current file. Output format contains
namespaces first, then classes,
* then properties. Example:
*
@@ -74,7 +74,7 @@ public final class NamespaceContent {
private final Map<String, Map<String, Set<String>>> content;
/**
- * Creates a new {@code NamespaceContent.txt} generator for classes under
the given directory.
+ * Creates a new {@value FilteredReader#FILENAME} generator for classes
under the given directory.
* The given directory shall be the root of {@code "*.class"} files.
*
* @param classRootDirectory the root of compiled class files.
@@ -198,7 +198,7 @@ public final class NamespaceContent {
}
/**
- * Prints the {@code NamespaceContent.txt} file.
+ * Prints the {@value FilteredReader#FILENAME} file.
*
* @param out where to print the content.
* @throws IOException if an error occurred while printing the content.
Modified:
sis/branches/ISO-19115-3/core/sis-utility/src/main/java/org/apache/sis/xml/FilterVersion.java
URL:
http://svn.apache.org/viewvc/sis/branches/ISO-19115-3/core/sis-utility/src/main/java/org/apache/sis/xml/FilterVersion.java?rev=1824586&r1=1824585&r2=1824586&view=diff
==============================================================================
---
sis/branches/ISO-19115-3/core/sis-utility/src/main/java/org/apache/sis/xml/FilterVersion.java
[UTF-8] (original)
+++
sis/branches/ISO-19115-3/core/sis-utility/src/main/java/org/apache/sis/xml/FilterVersion.java
[UTF-8] Sat Feb 17 12:56:48 2018
@@ -198,7 +198,7 @@ final class FilterVersion {
* The URI replacements to apply when going from the filtered
reader/writer to the
* model implemented by Apache SIS. This map is the converse of {@link
#exports}.
* It does not contain the map of properties to rename because that map is
handled
- * by {@link FilteredReader} instead, as part of {@code
NamespaceContent.txt} file.
+ * by {@link FilteredReader} instead, as part of {@code
NamespaceContent.lst} file.
*
* <p>This map shall not be modified after construction.
* We do not wrap in {@link Collections#unmodifiableMap(Map)} for
efficiency.</p>
Modified:
sis/branches/ISO-19115-3/core/sis-utility/src/main/java/org/apache/sis/xml/FilteredReader.java
URL:
http://svn.apache.org/viewvc/sis/branches/ISO-19115-3/core/sis-utility/src/main/java/org/apache/sis/xml/FilteredReader.java?rev=1824586&r1=1824585&r2=1824586&view=diff
==============================================================================
---
sis/branches/ISO-19115-3/core/sis-utility/src/main/java/org/apache/sis/xml/FilteredReader.java
[UTF-8] (original)
+++
sis/branches/ISO-19115-3/core/sis-utility/src/main/java/org/apache/sis/xml/FilteredReader.java
[UTF-8] Sat Feb 17 12:56:48 2018
@@ -73,7 +73,7 @@ final class FilteredReader extends Filte
* type since this error should never happen.</li>
* </ul>
*/
- private static final String FILENAME = "NamespaceContent.txt";
+ static final String FILENAME = "NamespaceContent.lst";
/**
* A key in {@link #NAMESPACES} sub-map meaning that the value (a
namespace URI) is for the type instead
Modified: sis/branches/ISO-19115-3/ide-project/NetBeans/build.xml
URL:
http://svn.apache.org/viewvc/sis/branches/ISO-19115-3/ide-project/NetBeans/build.xml?rev=1824586&r1=1824585&r2=1824586&view=diff
==============================================================================
--- sis/branches/ISO-19115-3/ide-project/NetBeans/build.xml (original)
+++ sis/branches/ISO-19115-3/ide-project/NetBeans/build.xml Sat Feb 17 12:56:48
2018
@@ -69,7 +69,7 @@
<!-- Other resources (properties files, SQL scripts, native libraries).
-->
<fileset dir="${project.root}/core/sis-utility/src/main/resources">
<include name="**/*.properties"/>
- <include name="**/*.txt"/>
+ <include name="**/*.lst"/>
</fileset>
<fileset dir="${project.root}/core/sis-metadata/src/main/resources">
<include name="**/*.sql"/>