From 3c8140ab4b39922f92682910ce24de77fd512db4 Mon Sep 17 00:00:00 2001 From: Deepanshu Gupta Date: Thu, 2 Oct 2014 11:45:07 -0700 Subject: [PATCH] Minor style changes. Addressing code review comments on previous change: 171804201dd Change-Id: I2c9e0ce35e755c23d8292749828d15a87109d6dc --- .../bridge/src/android/content/res/BridgeTypedArray.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/layoutlib/bridge/src/android/content/res/BridgeTypedArray.java b/tools/layoutlib/bridge/src/android/content/res/BridgeTypedArray.java index 4a6a43427518b..28a109dec398a 100644 --- a/tools/layoutlib/bridge/src/android/content/res/BridgeTypedArray.java +++ b/tools/layoutlib/bridge/src/android/content/res/BridgeTypedArray.java @@ -159,7 +159,7 @@ public final class BridgeTypedArray extends TypedArray { return null; } // As unfortunate as it is, it's possible to use enums with all attribute formats, - // not just integers/enums. So, we need to search the enums always. In case, + // not just integers/enums. So, we need to search the enums always. In case // enums are used, the returned value is an integer. Integer v = resolveEnumAttribute(index); return v == null ? mResourceData[index].getValue() : String.valueOf((int) v); @@ -197,7 +197,7 @@ public final class BridgeTypedArray extends TypedArray { } } catch (NumberFormatException e) { Bridge.getLog().warning(LayoutLog.TAG_RESOURCES_FORMAT, - String.format("\"%s\" in attribute \"%2$s\" is not a valid integer", + String.format("\"%1$s\" in attribute \"%2$s\" is not a valid integer", s, mNames[index]), null); return defValue; @@ -221,7 +221,7 @@ public final class BridgeTypedArray extends TypedArray { } } catch (NumberFormatException e) { Bridge.getLog().warning(LayoutLog.TAG_RESOURCES_FORMAT, - String.format("\"%s\" in attribute \"%2$s\" cannot be converted to float.", + String.format("\"%1$s\" in attribute \"%2$s\" cannot be converted to float.", s, mNames[index]), null); }