From fde289781660b1399d353efaf8bc12a9eac38f38 Mon Sep 17 00:00:00 2001 From: Tor Norbye Date: Thu, 8 Mar 2012 09:05:15 -0800 Subject: Minor reorder in list modification Change-Id: I00314caf61f5068774d5e3b0bb487ce982890ece --- .../ide/eclipse/adt/internal/build/builders/PreCompilerBuilder.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'eclipse') diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/PreCompilerBuilder.java b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/PreCompilerBuilder.java index 63bc255..7639338 100644 --- a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/PreCompilerBuilder.java +++ b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/PreCompilerBuilder.java @@ -99,7 +99,7 @@ public class PreCompilerBuilder extends BaseBuilder { private boolean mMustCreateBuildConfig = false; private boolean mLastBuildConfigMode; - private final List mProcessors = new ArrayList(); + private final List mProcessors = new ArrayList(2); /** cache of the java package defined in the manifest */ private String mManifestPackage; @@ -634,10 +634,11 @@ public class PreCompilerBuilder extends BaseBuilder { // load the source processors SourceProcessor aidlProcessor = new AidlProcessor(javaProject, mGenFolder); - mProcessors.add(aidlProcessor); SourceProcessor renderScriptProcessor = new RenderScriptProcessor(javaProject, mGenFolder); + mProcessors.add(aidlProcessor); mProcessors.add(renderScriptProcessor); + } catch (Throwable throwable) { AdtPlugin.log(throwable, "Failed to finish PrecompilerBuilder#startupOnInitialize()"); } -- cgit v1.1