OSDN Git Service

Replace infinite loop with foreach.
authorDeepanshu Gupta <deepanshu@google.com>
Tue, 30 Jun 2015 21:30:55 +0000 (14:30 -0700)
committerDeepanshu Gupta <deepanshu@google.com>
Tue, 30 Jun 2015 22:36:34 +0000 (15:36 -0700)
commitc77f9c76e4142db8dd76a28ad99b8f0395b82eba
treeb9a1629b9288ab652e4bbb01b3928bfe9c97f18a
parent5d1eaf4a197130f561b16c4ed083cf016b20ab92
Replace infinite loop with foreach.

A method call exists to find all inner classes. Use it instead of
manually enumerating the possibilities and checking.

Also fix a typo.

Change-Id: I2af678e92ea0c11b53617b247d8cda324391c185
tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/AppCompatActionBar.java
tools/layoutlib/create/src/com/android/tools/layoutlib/create/AsmGenerator.java