Skip to content

Commit b6aa6bd

Browse files
fix(docs): fixed javadoc comments
1 parent 5590557 commit b6aa6bd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/main/java/net/hexonet/apiconnector/APIClient.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public APIClient disableDebugMode() {
8888
* Method to use to encode data before sending it to the API Server
8989
*
9090
* @param cmd The command to request
91-
* @return
91+
* @return the ready to use, encoded request payload
9292
*/
9393
public String getPOSTData(Map<String, String> cmd) {
9494
return this.getPOSTData(cmd, false);
@@ -99,7 +99,7 @@ public String getPOSTData(Map<String, String> cmd) {
9999
*
100100
* @param cmd The command to request
101101
* @param secured if password data shall be secured for output purposes
102-
* @return the ready to use, encoded request payload
102+
* @return the ready to use, encoded and secured request payload
103103
*/
104104
public String getPOSTData(Map<String, String> cmd, boolean secured) {
105105
String pd;
@@ -174,7 +174,7 @@ public APIClient setUserAgent(String str, String rv) {
174174
*
175175
* @param str user agent label
176176
* @param rv user agent revision
177-
* @param modules further modules to add to user agent string ["<module>/<version>"]
177+
* @param modules further modules to add to user agent string ["module/version"]
178178
* @return Current APIClient instance for method chaining
179179
*/
180180
public APIClient setUserAgent(String str, String rv, ArrayList<String> modules) {

src/main/java/net/hexonet/apiconnector/ResponseTemplate.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public ResponseTemplate(String raw) {
3131
/**
3232
* init hash - workaround for not calling constructor in response class twice (TO DO)
3333
*
34-
* @param raw
34+
* @param raw plain API response text
3535
*/
3636
protected void init(String raw) {
3737
this.raw = raw;

0 commit comments

Comments
 (0)