Skip to content

Commit

Permalink
Issue #87: Minor review findings fixed
Browse files Browse the repository at this point in the history
Signed-off-by: David Schwilk <david.schwilk@bosch.io>
  • Loading branch information
DerSchwilk committed Sep 29, 2020
1 parent 80081a3 commit e2ece43
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions java/src/main/java/org/eclipse/ditto/client/DittoClients.java
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public static DittoClient newInstance(final MessagingProvider twinMessagingProvi

/**
* Creates a new {@link org.eclipse.ditto.client.DittoClient} with a shared {@code Twin} and {@code Live}
* {@link org.eclipse.ditto.client.messaging.MessagingProvider} but do not attempt to connect to the configured
* {@link org.eclipse.ditto.client.messaging.MessagingProvider} but does not attempt to connect to the configured
* back-end.
*
* @param messagingProvider the messaging provider for this client.
Expand All @@ -151,8 +151,8 @@ public static DisconnectedDittoClient newDisconnectedInstance(final MessagingPro

/**
* Creates a new {@link org.eclipse.ditto.client.DittoClient} with a specific {@code Twin}, {@code Live} and
* {@code Policy} {@link org.eclipse.ditto.client.messaging.MessagingProvider} but do not attempt to the configured
* back-end.
* {@code Policy} {@link org.eclipse.ditto.client.messaging.MessagingProvider} but does not attempt to connect to
* the configured back-end.
*
* @param twinMessagingProvider the messaging provider for the {@code Twin} part of the client.
* @param liveMessagingProvider the messaging provider for the {@code Live} part of the client.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public interface MessagingProvider {
/**
* Initializes the Messaging Provider by opening the underlying connections, etc.
* Blocks the calling thread until messaging provider is ready.
* Use {@code initializeAsync} instead.
* @deprecated since 1.3.0. Use {@code initializeAsync} instead.
*/
@Deprecated
default void initialize() {
Expand All @@ -52,7 +52,7 @@ default void initialize() {
/**
* Perform initialization asynchronously.
*
* @return a future that completes after initialization completes.
* @return a future that completes after initialization completed.
* @since 1.3.0
*/
CompletionStage<?> initializeAsync();
Expand Down

0 comments on commit e2ece43

Please sign in to comment.