Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Muskalla2011-04-28 09:11:57 +0000
committerMatthias Sohn2011-05-02 15:42:09 +0000
commit63aa1303c6b9b66da534bb45b33c20f963ce7e84 (patch)
tree9debfea0e4b4f95df8717d04f1bee390d9981e0f /org.eclipse.egit.mylyn.ui/src/org/eclipse/egit
parent90d3f084fd9e75042405bf121e4f35791384b0ad (diff)
downloadegit-63aa1303c6b9b66da534bb45b33c20f963ce7e84.tar.gz
egit-63aa1303c6b9b66da534bb45b33c20f963ce7e84.tar.xz
egit-63aa1303c6b9b66da534bb45b33c20f963ce7e84.zip
UI blocked while opening menu
We should not check for host resolution while opening the menu. Bug: 340412 Change-Id: I7282cc9648d95354c6b2bc52ae74b8aac51038ab Signed-off-by: Benjamin Muskalla <benjamin.muskalla@tasktop.com> Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.egit.mylyn.ui/src/org/eclipse/egit')
-rw-r--r--org.eclipse.egit.mylyn.ui/src/org/eclipse/egit/internal/mylyn/ui/commit/TaskReferenceFactory.java9
1 files changed, 0 insertions, 9 deletions
diff --git a/org.eclipse.egit.mylyn.ui/src/org/eclipse/egit/internal/mylyn/ui/commit/TaskReferenceFactory.java b/org.eclipse.egit.mylyn.ui/src/org/eclipse/egit/internal/mylyn/ui/commit/TaskReferenceFactory.java
index 82b7359b73..aaeabc07fa 100644
--- a/org.eclipse.egit.mylyn.ui/src/org/eclipse/egit/internal/mylyn/ui/commit/TaskReferenceFactory.java
+++ b/org.eclipse.egit.mylyn.ui/src/org/eclipse/egit/internal/mylyn/ui/commit/TaskReferenceFactory.java
@@ -192,15 +192,6 @@ public class TaskReferenceFactory implements IAdapterFactory {
|| (hostname1.equals(resolvedHostName) && hostname2.equals(localHost)))
return true;
- try {
- String ipAddress1 = InetAddress.getByName(hostname1).getHostAddress();
- String ipAddress2 = InetAddress.getByName(hostname2).getHostAddress();
-
- return ipAddress1.equals(ipAddress2);
- } catch (UnknownHostException ex) {
- // Ignore it.
- }
-
return false;
}

Back to the top