pedantic fmting things
This commit is contained in:
parent
5a8f8317c9
commit
45242592a5
1 changed files with 3 additions and 7 deletions
|
@ -16,8 +16,7 @@ public abstract class Iota {
|
||||||
this.payload = payload;
|
this.payload = payload;
|
||||||
}
|
}
|
||||||
|
|
||||||
public @NotNull
|
public @NotNull IotaType<?> getType() {
|
||||||
IotaType<?> getType() {
|
|
||||||
return this.type;
|
return this.type;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -27,18 +26,15 @@ public abstract class Iota {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Compare this to another object, within a tolerance.
|
* Compare this to another object, within a tolerance.
|
||||||
* <p>
|
|
||||||
* Don't call this directly; use the {@link Iota#tolerates} static method.
|
|
||||||
*/
|
*/
|
||||||
abstract public boolean toleratesOther(Iota that);
|
abstract protected boolean toleratesOther(Iota that);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Serialize this under the {@code data} tag.
|
* Serialize this under the {@code data} tag.
|
||||||
* <p>
|
* <p>
|
||||||
* You probably don't want to call this directly; use {@link HexIotaTypes#serialize}.
|
* You probably don't want to call this directly; use {@link HexIotaTypes#serialize}.
|
||||||
*/
|
*/
|
||||||
abstract public @NotNull
|
abstract public @NotNull Tag serialize();
|
||||||
Tag serialize();
|
|
||||||
|
|
||||||
public Component display() {
|
public Component display() {
|
||||||
return this.type.display(this.serialize());
|
return this.type.display(this.serialize());
|
||||||
|
|
Loading…
Reference in a new issue