diff options
author | Tor Norbye <tnorbye@google.com> | 2012-03-08 09:05:15 -0800 |
---|---|---|
committer | Tor Norbye <tnorbye@google.com> | 2012-03-08 09:05:15 -0800 |
commit | fde289781660b1399d353efaf8bc12a9eac38f38 (patch) | |
tree | 61048f94565dfda1c82740f70c0bb0458fcf73c6 /eclipse | |
parent | 78d0178f842310d46eb6d14651ff75126e0cf744 (diff) | |
download | sdk-fde289781660b1399d353efaf8bc12a9eac38f38.zip sdk-fde289781660b1399d353efaf8bc12a9eac38f38.tar.gz sdk-fde289781660b1399d353efaf8bc12a9eac38f38.tar.bz2 |
Minor reorder in list modification
Change-Id: I00314caf61f5068774d5e3b0bb487ce982890ece
Diffstat (limited to 'eclipse')
-rw-r--r-- | eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/PreCompilerBuilder.java | 5 |
1 files changed, 3 insertions, 2 deletions
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<SourceProcessor> mProcessors = new ArrayList<SourceProcessor>(); + private final List<SourceProcessor> mProcessors = new ArrayList<SourceProcessor>(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()"); } |