Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

clean java a tad

  • Loading branch information...
commit 583b8ace985da145fb6bcbbe46e52af057d8effb 1 parent 9e18e1b
@ConradIrwin authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  ext/org/pryrepl/InterceptionEventHook.java
View
3  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) {
Please sign in to comment.
Something went wrong with that request. Please try again.