ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject ignite git commit: IGNITE-3216
Date Wed, 08 Jun 2016 15:21:40 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-3216 9bf004690 -> b563a4870


IGNITE-3216


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/b563a487
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/b563a487
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/b563a487

Branch: refs/heads/ignite-3216
Commit: b563a487094fd309c0da569d8d73afc40ab6bb0c
Parents: 9bf0046
Author: Anton Vinogradov <av@apache.org>
Authored: Wed Jun 8 18:21:31 2016 +0300
Committer: Anton Vinogradov <av@apache.org>
Committed: Wed Jun 8 18:21:31 2016 +0300

----------------------------------------------------------------------
 .../main/java/org/apache/ignite/internal/util/IgniteUtils.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/b563a487/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java b/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java
index 012d001..18239b9 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/IgniteUtils.java
@@ -8583,7 +8583,7 @@ public abstract class IgniteUtils {
             throw new IgniteCheckedException("Addresses can not be resolved [addr=" + addrs
+
                 ", hostNames=" + hostNames + ']');
 
-        return F.viewSetReadOnly(res, F.<InetAddress>identity());
+        return Collections.unmodifiableCollection(res);
     }
 
     /**
@@ -8630,7 +8630,7 @@ public abstract class IgniteUtils {
             res.add(new InetSocketAddress(addr, port));
         }
 
-        return F.viewSetReadOnly(res, F.<InetSocketAddress>identity());
+        return Collections.unmodifiableCollection(res);
     }
 
     /**


Mime
View raw message