aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzzhongwei2012-12-11 00:23:09 (EST)
committerzzhongwei2012-12-11 00:23:09 (EST)
commit364f03093b33684ba178bc5c69bb8183226abcdd (patch)
treeccb3cfd784bf473eacd8e0d82087e8f45ec91110
parentcd6275e16436395e91a3f5e904a3350c9a97306e (diff)
downloadorg.eclipse.pdt-364f03093b33684ba178bc5c69bb8183226abcdd.zip
org.eclipse.pdt-364f03093b33684ba178bc5c69bb8183226abcdd.tar.gz
org.eclipse.pdt-364f03093b33684ba178bc5c69bb8183226abcdd.tar.bz2
remove unused code
-rw-r--r--plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/editor/contentassist/PHPCompletionProposalCollector.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/editor/contentassist/PHPCompletionProposalCollector.java b/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/editor/contentassist/PHPCompletionProposalCollector.java
index 014e400..8dbeb04 100644
--- a/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/editor/contentassist/PHPCompletionProposalCollector.java
+++ b/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/editor/contentassist/PHPCompletionProposalCollector.java
@@ -238,12 +238,9 @@ public class PHPCompletionProposalCollector extends
String prefix = "";
try {
int flags = type.getFlags();
- IType currentNamespace = PHPModelUtils.getCurrentNamespace(
- getSourceModule(), getReplacementOffset());
IType namespace = PHPModelUtils.getCurrentNamespace(type);
if (!PHPFlags.isNamespace(flags)
&& namespace == null
- // && currentNamespace != null
&& !ProjectOptions.getPhpVersion(
PHPCompletionProposalCollector.this
.getScriptProject().getProject())