From 186495b7449f29a3f1eb30250998d9f2bd6f8996 Mon Sep 17 00:00:00 2001 From: Uwe Stieber Date: Tue, 6 Feb 2007 15:59:40 +0000 Subject: [PATCH] [fix] Inconsistent API usage led to internal control variable not set correctly --- .../rse/internal/model/SystemNewConnectionPromptObject.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rse/plugins/org.eclipse.rse.ui/model/org/eclipse/rse/internal/model/SystemNewConnectionPromptObject.java b/rse/plugins/org.eclipse.rse.ui/model/org/eclipse/rse/internal/model/SystemNewConnectionPromptObject.java index d3fac4ff35f..cef44303554 100644 --- a/rse/plugins/org.eclipse.rse.ui/model/org/eclipse/rse/internal/model/SystemNewConnectionPromptObject.java +++ b/rse/plugins/org.eclipse.rse.ui/model/org/eclipse/rse/internal/model/SystemNewConnectionPromptObject.java @@ -56,7 +56,7 @@ public class SystemNewConnectionPromptObject */ public SystemNewConnectionPromptObject() { - systemTypes = RSECorePlugin.getDefault().getRegistry().getSystemTypeNames(); + setSystemTypes(RSECorePlugin.getDefault().getRegistry().getSystemTypeNames()); isRootPrompt = true; } /** @@ -65,7 +65,7 @@ public class SystemNewConnectionPromptObject public SystemNewConnectionPromptObject(SystemNewConnectionPromptObject parent, String systemType) { this.parent = parent; - this.systemTypes = new String[] {systemType}; + setSystemTypes(new String[] {systemType}); } // ----------------------------------------------------