You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by danielsun1106 <gi...@git.apache.org> on 2017/12/05 06:46:34 UTC
[GitHub] groovy pull request #:
Github user danielsun1106 commented on the pull request:
https://github.com/apache/groovy/commit/e1ce4824186f62f5fb05a407da79b8da61bc87a4#commitcomment-26053152
In src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java:
In src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java on line 15986:
Original code of patch: `return left == null || !left || Boolean.TRUE.equals(right);`
In order to keep the same style with others, I modified the code as `return !Boolean.TRUE.equals(left) || Boolean.TRUE.equals(right);`
---