Skip to content

Commit c0bd1a8

Browse files
committed
Fill in placeholder javadoc for DisconnectionRequestManager listener methods
The addListener and removeListener methods had `@param accountIdentifier TODO` and `@param deviceId TODO` placeholders in their javadoc. Replace them with descriptions consistent with the style used elsewhere in the same class (e.g. `requestDisconnection`).
1 parent 9f6d80c commit c0bd1a8

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

service/src/main/java/org/whispersystems/textsecuregcm/auth/DisconnectionRequestManager.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ public synchronized void stop() {
121121
/**
122122
* Adds a listener for disconnection requests for a specific authenticated device.
123123
*
124-
* @param accountIdentifier TODO
125-
* @param deviceId TODO
124+
* @param accountIdentifier the identifier of the account associated with the authenticated device
125+
* @param deviceId the identifier of the authenticated device
126126
* @param listener the listener to register
127127
*/
128128
public void addListener(final UUID accountIdentifier, final byte deviceId, final DisconnectionRequestListener listener) {
@@ -139,8 +139,8 @@ public void addListener(final UUID accountIdentifier, final byte deviceId, final
139139
/**
140140
* Removes a listener for disconnection requests for a specific authenticated device.
141141
*
142-
* @param accountIdentifier TODO
143-
* @param deviceId TODO
142+
* @param accountIdentifier the identifier of the account associated with the authenticated device
143+
* @param deviceId the identifier of the authenticated device
144144
* @param listener the listener to remove
145145
*/
146146
public void removeListener(final UUID accountIdentifier, final byte deviceId, final DisconnectionRequestListener listener) {

0 commit comments

Comments
 (0)