Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Ferguson2007-11-08 12:08:17 +0000
committerAndrew Ferguson2007-11-08 12:08:17 +0000
commiteaadac7c66f3fdb9483ef226e408d058e95388ed (patch)
tree5e187cb4df0b198ed0f9409c0a60a902aff3898b /core/org.eclipse.cdt.core/templateengine
parenta5869144a899cd65f88cab037dd58280dbf408d7 (diff)
downloadorg.eclipse.cdt-eaadac7c66f3fdb9483ef226e408d058e95388ed.tar.gz
org.eclipse.cdt-eaadac7c66f3fdb9483ef226e408d058e95388ed.tar.xz
org.eclipse.cdt-eaadac7c66f3fdb9483ef226e408d058e95388ed.zip
fix page sequence problem, and add support for parameterless processes
Diffstat (limited to 'core/org.eclipse.cdt.core/templateengine')
-rw-r--r--core/org.eclipse.cdt.core/templateengine/org/eclipse/cdt/core/templateengine/process/ProcessRunner.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/org.eclipse.cdt.core/templateengine/org/eclipse/cdt/core/templateengine/process/ProcessRunner.java b/core/org.eclipse.cdt.core/templateengine/org/eclipse/cdt/core/templateengine/process/ProcessRunner.java
index 47c9cd9a726..19a2b6a1109 100644
--- a/core/org.eclipse.cdt.core/templateengine/org/eclipse/cdt/core/templateengine/process/ProcessRunner.java
+++ b/core/org.eclipse.cdt.core/templateengine/org/eclipse/cdt/core/templateengine/process/ProcessRunner.java
@@ -21,10 +21,10 @@ import org.eclipse.core.runtime.IStatus;
*/
public abstract class ProcessRunner {
- private ProcessParameter[] params;
+ private ProcessParameter[] params = new ProcessParameter[0];
void setProcessParameters(ProcessParameter[] params) {
- this.params = params;
+ this.params = params == null ? new ProcessParameter[0] : params;
}
/**

Back to the top