explicit types to diamonds

This commit is contained in:
Anna.Kozlova
2016-08-08 16:41:19 +02:00
parent 21668f8479
commit 947fae191f
116 changed files with 634 additions and 634 deletions

View File

@@ -24,9 +24,9 @@ import java.util.List;
public class DataPoint {
private List<VarType> localVariables = new ArrayList<VarType>();
private List<VarType> localVariables = new ArrayList<>();
private ListStack<VarType> stack = new ListStack<VarType>();
private ListStack<VarType> stack = new ListStack<>();
public void setVariable(int index, VarType value) {
@@ -53,7 +53,7 @@ public class DataPoint {
public DataPoint copy() {
DataPoint point = new DataPoint();
point.setLocalVariables(new ArrayList<VarType>(localVariables));
point.setLocalVariables(new ArrayList<>(localVariables));
point.setStack(stack.clone());
return point;
}