sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1653542 - /sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/parameter/Parameters.java
Date Wed, 21 Jan 2015 14:17:38 GMT
Author: desruisseaux
Date: Wed Jan 21 14:17:37 2015
New Revision: 1653542

URL: http://svn.apache.org/r1653542
Log:
Add a not about why Parameters.getOrCreate(group, name, index) is not a public API.

Modified:
    sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/parameter/Parameters.java

Modified: sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/parameter/Parameters.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/parameter/Parameters.java?rev=1653542&r1=1653541&r2=1653542&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/parameter/Parameters.java
[UTF-8] (original)
+++ sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/parameter/Parameters.java
[UTF-8] Wed Jan 21 14:17:37 2015
@@ -247,6 +247,9 @@ public final class Parameters extends St
 
     /**
      * Returns the <var>n</var>th occurrence of the parameter of the given name.
+     * This method is not public because ISO 19111 does not allow multi-occurrences of parameter
values
+     * (this is a SIS-specific flexibility). Current implementation is not very efficient,
but it should
+     * not be an issue if this method is rarely invoked.
      *
      * @param  values The group from which to get or create a value
      * @param  name   The name of the parameter to fetch. An exact match will be required.



Mime
View raw message