mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 17:05:26 +02:00
Made value classes final.
Change-Id: Id89306976e7458bd822d399c003ce027dc896c33
This commit is contained in:
parent
d1fd92013f
commit
61ac21daa0
3 changed files with 4 additions and 4 deletions
|
@ -22,7 +22,7 @@ import org.eclipse.cdt.internal.core.dom.parser.cpp.ICPPEvaluation;
|
|||
import org.eclipse.cdt.internal.core.dom.parser.cpp.semantics.EvalFixed;
|
||||
import org.eclipse.core.runtime.CoreException;
|
||||
|
||||
public class CStringValue implements IValue {
|
||||
public final class CStringValue implements IValue {
|
||||
private static final Map<Character, Character> escapeSequences;
|
||||
static {
|
||||
Map<Character, Character> map = new HashMap<Character, Character>();
|
||||
|
|
|
@ -30,9 +30,9 @@ import org.eclipse.cdt.internal.core.dom.parser.cpp.semantics.EvalInitList;
|
|||
import org.eclipse.cdt.internal.core.dom.parser.cpp.semantics.EvalUtil;
|
||||
import org.eclipse.core.runtime.CoreException;
|
||||
|
||||
public class CompositeValue implements IValue {
|
||||
public final class CompositeValue implements IValue {
|
||||
private final ICPPEvaluation evaluation;
|
||||
private final ICPPEvaluation[] values;
|
||||
private ICPPEvaluation evaluation;
|
||||
|
||||
public CompositeValue(ICPPEvaluation evaluation, ICPPEvaluation[] values) {
|
||||
this.evaluation = evaluation;
|
||||
|
|
|
@ -17,7 +17,7 @@ import org.eclipse.cdt.internal.core.dom.parser.cpp.ICPPEvaluation;
|
|||
import org.eclipse.cdt.internal.core.dom.parser.cpp.semantics.EvalFixed;
|
||||
import org.eclipse.core.runtime.CoreException;
|
||||
|
||||
public class FloatingPointValue implements IValue {
|
||||
public final class FloatingPointValue implements IValue {
|
||||
private final char[] fFixedValue;
|
||||
|
||||
private FloatingPointValue(char[] fixedValue) {
|
||||
|
|
Loading…
Add table
Reference in a new issue