Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry BLIND2019-06-21 05:07:23 -0400
committerThierry BLIND2019-06-21 05:07:23 -0400
commit0b207c853502c9cbf0d059fb95b6a361a7a1b201 (patch)
treecccf3cd7b3250fa541bc22966aae7a107b31ff41
parent7af02399ed17fbe5f8e17422370bf0a9e317fa62 (diff)
downloadorg.eclipse.pdt-0b207c853502c9cbf0d059fb95b6a361a7a1b201.tar.gz
org.eclipse.pdt-0b207c853502c9cbf0d059fb95b6a361a7a1b201.tar.xz
org.eclipse.pdt-0b207c853502c9cbf0d059fb95b6a361a7a1b201.zip
No bug - fix some SpotBugs reports
Signed-off-by: Thierry BLIND <thierryblind@msn.com>
-rw-r--r--plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/compiler/ast/validator/VariableValidator.java2
-rw-r--r--plugins/org.eclipse.php.debug.core/src/org/eclipse/php/internal/debug/core/xdebug/dbgp/model/AbstractDBGpValue.java2
2 files changed, 1 insertions, 3 deletions
diff --git a/plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/compiler/ast/validator/VariableValidator.java b/plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/compiler/ast/validator/VariableValidator.java
index b908e75b4..3ac3835f9 100644
--- a/plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/compiler/ast/validator/VariableValidator.java
+++ b/plugins/org.eclipse.php.core/src/org/eclipse/php/internal/core/compiler/ast/validator/VariableValidator.java
@@ -756,8 +756,6 @@ public class VariableValidator implements IValidatorExtension {
if (global.equals(name)) {
return true;
}
- context.equals(null);
-
}
return false;
}
diff --git a/plugins/org.eclipse.php.debug.core/src/org/eclipse/php/internal/debug/core/xdebug/dbgp/model/AbstractDBGpValue.java b/plugins/org.eclipse.php.debug.core/src/org/eclipse/php/internal/debug/core/xdebug/dbgp/model/AbstractDBGpValue.java
index 0880c23c5..125c46173 100644
--- a/plugins/org.eclipse.php.debug.core/src/org/eclipse/php/internal/debug/core/xdebug/dbgp/model/AbstractDBGpValue.java
+++ b/plugins/org.eclipse.php.debug.core/src/org/eclipse/php/internal/debug/core/xdebug/dbgp/model/AbstractDBGpValue.java
@@ -33,7 +33,7 @@ public abstract class AbstractDBGpValue extends DBGpElement implements IValue, I
*/
protected class DBGpValueData {
- private byte[] fValueBytes = null;
+ private byte[] fValueBytes = null; // XXX: never set
private String fValueString;
protected DBGpValueData(Node property) {

Back to the top