pick 97420a31d The big reformat of 2020

This commit is contained in:
yueh
2020-06-16 21:41:28 +02:00
parent 5304b3febe
commit 5225ea426b
2252 changed files with 95466 additions and 118582 deletions
+30 -39
View File
@@ -18,51 +18,42 @@
package appeng.hooks;
public class CompassResult {
public class CompassResult
{
private final boolean hasResult;
private final boolean spin;
private final double rad;
private final long time;
private boolean requested = false;
private final boolean hasResult;
private final boolean spin;
private final double rad;
private final long time;
private boolean requested = false;
public CompassResult(final boolean hasResult, final boolean spin, final double rad) {
this.hasResult = hasResult;
this.spin = spin;
this.rad = rad;
this.time = System.currentTimeMillis();
}
public CompassResult( final boolean hasResult, final boolean spin, final double rad )
{
this.hasResult = hasResult;
this.spin = spin;
this.rad = rad;
this.time = System.currentTimeMillis();
}
public boolean isValidResult() {
return this.hasResult;
}
public boolean isValidResult()
{
return this.hasResult;
}
public boolean isSpin() {
return this.spin;
}
public boolean isSpin()
{
return this.spin;
}
public double getRad() {
return this.rad;
}
public double getRad()
{
return this.rad;
}
boolean isRequested() {
return this.requested;
}
boolean isRequested()
{
return this.requested;
}
void setRequested(final boolean requested) {
this.requested = requested;
}
void setRequested( final boolean requested )
{
this.requested = requested;
}
long getTime()
{
return this.time;
}
long getTime() {
return this.time;
}
}