From: David ‘Bombe’ Roden Date: Fri, 8 Nov 2013 19:54:21 +0000 (+0100) Subject: Use static import. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=b92e634e5cba1bb8b14d0d1e941281d5aadf7847;p=Sone.git Use static import. --- diff --git a/src/main/java/net/pterodactylus/sone/text/SonePart.java b/src/main/java/net/pterodactylus/sone/text/SonePart.java index 602ff05..6e676f7 100644 --- a/src/main/java/net/pterodactylus/sone/text/SonePart.java +++ b/src/main/java/net/pterodactylus/sone/text/SonePart.java @@ -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