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/07/10 11:15:19 UTC
svn commit: r1690230 -
/sis/branches/JDK8/core/sis-metadata/src/main/java/org/apache/sis/io/wkt/WKTFormat.java
Author: desruisseaux
Date: Fri Jul 10 09:15:19 2015
New Revision: 1690230
URL: http://svn.apache.org/r1690230
Log:
Add a note about the fact that we currently do not serialize the factories.
Modified:
sis/branches/JDK8/core/sis-metadata/src/main/java/org/apache/sis/io/wkt/WKTFormat.java
Modified: sis/branches/JDK8/core/sis-metadata/src/main/java/org/apache/sis/io/wkt/WKTFormat.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-metadata/src/main/java/org/apache/sis/io/wkt/WKTFormat.java?rev=1690230&r1=1690229&r2=1690230&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-metadata/src/main/java/org/apache/sis/io/wkt/WKTFormat.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-metadata/src/main/java/org/apache/sis/io/wkt/WKTFormat.java [UTF-8] Fri Jul 10 09:15:19 2015
@@ -600,6 +600,11 @@ public class WKTFormat extends CompoundF
* <li><code>{@linkplain CoordinateOperationFactory}.class</code></li>
* </ul>
*
+ * <div class="section">Limitation</div>
+ * The current implementation does not serialize the given factories, because they are usually not
+ * {@link java.io.Serializable}. The factories used by {@code WKTFormat} instances after deserialization
+ * are the default ones.
+ *
* @param <T> The compile-time type of the {@code type} argument.
* @param type The factory type.
* @param factory The factory to be used by this {@code WKTFormat} for the given type.