Commit aab090de authored by Daniel Wolf's avatar Daniel Wolf
Browse files

Return true for isEmpty() if the pair is equal to the empty pair

parent 4e17dac0
...@@ -110,7 +110,7 @@ public class IPPortPair extends MultitonEntity implements Serializable{ ...@@ -110,7 +110,7 @@ public class IPPortPair extends MultitonEntity implements Serializable{
} }
public boolean isEmpty(){ public boolean isEmpty(){
return getAddress().equals(""); return getAddress().equals("") || this == getEmptyPair();
} }
} }
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment