-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1744dd1
commit 4806937
Showing
7 changed files
with
67 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Gumtree shows difference between the classfile version which is ignored by | ||
diffoscope. |
Binary file added
BIN
+2.58 KB
src/test/resources/NEQ1/2/commons-codec-1.15/BaseNCodecOutputStream.class
Binary file not shown.
Binary file added
BIN
+2.58 KB
src/test/resources/NEQ1/2/commons-codec-1.16.0/BaseNCodecOutputStream.class
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- commons-codec-1.15/BaseNCodecOutputStream.class | ||
+++ commons-codec-1.16.0/BaseNCodecOutputStream.class | ||
├── procyon -ec {} | ||
│ @@ -12,30 +12,30 @@ | ||
│ public class BaseNCodecOutputStream extends FilterOutputStream | ||
│ { | ||
│ private final boolean doEncode; | ||
│ private final BaseNCodec baseNCodec; | ||
│ private final byte[] singleByte; | ||
│ private final BaseNCodec.Context context; | ||
│ | ||
│ - public BaseNCodecOutputStream(final OutputStream output, final BaseNCodec basedCodec, final boolean doEncode) { | ||
│ - super(output); | ||
│ + public BaseNCodecOutputStream(final OutputStream outputStream, final BaseNCodec basedCodec, final boolean doEncode) { | ||
│ + super(outputStream); | ||
│ this.singleByte = new byte[1]; | ||
│ this.context = new BaseNCodec.Context(); | ||
│ this.baseNCodec = basedCodec; | ||
│ this.doEncode = doEncode; | ||
│ } | ||
│ | ||
│ @Override | ||
│ public void close() throws IOException { | ||
│ this.eof(); | ||
│ this.flush(); | ||
│ this.out.close(); | ||
│ } | ||
│ | ||
│ - public void eof() throws IOException { | ||
│ + public void eof() { | ||
│ if (this.doEncode) { | ||
│ this.baseNCodec.encode(this.singleByte, 0, -1, this.context); | ||
│ } | ||
│ else { | ||
│ this.baseNCodec.decode(this.singleByte, 0, -1, this.context); | ||
│ } | ||
│ } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[=== | ||
update-node | ||
--- | ||
majorVersion: 51 [6,8] | ||
replace 51 by 52] |