Permalink
Browse files

clean java a tad

  • Loading branch information...
1 parent 9e18e1b commit 583b8ace985da145fb6bcbbe46e52af057d8effb @ConradIrwin committed Aug 12, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 ext/org/pryrepl/InterceptionEventHook.java
@@ -13,12 +13,11 @@
private RubyProc proc;
public InterceptionEventHook(RubyProc proc) {
- super();
this.proc = proc;
}
public boolean isInterestedInEvent(RubyEvent event) {
- return event.getName().equals(RubyEvent.RAISE.getName());
+ return event == RubyEvent.RAISE;
}
public void eventHandler(ThreadContext context, String eventName, String file, int line, String name, IRubyObject type) {

0 comments on commit 583b8ac

Please sign in to comment.