Another batch of preemptive bugfixing

This commit is contained in:
ceikry
2021-07-26 07:33:07 -05:00
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, "|");