Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix indentation in: e2c3728. #337

Merged
merged 1 commit into from

2 participants

@kamilbednarz

In my previous pull request (#330) I used tabs instead of spaces.

Nothing very important, but here's a pull request to fix it. I'm sorry about that.

@BanzaiMan BanzaiMan merged commit 689e08f into jruby:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 8, 2012
  1. @kamilbednarz
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/org/jruby/RubyComparable.java
View
8 src/org/jruby/RubyComparable.java
@@ -116,10 +116,10 @@ private static IRubyObject callCmpMethod(ThreadContext context, IRubyObject recv
try {
IRubyObject result = invokedynamic(context, recv, OP_CMP, other);
- // This is only to prevent throwing exceptions by cmperr - it has poor performance
- if (result.isNil()) {
- return returnValueOnError;
- }
+ // This is only to prevent throwing exceptions by cmperr - it has poor performance
+ if (result.isNil()) {
+ return returnValueOnError;
+ }
return RubyBoolean.newBoolean(runtime, cmpint(context, result, recv, other) == 0);
} catch (RaiseException e) {
Something went wrong with that request. Please try again.