Skip to content

Commit

Permalink
[Truffle] Findbugs.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisseaton committed May 12, 2015
1 parent 7e94aec commit 04635bf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion tool/truffle-findbugs-exclude.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<Bug pattern="FE_FLOATING_POINT_EQUALITY" />
</Match>
<Match>
<Class name="org.jruby.truffle.runtime.util.ArrayUtils" />
<Class name="org.jruby.truffle.runtime.array.ArrayUtils" />
<Bug pattern="FE_FLOATING_POINT_EQUALITY" />
</Match>
<Match>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,17 +162,6 @@ private RubyArray makeGeneric(VirtualFrame frame,
return makeGeneric(frame, executedObjects);
}

private RubyArray makeGeneric(VirtualFrame frame,
final long[] executedValues, int n) {
final Object[] executedObjects = new Object[n];

for (int i = 0; i < n; i++) {
executedObjects[i] = executedValues[i];
}

return makeGeneric(frame, executedObjects);
}

}

public static class LongFixnumArrayLiteralNode extends ArrayLiteralNode {
Expand Down

0 comments on commit 04635bf

Please sign in to comment.