Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/model/GuardExpression.java @ 18163:c88ab4f1f04a
re-enabled Checkstyle with the release of 6.0 that supports Java 8; fixed existing Checkstyle warnings
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 24 Oct 2014 16:18:10 +0200 |
parents | 2db61eddcb97 |
children | 08aa0372dad4 |
comparison
equal
deleted
inserted
replaced
18162:ab62800259ff | 18163:c88ab4f1f04a |
---|---|
108 @Override | 108 @Override |
109 public int hashCode() { | 109 public int hashCode() { |
110 return Objects.hash(guardName, negated, resolvedGuard, resolvedChildren); | 110 return Objects.hash(guardName, negated, resolvedGuard, resolvedChildren); |
111 } | 111 } |
112 | 112 |
113 public final boolean implies(GuardExpression other) { | 113 public boolean implies(GuardExpression other) { |
114 if (equals(other)) { | 114 if (equals(other)) { |
115 return true; | 115 return true; |
116 } | 116 } |
117 | 117 |
118 if (isResolved() && other.isResolved()) { | 118 if (isResolved() && other.isResolved()) { |