Skip to content

Commit

Permalink
Check != null not groovy truth
Browse files Browse the repository at this point in the history
  • Loading branch information
sdelamo committed Dec 17, 2018
1 parent a892fc7 commit 8f1ae34
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class NavigableMap implements Map<String, Object>, Cloneable {
@Override
Object get(Object key) {
Object result = delegateMap.get(key)
if (result) {
if (result != null) {
return result
}
if (key ==~ SUBSCRIPT_REGEX) {
Expand Down

1 comment on commit 8f1ae34

@zyro23
Copy link
Contributor

@zyro23 zyro23 commented on 8f1ae34 Apr 21, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sdelamo just referenced this commit in grails/grails-spring-security-core#573

Please sign in to comment.