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 2016/11/08 17:48:06 UTC
svn commit: r1768751 - in
/sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis:
measure/UnitFormat.java util/iso/Types.java
Author: desruisseaux
Date: Tue Nov 8 17:48:06 2016
New Revision: 1768751
URL: http://svn.apache.org/viewvc?rev=1768751&view=rev
Log:
Minor comment formatting.
Modified:
sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/measure/UnitFormat.java
sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/util/iso/Types.java
Modified: sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/measure/UnitFormat.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/measure/UnitFormat.java?rev=1768751&r1=1768750&r2=1768751&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/measure/UnitFormat.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/measure/UnitFormat.java [UTF-8] Tue Nov 8 17:48:06 2016
@@ -296,7 +296,7 @@ public class UnitFormat extends Format i
/**
* Creates a new format for the given locale.
*
- * @param locale the locale to use for parsing and formatting units.
+ * @param locale the locale to use for parsing and formatting units.
*/
public UnitFormat(final Locale locale) {
ArgumentChecks.ensureNonNull("locale", locale);
Modified: sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/util/iso/Types.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/util/iso/Types.java?rev=1768751&r1=1768750&r2=1768751&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/util/iso/Types.java [UTF-8] (original)
+++ sis/branches/JDK8/core/sis-utility/src/main/java/org/apache/sis/util/iso/Types.java [UTF-8] Tue Nov 8 17:48:06 2016
@@ -136,8 +136,8 @@ public final class Types extends Static
* annotations are not inherited). If no annotation is found, then this method does not fallback
* on the Java name since, as the name implies, this method is about standard names.
*
- * @param type The GeoAPI interface or code list from which to get the ISO name, or {@code null}.
- * @return The ISO name for the given type, or {@code null} if none or if the given type is {@code null}.
+ * @param type the GeoAPI interface or code list from which to get the ISO name, or {@code null}.
+ * @return the ISO name for the given type, or {@code null} if none or if the given type is {@code null}.
*
* @see #forStandardName(String)
*/
@@ -707,7 +707,7 @@ public final class Types extends Static
boolean isSorted = false;
if (properties instanceof SortedMap<?,?>) {
final SortedMap<String,?> sorted = (SortedMap<String,?>) properties;
- if (sorted.comparator() == null) { // We want natural ordering.
+ if (sorted.comparator() == null) { // We want natural ordering.
properties = sorted.tailMap(prefix);
isSorted = true;
}
@@ -723,10 +723,10 @@ public final class Types extends Static
for (final Map.Entry<String,?> entry : properties.entrySet()) {
final String key = entry.getKey();
if (key == null) {
- continue; // Tolerance for Map that accept null keys.
+ continue; // Tolerance for Map that accept null keys.
}
if (!key.startsWith(prefix)) {
- if (isSorted) break; // If the map is sorted, there is no need to check next entries.
+ if (isSorted) break; // If the map is sorted, there is no need to check next entries.
continue;
}
final Locale locale;