Skip to content

Commit

Permalink
Temporarily modify behavior of the 'extra' flag to match that of the …
Browse files Browse the repository at this point in the history
…just

released 1.5 Go and C++ versions.
To be reverted in the next release.
  • Loading branch information
flanglet committed Dec 25, 2018
1 parent 63cbc52 commit c06abee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/src/main/java/kanzi/app/BlockCompressor.java
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,6 @@ public Integer call()
ctx.put("pool", this.pool);
ctx.put("codec", this.codec);
ctx.put("transform", this.transform);
ctx.put("extra", "TPAQX".equals(this.codec));

// Run the task(s)
if (nbFiles == 1)
Expand All @@ -281,6 +280,7 @@ else if ((inputIsDir == true) && (specialOutput == false))
ctx.put("inputName", iName);
ctx.put("outputName", oName);
ctx.put("jobs", this.jobs);
ctx.put("extra", "TPAQX".equals(this.codec));
FileCompressTask task = new FileCompressTask(ctx, this.listeners);
FileCompressResult fcr = task.call();
res = fcr.code;
Expand Down

0 comments on commit c06abee

Please sign in to comment.