From c91ef3822e1043a9f7c71a442697f5fc1c099d95 Mon Sep 17 00:00:00 2001 From: Connor Tumbleson Date: Thu, 25 Dec 2014 12:21:30 -0600 Subject: [PATCH] [skip] code style updates --- .../src/main/java/brut/androlib/ApkOptions.java | 3 ++- .../brut/androlib/res/data/value/ResReferenceValue.java | 7 ++----- 2 files changed, 4 insertions(+), 6 deletions(-) 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 {