Refactoring

This commit is contained in:
Acrobot 2013-02-10 15:30:05 +01:00
parent 87c6ea8fc8
commit 165f3f204a
1 changed files with 5 additions and 1 deletions

View File

@ -28,7 +28,11 @@ public class uName {
}
public static String stripName(String name) {
return (name.length() > 15 ? name.substring(0, 15) : name);
if (name.length() > 15) {
return name.substring(0, 15);
}
return name;
}
public static String shortenName(Player player) {