Skip to content

Commit

Permalink
resolving PR issues #2
Browse files Browse the repository at this point in the history
  • Loading branch information
iwillitried committed May 22, 2024
1 parent 5009c82 commit f70fecb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* A message that can duplicate itself.
* @param <T> a class that extends {@link org.eclipse.mosaic.lib.objects.v2x.V2xMessage}
*/
public interface DuplicatableMessage<T extends DuplicatableMessage<T>> {
public interface DuplicatableMessage<T extends V2xMessage> {

/**
* Creates a copy of the V2xMessage.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<GenericV2xMessage> {

private static final long serialVersionUID = 1L;

Expand Down

0 comments on commit f70fecb

Please sign in to comment.