Skip to content

Commit ce1be5b

Browse files
committed
Preserve legacy constructor
1 parent d1266a5 commit ce1be5b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/com/yahoo/platform/yui/compressor/JavaScriptCompressor.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,8 @@ public JavaScriptCompressor(Reader in, ErrorReporter reporter)
542542
public void compress(Writer out, int linebreak, boolean munge, boolean verbose,
543543
boolean preserveAllSemiColons, boolean disableOptimizations)
544544
throws IOException {
545-
compress(out, null, linebreak, munge, verbose, preserveAllSemiColons, disableOptimizations);
545+
compress(out, null, linebreak, munge, verbose, preserveAllSemiColons,
546+
disableOptimizations, false);
546547
}
547548
public void compress(Writer out, Writer mungemap, int linebreak, boolean munge, boolean verbose,
548549
boolean preserveAllSemiColons, boolean disableOptimizations, boolean preserveUnknownHints)

0 commit comments

Comments
 (0)