Declare potentially-static methods as static.
[Sone.git] / src / main / java / net / pterodactylus / sone / template / IdentityAccessor.java
index eec9347..4fbe74c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - IdentityAccessor.java - Copyright © 2010 David Roden
+ * Sone - IdentityAccessor.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
@@ -93,7 +93,7 @@ public class IdentityAccessor extends ReflectionAccessor {
         *            append to the nickname
         * @return The nickname with optional ID appendage
         */
-       private String getAbbreviatedNickname(Identity identity, int length) {
+       private static String getAbbreviatedNickname(Identity identity, int length) {
                return identity.getNickname() + ((length > 0) ? "@" + identity.getId().substring(0, length) : "");
        }