Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvrubezhny2014-01-29 14:34:18 +0000
committervrubezhny2014-01-29 14:34:18 +0000
commitcdef9cb517ebb5befcdee683ced8d38f69b17d0d (patch)
treedf454e44e35ffa7ee820c03acf6fa956fba58c3e
parentcc74dd7e2d9e712e910430369eb6bb092d4a6a4a (diff)
downloadwebtools.jsdt.core-R3_5_maintenance.tar.gz
webtools.jsdt.core-R3_5_maintenance.tar.xz
webtools.jsdt.core-R3_5_maintenance.zip
[hotbug] @regression: DefaultInferenceProvider is always enabledv201401291437R3_5_2R3_5_maintenance
DefaultInferrenceProvider is not added to InferrenceManager in case of InferrenceProvider.ONLY_THIS option is used. The fix for Bug 419871 is packported to R3_5_maintenance branch Signed-off-by: vrubezhny <vrubezhny@exadel.com>
-rw-r--r--bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/infer/InferrenceManager.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/infer/InferrenceManager.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/infer/InferrenceManager.java
index abf69fe5..93d827a1 100644
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/infer/InferrenceManager.java
+++ b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/core/infer/InferrenceManager.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2005, 2013 IBM Corporation and others.
+ * Copyright (c) 2005, 2014 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -109,7 +109,7 @@ public class InferrenceManager {
case InferrenceProvider.ONLY_THIS:
proposedProviders.clear();
- proposedProviders.add(inferenceProviders[0]);
+// proposedProviders.add(inferenceProviders[0]);
proposedProviders.add(inferenceProviders[i]);
return (InferrenceProvider [] )proposedProviders.toArray(new InferrenceProvider[proposedProviders.size()]);

Back to the top