Refactor Member Ignoring Method smell in IconPack class
@@ -282,14 +282,12 @@ public class IconPack {
return result;
}
- private long generateSeed(String packageName) {
+ private static long generateSeed(String packageName) {
long seed = 0;
-
for (int i = 0; i < packageName.length(); i++) {
char ch = packageName.charAt(i);
seed = seed + (long) ch;
}
-
return seed;
}
