Skip to content

Commit 66cb28b

Browse files
author
mpocwier
committed
ResolvedExpression not implementing Named anymore
1 parent b707023 commit 66cb28b

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/java/org/tensorics/core/tree/domain/ResolvedExpression.java

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@
2424
import java.io.Serializable;
2525
import java.util.Collections;
2626
import java.util.List;
27-
import java.util.Objects;
28-
29-
import org.tensorics.core.commons.util.Named;
3027

3128
/**
3229
* An expression that needs no further processing. It contains already its own result, which can be simply retrieved by
@@ -35,7 +32,7 @@
3532
* @author kfuchsbe
3633
* @param <R> the type of the resulting value of the expression
3734
*/
38-
public final class ResolvedExpression<R> implements Expression<R>, Named, Serializable {
35+
public final class ResolvedExpression<R> implements Expression<R>, Serializable {
3936
private static final long serialVersionUID = 1L;
4037

4138
private final R value;
@@ -68,11 +65,6 @@ public String toString() {
6865
return "ResolvedExpression [value=" + value + "]";
6966
}
7067

71-
@Override
72-
public String name() {
73-
return Objects.toString(value);
74-
}
75-
7668
@Override
7769
public int hashCode() {
7870
final int prime = 31;

0 commit comments

Comments
 (0)