Skip to content

Commit

Permalink
Add generic type to remove compiler warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
donaldh committed Aug 25, 2013
1 parent 448aafa commit 44190db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/vm/jvm/runtime/org/perl6/nqp/io/AsyncFileHandle.java
Expand Up @@ -3,7 +3,6 @@
import java.io.File;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.CharBuffer;
import java.nio.channels.AsynchronousFileChannel;
import java.nio.channels.CompletionHandler;
import java.nio.charset.Charset;
Expand Down Expand Up @@ -125,7 +124,7 @@ private class LinesState {
public int position;
}
public void lines(final ThreadContext tc, final SixModelObject Str,
final boolean chomp, final LinkedBlockingQueue queue,
final boolean chomp, final LinkedBlockingQueue<SixModelObject> queue,
final SixModelObject done, final SixModelObject error) {
final LinesState ls = new LinesState();
ls.lineChunks = new ArrayList<ByteBuffer>();
Expand Down
2 changes: 1 addition & 1 deletion src/vm/jvm/runtime/org/perl6/nqp/io/IIOAsyncReadable.java
Expand Up @@ -9,6 +9,6 @@ public interface IIOAsyncReadable {
public void slurp(ThreadContext tc, SixModelObject Str, SixModelObject done,
SixModelObject error);
public void lines(ThreadContext tc, SixModelObject Str, boolean chomp,
LinkedBlockingQueue queue, SixModelObject done,
LinkedBlockingQueue<SixModelObject> queue, SixModelObject done,
SixModelObject error);
}

0 comments on commit 44190db

Please sign in to comment.