From fc814c50d893972f3ee3b8fd05a142d8ce88e4f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ryszard=20Wi=C5=9Bniewski?= Date: Mon, 9 May 2011 10:56:45 +0200 Subject: [PATCH] Removed some unused or obsolete imports and "implements" declarations. --- .../main/java/brut/androlib/res/data/value/ResBoolValue.java | 2 +- .../main/java/brut/androlib/res/data/value/ResDimenValue.java | 3 --- .../main/java/brut/androlib/res/data/value/ResEnumAttr.java | 2 -- .../main/java/brut/androlib/res/data/value/ResIntValue.java | 2 +- .../java/brut/androlib/res/data/value/ResStringValue.java | 4 +--- .../java/brut/androlib/res/decoder/AXmlResourceParser.java | 1 - 6 files changed, 3 insertions(+), 11 deletions(-) diff --git a/apktool-lib/src/main/java/brut/androlib/res/data/value/ResBoolValue.java b/apktool-lib/src/main/java/brut/androlib/res/data/value/ResBoolValue.java index 13afe32e..a2dd7b85 100644 --- a/apktool-lib/src/main/java/brut/androlib/res/data/value/ResBoolValue.java +++ b/apktool-lib/src/main/java/brut/androlib/res/data/value/ResBoolValue.java @@ -19,7 +19,7 @@ package brut.androlib.res.data.value; /** * @author Ryszard Wiśniewski */ -public class ResBoolValue extends ResScalarValue implements ResValuesXmlSerializable { +public class ResBoolValue extends ResScalarValue { private final boolean mValue; public ResBoolValue(boolean value, String rawValue) { diff --git a/apktool-lib/src/main/java/brut/androlib/res/data/value/ResDimenValue.java b/apktool-lib/src/main/java/brut/androlib/res/data/value/ResDimenValue.java index ceaca75b..0f95db7a 100644 --- a/apktool-lib/src/main/java/brut/androlib/res/data/value/ResDimenValue.java +++ b/apktool-lib/src/main/java/brut/androlib/res/data/value/ResDimenValue.java @@ -18,9 +18,6 @@ package brut.androlib.res.data.value; import android.util.TypedValue; import brut.androlib.AndrolibException; -import brut.androlib.res.data.ResResource; -import java.io.IOException; -import org.xmlpull.v1.XmlSerializer; /** * @author Ryszard Wiśniewski diff --git a/apktool-lib/src/main/java/brut/androlib/res/data/value/ResEnumAttr.java b/apktool-lib/src/main/java/brut/androlib/res/data/value/ResEnumAttr.java index 394fb5b3..bf550d3f 100644 --- a/apktool-lib/src/main/java/brut/androlib/res/data/value/ResEnumAttr.java +++ b/apktool-lib/src/main/java/brut/androlib/res/data/value/ResEnumAttr.java @@ -21,9 +21,7 @@ import brut.androlib.res.data.ResResource; import brut.util.Duo; import java.io.IOException; import java.util.HashMap; -import java.util.LinkedHashMap; import java.util.Map; -import java.util.Map.Entry; import org.xmlpull.v1.XmlSerializer; /** diff --git a/apktool-lib/src/main/java/brut/androlib/res/data/value/ResIntValue.java b/apktool-lib/src/main/java/brut/androlib/res/data/value/ResIntValue.java index 56ccbd45..47d74f57 100644 --- a/apktool-lib/src/main/java/brut/androlib/res/data/value/ResIntValue.java +++ b/apktool-lib/src/main/java/brut/androlib/res/data/value/ResIntValue.java @@ -21,7 +21,7 @@ import brut.androlib.AndrolibException; /** * @author Ryszard Wiśniewski */ -public class ResIntValue extends ResScalarValue implements ResValuesXmlSerializable { +public class ResIntValue extends ResScalarValue { protected final int mValue; public ResIntValue(int value, String rawValue) { diff --git a/apktool-lib/src/main/java/brut/androlib/res/data/value/ResStringValue.java b/apktool-lib/src/main/java/brut/androlib/res/data/value/ResStringValue.java index eb6a18f6..2ac87aa6 100644 --- a/apktool-lib/src/main/java/brut/androlib/res/data/value/ResStringValue.java +++ b/apktool-lib/src/main/java/brut/androlib/res/data/value/ResStringValue.java @@ -16,13 +16,11 @@ package brut.androlib.res.data.value; -import brut.androlib.res.AndrolibResources; /** * @author Ryszard Wiśniewski */ -public class ResStringValue extends ResScalarValue - implements ResValuesXmlSerializable { +public class ResStringValue extends ResScalarValue { public ResStringValue(String value) { this(value, "string"); diff --git a/apktool-lib/src/main/java/brut/androlib/res/decoder/AXmlResourceParser.java b/apktool-lib/src/main/java/brut/androlib/res/decoder/AXmlResourceParser.java index fea7132e..c31d4d3a 100644 --- a/apktool-lib/src/main/java/brut/androlib/res/decoder/AXmlResourceParser.java +++ b/apktool-lib/src/main/java/brut/androlib/res/decoder/AXmlResourceParser.java @@ -23,7 +23,6 @@ import java.io.Reader; import org.xmlpull.v1.XmlPullParserException; import android.util.TypedValue; import brut.androlib.AndrolibException; -import brut.androlib.res.AndrolibResources; import brut.util.ExtDataInput; import com.mindprod.ledatastream.LEDataInputStream; import java.util.logging.Level;