Update toString() methods

This commit is contained in:
filoghost 2021-08-06 18:10:56 +02:00
parent 0a1f7998e9
commit 15f88dacb3
6 changed files with 25 additions and 14 deletions

View File

@ -87,16 +87,16 @@ public class DefaultVisibilitySettings implements VisibilitySettings {
visibilityByPlayer.clear();
}
@Override
public String toString() {
return "VisibilitySettings ["
+ "defaultVisibility=" + defaultVisibility
+ ", visibilityByPlayer=" + visibilityByPlayer
+ "]";
}
public V2VisibilityManagerAdapter getV2Adapter() {
return v2Adapter;
}
@Override
public String toString() {
return "DefaultVisibilitySettings{"
+ "defaultVisibility=" + defaultVisibility
+ ", visibilityByPlayer=" + visibilityByPlayer
+ "}";
}
}

View File

@ -219,7 +219,11 @@ public abstract class BaseHologram<T extends EditableHologramLine> extends BaseH
@Override
public String toString() {
return "Hologram [position=" + getBasePosition() + ", lines=" + lines + ", deleted=" + isDeleted() + "]";
return "Hologram{"
+ "position=" + getBasePosition()
+ ", lines=" + lines
+ ", deleted=" + isDeleted()
+ "}";
}
}

View File

@ -101,12 +101,12 @@ public class BaseHologramPosition {
@Override
public String toString() {
return "HologramPosition ["
return "HologramPosition{"
+ "world=" + world
+ ", x=" + x
+ ", y=" + y
+ ", z=" + z
+ "]";
+ "}";
}
}

View File

@ -79,7 +79,9 @@ public abstract class BaseItemLine extends BaseClickableLine {
@Override
public String toString() {
return "ItemLine [itemStack=" + itemStack + "]";
return "ItemLine{"
+ "itemStack=" + itemStack
+ "}";
}
}

View File

@ -43,7 +43,9 @@ public abstract class BaseTextLine extends BaseClickableLine {
@Override
public String toString() {
return "TextLine [text=" + text + "]";
return "TextLine{"
+ "text=" + text
+ "}";
}
}

View File

@ -46,7 +46,10 @@ public class InternalHologram extends BaseHologram<InternalHologramLine> {
@Override
public String toString() {
return "InternalHologram [name=" + name + ", super=" + super.toString() + "]";
return "InternalHologram{"
+ "name=" + name
+ ", super=" + super.toString()
+ "}";
}
}