Skip to main content
summaryrefslogtreecommitdiffstats
path: root/codan
diff options
context:
space:
mode:
authorAlena Laskavaia2010-05-17 23:09:23 -0400
committerAlena Laskavaia2010-05-17 23:09:23 -0400
commit50b61f0c37926b9b828d6a7b417a7fb3d0bb9aa6 (patch)
treef84e5078e3707612df4ce230fab8dfd30cbd9b7a /codan
parentc9d0b338cba78581e5b01a2d1e25f925952124d3 (diff)
downloadorg.eclipse.cdt-50b61f0c37926b9b828d6a7b417a7fb3d0bb9aa6.tar.gz
org.eclipse.cdt-50b61f0c37926b9b828d6a7b417a7fb3d0bb9aa6.tar.xz
org.eclipse.cdt-50b61f0c37926b9b828d6a7b417a7fb3d0bb9aa6.zip
Fixed refactoring left-overs
Diffstat (limited to 'codan')
-rw-r--r--codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/dialogs/ParametersComposite.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/dialogs/ParametersComposite.java b/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/dialogs/ParametersComposite.java
index cf1f84b9d7..68ef2c5845 100644
--- a/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/dialogs/ParametersComposite.java
+++ b/codan/org.eclipse.cdt.codan.ui/src/org/eclipse/cdt/codan/internal/ui/dialogs/ParametersComposite.java
@@ -15,6 +15,7 @@ import java.io.File;
import org.eclipse.cdt.codan.core.model.IProblem;
import org.eclipse.cdt.codan.core.model.IProblemWorkingCopy;
import org.eclipse.cdt.codan.core.param.IProblemPreference;
+import org.eclipse.cdt.codan.core.param.IProblemPreferenceCompositeDescriptor;
import org.eclipse.cdt.codan.internal.ui.CodanUIMessages;
import org.eclipse.jface.preference.BooleanFieldEditor;
import org.eclipse.jface.preference.FieldEditorPreferencePage;
@@ -77,7 +78,7 @@ public class ParametersComposite extends Composite {
break;
}
case TYPE_MAP: {
- IProblemPreference[] childrenDescriptor = info
+ IProblemPreference[] childrenDescriptor = ((IProblemPreferenceCompositeDescriptor) info)
.getChildDescriptors();
for (int i = 0; i < childrenDescriptor.length; i++) {
IProblemPreference desc = childrenDescriptor[i];
@@ -127,7 +128,7 @@ public class ParametersComposite extends Composite {
break;
case TYPE_MAP:
case TYPE_LIST:
- IProblemPreference[] childrenDescriptor = desc
+ IProblemPreference[] childrenDescriptor = ((IProblemPreferenceCompositeDescriptor) desc)
.getChildDescriptors();
for (int i = 0; i < childrenDescriptor.length; i++) {
IProblemPreference chi = childrenDescriptor[i];
@@ -159,7 +160,7 @@ public class ParametersComposite extends Composite {
break;
case TYPE_MAP:
case TYPE_LIST: {
- IProblemPreference[] childrenDescriptor = desc
+ IProblemPreference[] childrenDescriptor = ((IProblemPreferenceCompositeDescriptor) desc)
.getChildDescriptors();
for (int i = 0; i < childrenDescriptor.length; i++) {
IProblemPreference chi = childrenDescriptor[i];

Back to the top