|
|
@@ -268,9 +268,10 @@ public class UsageLog extends BufferedLogable implements Serializable {
|
|
|
if (strArray.length == 9) {
|
|
|
this.time = Long.parseLong(strArray[0]);
|
|
|
this.ip = strArray[1];
|
|
|
- if (!strArray[2].equals("null"))
|
|
|
+ if (!"null".equals(strArray[2]))
|
|
|
this.enUU = Long.parseLong(strArray[2]);
|
|
|
- this.userUU = Long.parseLong(strArray[3]);
|
|
|
+ if (!"null".equals(strArray[3]))
|
|
|
+ this.userUU = Long.parseLong(strArray[3]);
|
|
|
this.title = strArray[4];
|
|
|
this.message = strArray[5];
|
|
|
this.detail = StringUtils.hasText(strArray[6]) ? strArray[6] : null;
|