File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
src/main/java/com/hivemq/client Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ public MqttClientConfig(
102
102
}
103
103
104
104
@ Override
105
- public @ NotNull Optional <MqttClientIdentifier > getClientIdentifier () {
105
+ public @ NotNull Optional <MqttClientIdentifier > getIdentifier () {
106
106
return (clientIdentifier == MqttClientIdentifierImpl .REQUEST_CLIENT_IDENTIFIER_FROM_SERVER ) ? Optional .empty () :
107
107
Optional .of (clientIdentifier );
108
108
}
Original file line number Diff line number Diff line change @@ -56,8 +56,8 @@ public Mqtt3ClientConfigView(final @NotNull MqttClientConfig delegate) {
56
56
}
57
57
58
58
@ Override
59
- public @ NotNull Optional <MqttClientIdentifier > getClientIdentifier () {
60
- return delegate .getClientIdentifier ();
59
+ public @ NotNull Optional <MqttClientIdentifier > getIdentifier () {
60
+ return delegate .getIdentifier ();
61
61
}
62
62
63
63
@ Override
Original file line number Diff line number Diff line change 37
37
public interface MqttClientBuilderBase <B extends MqttClientBuilderBase <B >> extends MqttTransportConfigBuilderBase <B > {
38
38
39
39
/**
40
- * Sets the {@link MqttClientConfig#getClientIdentifier () Client Identifier}.
40
+ * Sets the {@link MqttClientConfig#getIdentifier () Client Identifier}.
41
41
*
42
42
* @param identifier the string representation of the Client Identifier.
43
43
* @return the builder.
@@ -46,7 +46,7 @@ public interface MqttClientBuilderBase<B extends MqttClientBuilderBase<B>> exten
46
46
@ NotNull B identifier (@ NotNull String identifier );
47
47
48
48
/**
49
- * Sets the {@link MqttClientConfig#getClientIdentifier () Client Identifier}.
49
+ * Sets the {@link MqttClientConfig#getIdentifier () Client Identifier}.
50
50
*
51
51
* @param identifier the Client Identifier.
52
52
* @return the builder.
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ public interface MqttClientConfig {
47
47
*
48
48
* @return the (currently not present) identifier of the client.
49
49
*/
50
- @ NotNull Optional <MqttClientIdentifier > getClientIdentifier ();
50
+ @ NotNull Optional <MqttClientIdentifier > getIdentifier ();
51
51
52
52
/**
53
53
* @return the transport configuration of the client.
You can’t perform that action at this time.
0 commit comments