forked from 2009Scape/Server
Another batch of preemptive bugfixing
This commit is contained in:
parent
b151cb852b
commit
1b7c2914cb
19 changed files with 84 additions and 84 deletions
|
|
@ -102,6 +102,8 @@ public class UIDInfo {
|
|||
case 4:
|
||||
serial = ByteBufferUtils.getString(buffer);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -112,7 +114,7 @@ public class UIDInfo {
|
|||
* @return the string.
|
||||
*/
|
||||
private String parseFormat(String string) {
|
||||
if (string == null || string == "") {
|
||||
if (string == null || string.equals("")) {
|
||||
return null;
|
||||
}
|
||||
StringTokenizer token = new StringTokenizer(string, "|");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue