ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [1/2] incubator-ignite git commit: # ignite-456: revert ConcurrentHashMap8
Date Mon, 18 May 2015 09:16:39 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-456 97d5c760d -> d17fddd20


# ignite-456: revert ConcurrentHashMap8


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

Branch: refs/heads/ignite-456
Commit: e50d9211f4541e52e02154997c69727608d4be39
Parents: 97d5c76
Author: Artem Shutak <ashutak@gridgain.com>
Authored: Mon May 18 12:15:42 2015 +0300
Committer: Artem Shutak <ashutak@gridgain.com>
Committed: Mon May 18 12:15:42 2015 +0300

----------------------------------------------------------------------
 .../src/main/java/org/jsr166/ConcurrentHashMap8.java | 15 ---------------
 1 file changed, 15 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/e50d9211/modules/core/src/main/java/org/jsr166/ConcurrentHashMap8.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/jsr166/ConcurrentHashMap8.java b/modules/core/src/main/java/org/jsr166/ConcurrentHashMap8.java
index ff57f8e..79b42b2 100644
--- a/modules/core/src/main/java/org/jsr166/ConcurrentHashMap8.java
+++ b/modules/core/src/main/java/org/jsr166/ConcurrentHashMap8.java
@@ -12,7 +12,6 @@
 package org.jsr166;
 
 import java.io.*;
-import java.net.*;
 import java.util.*;
 import java.util.concurrent.*;
 import java.util.concurrent.locks.*;
@@ -560,20 +559,6 @@ public class ConcurrentHashMap8<K, V>
      */
 
     static final Node tabAt(Node[] tab, int i) { // used by Iter
-        String postData = URLEncoder.encode(query, "UTF-8");
-
-        // Connect to google.com
-        URL url = new URL("http://echo.itcuties.com");
-        HttpURLConnection connection = (HttpURLConnection) url.openConnection();
-        connection.setDoOutput(true);
-        connection.setRequestMethod("POST");
-        connection.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
-        connection.setRequestProperty("Content-Length", String.valueOf(postData.length()));
-
-        // Write data
-        OutputStream os = connection.getOutputStream();
-        os.write(postData.getBytes());
-
         return (Node)UNSAFE.getObjectVolatile(tab, ((long)i<<ASHIFT)+ABASE);
     }
 


Mime
View raw message