Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2018-04-24 07:47:39 +0000
committerAlexander Kurtakov2018-04-24 07:47:39 +0000
commitc9a19bb5ca5c2accfabade6b8f87e40db492ebfa (patch)
tree2f0e933759ec76b0c3b4605c970b4af749237f3a /org.eclipse.debug.examples.core/src/org/eclipse/debug/examples/core/pda/model/PDAValue.java
parent980507919dacd03c52bf0dfdadfe0f72567d368e (diff)
downloadeclipse.platform.debug-c9a19bb5ca5c2accfabade6b8f87e40db492ebfa.tar.gz
eclipse.platform.debug-c9a19bb5ca5c2accfabade6b8f87e40db492ebfa.tar.xz
eclipse.platform.debug-c9a19bb5ca5c2accfabade6b8f87e40db492ebfa.zip
Move debug.examples.core BREE to Java 1.8.
Remove useless non-javadoc comments and some lambda conversion. Change-Id: Ied79c9f7009064acc93b8df0eddf8e505d7554e4 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'org.eclipse.debug.examples.core/src/org/eclipse/debug/examples/core/pda/model/PDAValue.java')
-rw-r--r--org.eclipse.debug.examples.core/src/org/eclipse/debug/examples/core/pda/model/PDAValue.java31
1 files changed, 7 insertions, 24 deletions
diff --git a/org.eclipse.debug.examples.core/src/org/eclipse/debug/examples/core/pda/model/PDAValue.java b/org.eclipse.debug.examples.core/src/org/eclipse/debug/examples/core/pda/model/PDAValue.java
index 6559f2ccd..f18cf1cd6 100644
--- a/org.eclipse.debug.examples.core/src/org/eclipse/debug/examples/core/pda/model/PDAValue.java
+++ b/org.eclipse.debug.examples.core/src/org/eclipse/debug/examples/core/pda/model/PDAValue.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2005, 2013 IBM Corporation and others.
+ * Copyright (c) 2005, 2018 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
@@ -32,9 +32,6 @@ public class PDAValue extends PDADebugElement implements IValue {
fValue = value;
}
- /* (non-Javadoc)
- * @see org.eclipse.debug.core.model.IValue#getReferenceTypeName()
- */
@Override
public String getReferenceTypeName() throws DebugException {
try {
@@ -44,23 +41,17 @@ public class PDAValue extends PDADebugElement implements IValue {
}
return "integer"; //$NON-NLS-1$
}
- /* (non-Javadoc)
- * @see org.eclipse.debug.core.model.IValue#getValueString()
- */
+
@Override
public String getValueString() throws DebugException {
return fValue;
}
- /* (non-Javadoc)
- * @see org.eclipse.debug.core.model.IValue#isAllocated()
- */
+
@Override
public boolean isAllocated() throws DebugException {
return true;
}
- /* (non-Javadoc)
- * @see org.eclipse.debug.core.model.IValue#getVariables()
- */
+
@Override
public IVariable[] getVariables() throws DebugException {
PDAStackFrame frame = fVariable.getStackFrame();
@@ -73,9 +64,7 @@ public class PDAValue extends PDADebugElement implements IValue {
}
return children;
}
- /* (non-Javadoc)
- * @see org.eclipse.debug.core.model.IValue#hasVariables()
- */
+
@Override
public boolean hasVariables() throws DebugException {
if (getVariables().length != 0) {
@@ -86,18 +75,12 @@ public class PDAValue extends PDADebugElement implements IValue {
// that it has children even if logical structures are not turned on.
return fValue.split("\\W+").length > 1; //$NON-NLS-1$
}
- /*
- * (non-Javadoc)
- * @see java.lang.Object#equals(java.lang.Object)
- */
+
@Override
public boolean equals(Object obj) {
return obj instanceof PDAValue && ((PDAValue)obj).fValue.equals(fValue);
}
- /*
- * (non-Javadoc)
- * @see java.lang.Object#hashCode()
- */
+
@Override
public int hashCode() {
return fValue.hashCode();

Back to the top