Skip to content

Commit

Permalink
Fix indentation in: 8711597.
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilbednarz committed Oct 8, 2012
1 parent 8711597 commit 4bdb9ca
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/org/jruby/RubyComparable.java
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -116,10 +116,10 @@ private static IRubyObject callCmpMethod(ThreadContext context, IRubyObject recv
try { try {
IRubyObject result = invokedynamic(context, recv, OP_CMP, other); IRubyObject result = invokedynamic(context, recv, OP_CMP, other);


// This is only to prevent throwing exceptions by cmperr - it has poor performance // This is only to prevent throwing exceptions by cmperr - it has poor performance
if (result.isNil()) { if (result.isNil()) {
return returnValueOnError; return returnValueOnError;
} }


return RubyBoolean.newBoolean(runtime, cmpint(context, result, recv, other) == 0); return RubyBoolean.newBoolean(runtime, cmpint(context, result, recv, other) == 0);
} catch (RaiseException e) { } catch (RaiseException e) {
Expand Down

0 comments on commit 4bdb9ca

Please sign in to comment.