Skip to content
This repository was archived by the owner on Feb 25, 2024. It is now read-only.

Commit ba9e16b

Browse files
committed
Added missing type-variable declarations
1 parent 90483c7 commit ba9e16b

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/main/java/de/kaleidox/vban/packet/VBANPacket.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public byte[] getBytes() {
4242
return appendByteArray(head.getBytes(), bytes);
4343
}
4444

45-
public static class Factory<T> implements de.kaleidox.util.model.Factory<VBANPacket> {
45+
public static class Factory<T> implements de.kaleidox.util.model.Factory<VBANPacket<T>> {
4646
private final VBANPacketHead.Factory<T> headFactory;
4747

4848
private Factory(VBANPacketHead.Factory<T> headFactory) {
@@ -63,7 +63,7 @@ public static <T> Builder<T> builder(Protocol<T> protocol) {
6363
return new Builder<>(protocol);
6464
}
6565

66-
public static class Builder<T> implements de.kaleidox.util.model.Builder<Factory> {
66+
public static class Builder<T> implements de.kaleidox.util.model.Builder<Factory<T>> {
6767
private final Protocol<T> protocol;
6868
private VBANPacketHead.Factory<T> headFactory;
6969

src/main/java/de/kaleidox/vban/packet/VBANPacketHead.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public static Factory<ByteArray> defaultServiceProtocolFactory() throws Unsuppor
111111
return builder(Protocol.SERVICE).build();
112112
}
113113

114-
public static class Factory<T> implements de.kaleidox.util.model.Factory<VBANPacketHead> {
114+
public static class Factory<T> implements de.kaleidox.util.model.Factory<VBANPacketHead<T>> {
115115
private final int protocol;
116116
private final int sampleRate;
117117
private final int samples;

0 commit comments

Comments
 (0)