diff --git a/brut.apktool/apktool-lib/src/main/java/brut/androlib/ApkOptions.java b/brut.apktool/apktool-lib/src/main/java/brut/androlib/ApkOptions.java index 5fe33bb1..77eced97 100644 --- a/brut.apktool/apktool-lib/src/main/java/brut/androlib/ApkOptions.java +++ b/brut.apktool/apktool-lib/src/main/java/brut/androlib/ApkOptions.java @@ -1,4 +1,4 @@ -package brut.androlib; /** +/** * Copyright 2014 Ryszard Wiśniewski * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -13,6 +13,7 @@ package brut.androlib; /** * See the License for the specific language governing permissions and * limitations under the License. */ +package brut.androlib; public class ApkOptions { public boolean forceBuildAll = false; diff --git a/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/data/value/ResReferenceValue.java b/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/data/value/ResReferenceValue.java index d3726826..2cd41d43 100644 --- a/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/data/value/ResReferenceValue.java +++ b/brut.apktool/apktool-lib/src/main/java/brut/androlib/res/data/value/ResReferenceValue.java @@ -45,15 +45,12 @@ public class ResReferenceValue extends ResIntValue { } ResResSpec spec = getReferent(); - boolean newId = spec.hasDefaultResource() - && spec.getDefaultResource().getValue() instanceof ResIdValue; + boolean newId = spec.hasDefaultResource() && spec.getDefaultResource().getValue() instanceof ResIdValue; // generate the beginning to fix @android String mStart = (mTheme ? '?' : '@') + (newId ? "+" : ""); - return mStart - + spec.getFullName(mPackage, mTheme - && spec.getType().getName().equals("attr")); + return mStart + spec.getFullName(mPackage, mTheme && spec.getType().getName().equals("attr")); } public ResResSpec getReferent() throws AndrolibException {