mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-21 12:32:29 +00:00
format all the things!
This commit is contained in:
1 parent
54ec75fd3d
commit
b36c6dade6
377 files changed
+6833
-6772
No files matched your search
@@ -13,7 +13,7 @@ import java.util.Map;
|
||||
public class DataByteArray implements IData {
|
||||
private final byte[] data;
|
||||
private final boolean immutable;
|
||||
|
||||
|
||||
public DataByteArray(byte[] data, boolean immutable) {
|
||||
this.data = data;
|
||||
this.immutable = immutable;
|
||||
@@ -117,7 +117,7 @@ public class DataByteArray implements IData {
|
||||
first = false;
|
||||
else
|
||||
result.append(", ");
|
||||
|
||||
|
||||
result.append(value);
|
||||
}
|
||||
result.append("] as byte[]");
|
||||
@@ -214,7 +214,7 @@ public class DataByteArray implements IData {
|
||||
public <T> T convert(IDataConverter<T> converter) {
|
||||
return converter.fromByteArray(this.data);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return asString() + " as byte[]";
|
||||
|
||||
Reference in new issue
Block a user