Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Wade
DnsChanger
Commits
aab090de
Commit
aab090de
authored
Apr 13, 2018
by
Daniel Wolf
Browse files
Return true for isEmpty() if the pair is equal to the empty pair
parent
4e17dac0
Changes
1
Show whitespace changes
Inline
Side-by-side
app/src/main/java/com/frostnerd/dnschanger/database/entities/IPPortPair.java
View file @
aab090de
...
...
@@ -110,7 +110,7 @@ public class IPPortPair extends MultitonEntity implements Serializable{
}
public
boolean
isEmpty
(){
return
getAddress
().
equals
(
""
);
return
getAddress
().
equals
(
""
)
||
this
==
getEmptyPair
()
;
}
}
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment