Use static import.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 8 Nov 2013 19:54:21 +0000 (20:54 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 28 Feb 2014 21:25:56 +0000 (22:25 +0100)
src/main/java/net/pterodactylus/sone/text/SonePart.java

index 602ff05..6e676f7 100644 (file)
@@ -19,6 +19,7 @@ package net.pterodactylus.sone.text;
 
 import static com.google.common.base.Objects.equal;
 import static com.google.common.base.Objects.hashCode;
+import static net.pterodactylus.sone.template.SoneAccessor.getNiceName;
 
 import net.pterodactylus.sone.data.Sone;
 import net.pterodactylus.sone.template.SoneAccessor;
@@ -64,7 +65,7 @@ public class SonePart implements Part {
 
        @Override
        public String getText() {
-               return SoneAccessor.getNiceName(sone);
+               return getNiceName(sone);
        }
 
        @Override