diff --git a/src/main/java/teetime/util/Connection.java b/src/main/java/teetime/util/Connection.java
index 9fd714a1ce32de436c66c5b39e03d222e598c901..c8e3740d632729986e0d0a718b82eec837c0cf43 100644
--- a/src/main/java/teetime/util/Connection.java
+++ b/src/main/java/teetime/util/Connection.java
@@ -23,7 +23,6 @@ public class Connection<T> {
 	public int hashCode() {
 		final int prime = 31;
 		int result = 1;
-		result = prime * result + capacity;
 		result = prime * result + ((sourcePort == null) ? 0 : sourcePort.hashCode());
 		result = prime * result + ((targetPort == null) ? 0 : targetPort.hashCode());
 		return result;
@@ -41,9 +40,6 @@ public class Connection<T> {
 			return false;
 		}
 		Connection<?> other = (Connection<?>) obj;
-		if (capacity != other.capacity) {
-			return false;
-		}
 		if (sourcePort == null) {
 			if (other.sourcePort != null) {
 				return false;