Skip to content

Commit

Permalink
Organize the code format
Browse files Browse the repository at this point in the history
  • Loading branch information
xunliu committed Jun 23, 2019
1 parent 05b75ad commit 437d108
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ public void onClusterEvent(String msg) {
String user = message.get("user");
String jsonSet = message.get("set");
Gson gson = new Gson();
Set<String> set = gson.fromJson(jsonSet, new TypeToken<Set<String>>() {
}.getType());
Set<String> set = gson.fromJson(jsonSet, new TypeToken<Set<String>>() {}.getType());

assertNotNull(set);
switch (message.clusterEvent) {
Expand Down

0 comments on commit 437d108

Please sign in to comment.