From b92e634e5cba1bb8b14d0d1e941281d5aadf7847 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Fri, 8 Nov 2013 20:54:21 +0100 Subject: [PATCH] Use static import. --- src/main/java/net/pterodactylus/sone/text/SonePart.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.7.4