Even more... you guessed it! REFACTORING. Removes the need for @Export for methods overriding base java methods

This commit is contained in:
Lucas
2019-07-07 21:30:17 +02:00
parent e2aac6d899
commit 83533475d4
116 changed files with 802 additions and 752 deletions

View File

@@ -40,8 +40,8 @@ public class BufferedSink implements Runnable {
@Export("exception")
IOException exception;
@ObfuscatedName("l")
@Export("isClosed0")
boolean isClosed0;
@Export("closed")
boolean closed;
BufferedSink(OutputStream var1, int var2) {
this.position = 0;
@@ -61,7 +61,7 @@ public class BufferedSink implements Runnable {
)
@Export("isClosed")
boolean isClosed() {
if (this.isClosed0) {
if (this.closed) {
try {
this.outputStream.close();
if (this.exception == null) {
@@ -127,7 +127,7 @@ public class BufferedSink implements Runnable {
@Export("close")
void close() {
synchronized(this) {
this.isClosed0 = true;
this.closed = true;
this.notifyAll();
}
@@ -138,8 +138,6 @@ public class BufferedSink implements Runnable {
}
@Export("run")
@ObfuscatedName("run")
public void run() {
while (true) {
synchronized(this) {