Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Allow custom buffer size in LineNumberingPushbackReader

Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
  • Loading branch information...
commit a085c818965d0046a3a75ad058cf96681fdeded0 1 parent b5d0e84
@trptcolin trptcolin authored stuarthalloway committed
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/jvm/clojure/lang/LineNumberingPushbackReader.java
View
4 src/jvm/clojure/lang/LineNumberingPushbackReader.java
@@ -32,6 +32,10 @@ public LineNumberingPushbackReader(Reader r){
super(new LineNumberReader(r));
}
+public LineNumberingPushbackReader(Reader r, int size){
+ super(new LineNumberReader(r, size));
+}
+
public int getLineNumber(){
return ((LineNumberReader) in).getLineNumber() + 1;
}
Please sign in to comment.
Something went wrong with that request. Please try again.