-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: replace create with constructors
- Loading branch information
Showing
14 changed files
with
73 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
kobuka-client/src/main/java/org/swisspush/kobuka/client/AdminClientConfigBuilder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,18 @@ | ||
package org.swisspush.kobuka.client; | ||
|
||
import org.swisspush.kobuka.client.base.BaseAdminClientConfigBuilder; | ||
import org.swisspush.kobuka.client.base.BaseCommonClientConfigBuilder; | ||
|
||
public class AdminClientConfigBuilder extends BaseAdminClientConfigBuilder<AdminClientConfigBuilder> { | ||
|
||
public AdminClientConfigBuilder() { | ||
} | ||
|
||
public AdminClientConfigBuilder(BaseAdminClientConfigBuilder<?> parent) { | ||
copyFrom(parent); | ||
} | ||
|
||
public AdminClientConfigBuilder(BaseCommonClientConfigBuilder<?> parent) { | ||
copyFrom(parent); | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
kobuka-client/src/main/java/org/swisspush/kobuka/client/ConsumerConfigBuilder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,18 @@ | ||
package org.swisspush.kobuka.client; | ||
|
||
import org.swisspush.kobuka.client.base.BaseCommonClientConfigBuilder; | ||
import org.swisspush.kobuka.client.base.BaseConsumerConfigBuilder; | ||
|
||
public class ConsumerConfigBuilder extends BaseConsumerConfigBuilder<ConsumerConfigBuilder> { | ||
|
||
public ConsumerConfigBuilder() { | ||
} | ||
|
||
public ConsumerConfigBuilder(BaseConsumerConfigBuilder<?> parent) { | ||
copyFrom(parent); | ||
} | ||
|
||
public ConsumerConfigBuilder(BaseCommonClientConfigBuilder<?> parent) { | ||
copyFrom(parent); | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
kobuka-client/src/main/java/org/swisspush/kobuka/client/ProducerConfigBuilder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,19 @@ | ||
package org.swisspush.kobuka.client; | ||
|
||
import org.swisspush.kobuka.client.base.BaseCommonClientConfigBuilder; | ||
import org.swisspush.kobuka.client.base.BaseConsumerConfigBuilder; | ||
import org.swisspush.kobuka.client.base.BaseProducerConfigBuilder; | ||
|
||
public class ProducerConfigBuilder extends BaseProducerConfigBuilder<ProducerConfigBuilder> { | ||
|
||
public ProducerConfigBuilder() { | ||
} | ||
|
||
public ProducerConfigBuilder(BaseProducerConfigBuilder<?> parent) { | ||
copyFrom(parent); | ||
} | ||
|
||
public ProducerConfigBuilder(BaseCommonClientConfigBuilder<?> parent) { | ||
copyFrom(parent); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 9 additions & 1 deletion
10
...-client/src/main/java/org/swisspush/kobuka/client/base/BaseCommonClientConfigBuilder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters