Declare potentially-static methods as static.
[Sone.git] / src / main / java / net / pterodactylus / sone / web / ajax / GetLikesAjaxPage.java
index 12a9e8d..293b4b0 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - GetLikesAjaxPage.java - Copyright © 2010 David Roden
+ * Sone - GetLikesAjaxPage.java - Copyright © 2010–2012 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
@@ -94,7 +94,7 @@ public class GetLikesAjaxPage extends JsonPage {
         *            The Sones to convert to an array
         * @return The Sones, sorted by name
         */
-       private JsonArray getSones(Set<Sone> sones) {
+       private static JsonArray getSones(Set<Sone> sones) {
                JsonArray soneArray = new JsonArray();
                List<Sone> sortedSones = new ArrayList<Sone>(sones);
                Collections.sort(sortedSones, Sone.NICE_NAME_COMPARATOR);