Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix indentation in: e2c3728. #337

Merged
merged 1 commit into from

2 participants

Kamil Bednarz Hiro Asari
Kamil Bednarz

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.

Hiro Asari BanzaiMan merged commit 689e08f into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 8, 2012
  1. Kamil Bednarz
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
8 src/org/jruby/RubyComparable.java
View
@@ -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.