sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1823148 - /sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/jaxb/gco/PropertyType.java
Date Mon, 05 Feb 2018 10:28:26 GMT
Author: desruisseaux
Date: Mon Feb  5 10:28:26 2018
New Revision: 1823148

URL: http://svn.apache.org/viewvc?rev=1823148&view=rev
Log:
Give protected access to a constructor for allowing usage from different package.
Actually used (for now) in Geotk rather than SIS. Note that it is internal API.

Modified:
    sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/jaxb/gco/PropertyType.java

Modified: sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/jaxb/gco/PropertyType.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/jaxb/gco/PropertyType.java?rev=1823148&r1=1823147&r2=1823148&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/jaxb/gco/PropertyType.java
[UTF-8] (original)
+++ sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/internal/jaxb/gco/PropertyType.java
[UTF-8] Mon Feb  5 10:28:26 2018
@@ -157,7 +157,7 @@ public abstract class PropertyType<Value
      * @param  value     the primitive type wrapper.
      * @param  mayBeNil  {@code true} if we should check for nil reasons.
      */
-    PropertyType(final BoundType value, final boolean mayBeNil) {
+    protected PropertyType(final BoundType value, final boolean mayBeNil) {
         metadata = value;
         if (mayBeNil) {
             final Object property = PrimitiveTypeProperties.property(value);



Mime
View raw message