Skip to content

Commit

Permalink
Removing necessary boolean comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
luizalfredo23 authored and darkv committed May 2, 2016
1 parent be87583 commit 6e6984a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ else if (_value != null) {
for (ERXRestRequestNode child : _children) {
String name = child.name();
Object value = child.toNSCollection(delegate, associatedObjects);
if (value != NSKeyValueCoding.NullValue || ERXProperties.booleanForKeyWithDefault("ERXRest.includeNullValues", true) == true) {
if (value != NSKeyValueCoding.NullValue || ERXProperties.booleanForKeyWithDefault("ERXRest.includeNullValues", true)) {
dict.put(name, value);
}
}
Expand Down

0 comments on commit 6e6984a

Please sign in to comment.