X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fdata%2FProfile.java;h=7d8a0bd2420442007b2f09703231bedf40b601a5;hb=b798049da3b4d4a58d5ff12314bc1022808171bc;hp=d3ce38e917c12d037ec4f33cb02c48c5d5c6ba06;hpb=62573c314957b1851f4fbe693b8746686caa940a;p=Sone.git diff --git a/src/main/java/net/pterodactylus/sone/data/Profile.java b/src/main/java/net/pterodactylus/sone/data/Profile.java index d3ce38e..7d8a0bd 100644 --- a/src/main/java/net/pterodactylus/sone/data/Profile.java +++ b/src/main/java/net/pterodactylus/sone/data/Profile.java @@ -1,5 +1,5 @@ /* - * Sone - Profile.java - Copyright © 2010–2016 David Roden + * Sone - Profile.java - Copyright © 2010–2019 David Roden * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -282,7 +282,7 @@ public class Profile implements Fingerprintable { */ @Nonnull public List getFields() { - return new ArrayList(fields); + return new ArrayList<>(fields); } /**