diff options
Diffstat (limited to 'sources/scalac/symtab/classfile/Pickle.java')
-rw-r--r-- | sources/scalac/symtab/classfile/Pickle.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/scalac/symtab/classfile/Pickle.java b/sources/scalac/symtab/classfile/Pickle.java index 1b81e6d94e..22699b33a3 100644 --- a/sources/scalac/symtab/classfile/Pickle.java +++ b/sources/scalac/symtab/classfile/Pickle.java @@ -73,8 +73,8 @@ public class Pickle implements Kinds, Modifiers, EntryTags { return bp; } - public void writeToFile(String filename) throws IOException { - OutputStream stream = new FileOutputStream(filename); + public void writeTo(File file) throws IOException { + OutputStream stream = new FileOutputStream(file); stream.write(bytes, 0, size()); stream.close(); } |