reformatted all src files (#141)

This commit is contained in:
YoungOnion
2022-09-17 05:08:02 -06:00
committed by GitHub
parent 3328bfcda2
commit 9011273229
1056 changed files with 88127 additions and 110597 deletions
+30 -38
View File
@@ -19,50 +19,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;
}
}