mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2025-02-07 16:02:36 +01:00
replace this
This commit is contained in:
parent
7311bd0e2d
commit
d094cf1673
@ -222,11 +222,11 @@ public class HarbleAPI {
|
|||||||
return revision;
|
return revision;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
public String getPath() {
|
||||||
public String toString() {
|
|
||||||
if (success) {
|
if (success) {
|
||||||
return fullPath;
|
return fullPath;
|
||||||
}
|
}
|
||||||
return "null";
|
return "null";
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -158,7 +158,7 @@ public class Extensions extends SubForm {
|
|||||||
.appendString(getHConnection().getDomain())
|
.appendString(getHConnection().getDomain())
|
||||||
.appendInt(getHConnection().getPort())
|
.appendInt(getHConnection().getPort())
|
||||||
.appendString(getHConnection().getHotelVersion())
|
.appendString(getHConnection().getHotelVersion())
|
||||||
.appendString(HarbleAPIFetcher.HARBLEAPI + "") // automatic .toString() and no additional nullpointerexception
|
.appendString(HarbleAPIFetcher.HARBLEAPI == null ? "null" : HarbleAPIFetcher.HARBLEAPI.getPath())
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -295,7 +295,7 @@ public class Extensions extends SubForm {
|
|||||||
.appendString(getHConnection().getDomain())
|
.appendString(getHConnection().getDomain())
|
||||||
.appendInt(getHConnection().getPort())
|
.appendInt(getHConnection().getPort())
|
||||||
.appendString(getHConnection().getHotelVersion())
|
.appendString(getHConnection().getHotelVersion())
|
||||||
.appendString(HarbleAPIFetcher.HARBLEAPI + "")
|
.appendString(HarbleAPIFetcher.HARBLEAPI == null ? "null" : HarbleAPIFetcher.HARBLEAPI.getPath())
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user