Tidy code.

This commit is contained in:
MattBDev
2016-05-12 17:09:35 -04:00
parent 7947c3fdd7
commit 0958b57e46
54 changed files with 167 additions and 181 deletions

View File

@ -704,7 +704,7 @@ public class FancyMessage implements JsonRepresentedObject, Cloneable, Iterable<
try {
writeJson(json);
json.close();
} catch (IOException e) {
} catch (IOException ignored) {
throw new RuntimeException("invalid message");
}
this.jsonString = string.toString();

View File

@ -284,7 +284,7 @@ public abstract class TextualComponent implements Cloneable {
@Override
@SuppressWarnings("serial")
public Map<String, Object> serialize() {
return new java.util.HashMap<String, Object>() {
return new HashMap<String, Object>() {
{
put("key", getKey());
for (Map.Entry<String, String> valEntry : getValue().entrySet()) {