# HG changeset patch # User Michael Van De Vanter # Date 1424320684 28800 # Node ID 5a91549293dfb54fba426946858ed21ad7a49a7b # Parent 4d66c000d253691948a805724891fd44e96cb0f6 Truffle/Instrumentation: placate FindBugs diff -r 4d66c000d253 -r 5a91549293df graal/com.oracle.truffle.api/src/com/oracle/truffle/api/instrument/Probe.java --- a/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/instrument/Probe.java Wed Feb 18 18:30:49 2015 -0800 +++ b/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/instrument/Probe.java Wed Feb 18 20:38:04 2015 -0800 @@ -338,11 +338,7 @@ } private void notifyTrapSet() { - if (tagTrap == null && !isTrapActive) { - // Special case, could be common, where we don't need to do anything. - return; - } - this.isTrapActive = this.isTaggedAs(tagTrap.getTag()); + this.isTrapActive = tagTrap != null && this.isTaggedAs(tagTrap.getTag()); invalidateProbeUnchanged(); }