From 1bd276f6f7ddce7959dc2e9e6f480d9be1e26fef Mon Sep 17 00:00:00 2001 From: Deepanshu Gupta Date: Wed, 30 Sep 2015 12:49:42 -0700 Subject: Don't break error string (easier grepping) Change-Id: If52097ba90481644707dd0323ec63ca3ddf0986b --- .../src/com/android/layoutlib/bridge/impl/LayoutParserWrapper.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tools/layoutlib') diff --git a/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/LayoutParserWrapper.java b/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/LayoutParserWrapper.java index 3d2a238..71e7fd2 100644 --- a/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/LayoutParserWrapper.java +++ b/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/LayoutParserWrapper.java @@ -176,8 +176,7 @@ public class LayoutParserWrapper implements XmlPullParser { if (mPeeked) { if (mAttributes == null) { if (mEventType != START_TAG) { - throw new IndexOutOfBoundsException("getAttributeValue() called when not at " + - "START_TAG."); + throw new IndexOutOfBoundsException("getAttributeValue() called when not at START_TAG."); } else { return null; } -- cgit v1.1