Rework the text parser.
[Sone.git] / src / main / java / net / pterodactylus / sone / text / PlainTextPart.java
index 95c8044..5b717c5 100644 (file)
@@ -20,8 +20,6 @@ package net.pterodactylus.sone.text;
 import static com.google.common.base.Objects.equal;
 import static java.lang.String.format;
 
-import com.google.common.base.Objects;
-
 /**
  * {@link Part} implementation that holds a single piece of text.
  *
@@ -52,6 +50,16 @@ public class PlainTextPart implements Part {
        }
 
        @Override
+       public boolean isPlainText() {
+               return true;
+       }
+
+       @Override
+       public boolean isFreenetLink() {
+               return false;
+       }
+
+       @Override
        public int hashCode() {
                return text.hashCode();
        }