IDEA-149077 Default decompiler is chosen for several classes instead of Fernflower - tests

This commit is contained in:
Egor.Ushakov
2017-05-10 17:02:31 +03:00
parent 1f0d42ba0d
commit adbf29f8ce
68 changed files with 20713 additions and 4 deletions

View File

@@ -0,0 +1,28 @@
import java.util.concurrent.TimeUnit;
public class ah {
private volatile long a = -1L;
private volatile long b = 0L;
public void a() {
// $FF: Couldn't be decompiled
}
public double a(TimeUnit var1) {
return (double)(this.b / this.b(var1));
}
public long b() {
return this.b;
}
public long b(TimeUnit var1) {
long var2 = System.currentTimeMillis() - this.a;
return TimeUnit.MILLISECONDS.convert(var2, var1);
}
public void c() {
this.a = System.currentTimeMillis();
this.b = 0L;
}
}