Skip to content

Commit

Permalink
Java format.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdunkerley committed Sep 21, 2022
1 parent 2ad2d9c commit 72e5f79
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,8 @@ public final Object toArray() {

@Builtin.Method(name = "slice", description = "Returns a slice of this Vector.")
@Builtin.WrapException(from = UnsupportedMessageException.class, to = PanicException.class)
public final Vector slice(
long start,
long end,
InteropLibrary interop) throws UnsupportedMessageException {
public final Vector slice(long start, long end, InteropLibrary interop)
throws UnsupportedMessageException {
long this_length = length(interop);
long slice_start = Math.max(0, start);
long slice_end = Math.min(this_length, end);
Expand Down

0 comments on commit 72e5f79

Please sign in to comment.