修改变量名

This commit is contained in:
czp 2018-01-19 14:47:53 +08:00
parent 2058d6333d
commit e242ce1997

View File

@ -11,7 +11,7 @@ import java.util.Optional;
public class DanMuMSGEntity { public class DanMuMSGEntity {
private static final Gson GSON = new Gson(); private static final Gson GSON = new Gson();
private static final Type LIST_STRING_TYPE = new TypeToken<List<String>>() { private static final Type STRING_LIST_TYPE = new TypeToken<List<String>>() {
}.getType(); }.getType();
/** /**
@ -149,6 +149,6 @@ public class DanMuMSGEntity {
//获得用户头衔 //获得用户头衔
public List<String> getUserTitles() { public List<String> getUserTitles() {
return GSON.fromJson(info.get(5), LIST_STRING_TYPE); return GSON.fromJson(info.get(5), STRING_LIST_TYPE);
} }
} }