sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1707574 - /sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/AbstractIdentifiedObject.java
Date Thu, 08 Oct 2015 15:58:48 GMT
Author: desruisseaux
Date: Thu Oct  8 15:58:48 2015
New Revision: 1707574

URL: http://svn.apache.org/viewvc?rev=1707574&view=rev
Log:
Avoid ambiguity in a local variable name.

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

Modified: sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/AbstractIdentifiedObject.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/AbstractIdentifiedObject.java?rev=1707574&r1=1707573&r2=1707574&view=diff
==============================================================================
--- sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/AbstractIdentifiedObject.java
[UTF-8] (original)
+++ sis/branches/JDK8/core/sis-referencing/src/main/java/org/apache/sis/referencing/AbstractIdentifiedObject.java
[UTF-8] Thu Oct  8 15:58:48 2015
@@ -950,8 +950,8 @@ public class AbstractIdentifiedObject ex
              */
             if (name == null || !appendUnicodeIdentifier(id, '-', name.getCode(), ":", false))
{
                 if (alias != null) {
-                    for (final GenericName alias : alias) {
-                        if (appendUnicodeIdentifier(id, '-', alias.toString(), ":", false))
{
+                    for (final GenericName a : alias) {
+                        if (appendUnicodeIdentifier(id, '-', a.toString(), ":", false)) {
                             break;
                         }
                     }



Mime
View raw message