Commit 2c5db0df authored by Nico Mack's avatar Nico Mack

Fixed minor syntax issues

parent b8f6cac9
......@@ -35,9 +35,9 @@ public class InfoMarker<T> extends TetherableMarker implements InformationReceiv
// ---------------------------------------------------------------------------
public InfoMarker(InfoMarker original) {
public InfoMarker(InfoMarker<T> original) {
super(original);
this.information = (T) original.information;
this.information = original.information;
this.variable = (original.variable != null) ? original.variable.clone() : null;
}
......@@ -55,7 +55,7 @@ public class InfoMarker<T> extends TetherableMarker implements InformationReceiv
@Override
public InfoMarker<T> clone() {
return new InfoMarker<T>(this);
return new InfoMarker<>(this);
}
// ---------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment