diff --git a/lib/mosaic-objects/src/main/java/org/eclipse/mosaic/lib/objects/v2x/DuplicatableMessage.java b/lib/mosaic-objects/src/main/java/org/eclipse/mosaic/lib/objects/v2x/DuplicatableMessage.java index 5a52c25f4..ec791776e 100644 --- a/lib/mosaic-objects/src/main/java/org/eclipse/mosaic/lib/objects/v2x/DuplicatableMessage.java +++ b/lib/mosaic-objects/src/main/java/org/eclipse/mosaic/lib/objects/v2x/DuplicatableMessage.java @@ -19,7 +19,7 @@ * A message that can duplicate itself. * @param a class that extends {@link org.eclipse.mosaic.lib.objects.v2x.V2xMessage} */ -public interface DuplicatableMessage> { +public interface DuplicatableMessage { /** * Creates a copy of the V2xMessage. diff --git a/lib/mosaic-objects/src/main/java/org/eclipse/mosaic/lib/objects/v2x/GenericV2xMessage.java b/lib/mosaic-objects/src/main/java/org/eclipse/mosaic/lib/objects/v2x/GenericV2xMessage.java index dc5fd9a7e..c7b6c22d1 100644 --- a/lib/mosaic-objects/src/main/java/org/eclipse/mosaic/lib/objects/v2x/GenericV2xMessage.java +++ b/lib/mosaic-objects/src/main/java/org/eclipse/mosaic/lib/objects/v2x/GenericV2xMessage.java @@ -23,7 +23,7 @@ /** * This {@link V2xMessage} implementation can be used for simple message exchange between entities. */ -public final class GenericV2xMessage extends V2xMessage implements DuplicatableMessage { +public final class GenericV2xMessage extends V2xMessage implements DuplicatableMessage { private static final long serialVersionUID = 1L;