|
|
@ -50,7 +50,7 @@ public class RobotModel extends AlphaCellModel { |
|
|
|
|
|
|
|
|
|
|
|
try { |
|
|
|
try { |
|
|
|
String result = HttpToolbox.get(url); |
|
|
|
String result = HttpToolbox.get(url); |
|
|
|
if(StringUtils.isEmpty(result)){ |
|
|
|
if (StringUtils.isEmpty(result)) { |
|
|
|
return StringUtils.EMPTY; |
|
|
|
return StringUtils.EMPTY; |
|
|
|
} |
|
|
|
} |
|
|
|
JSONObject jsonObject = new JSONObject(result); |
|
|
|
JSONObject jsonObject = new JSONObject(result); |
|
|
@ -94,7 +94,7 @@ public class RobotModel extends AlphaCellModel { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public final boolean equals(Object obj) { |
|
|
|
public final boolean equals(Object obj) { |
|
|
|
return obj instanceof RobotModel |
|
|
|
return obj instanceof RobotModel |
|
|
|
&& AssistUtils.equals(this.title, ((RobotModel)obj).title) |
|
|
|
&& AssistUtils.equals(this.title, ((RobotModel) obj).title) |
|
|
|
&& AssistUtils.equals(this.content, ((RobotModel) obj).content); |
|
|
|
&& AssistUtils.equals(this.content, ((RobotModel) obj).content); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|