-
Notifications
You must be signed in to change notification settings - Fork 109
Add javadocs as required to publish to Maven central #49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -207,7 +207,7 @@ public int getRetryCount() { | |
| * Sets the retry count for failed transmissions. | ||
| * | ||
| * @param retryCount | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. EmptyBlockTag: A block tag (@param, @return, @throws, @deprecated) has an empty description. Block tags without descriptions don't add much value for future readers of the code; consider removing the tag entirely or adding a description. (details) |
||
| * retry count, >0 | ||
| * @throws IllegalArgumentException when retry count is not positive | ||
| */ | ||
| public void setRetryCount(int retryCount) { | ||
| if (retryCount < 1) | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -224,13 +224,12 @@ public int getSocketTimeout() { | |
| /** | ||
| * Sets the socket timeout. | ||
| * | ||
| * @param socketTimeout | ||
| * socket timeout, >0 ms | ||
| * @throws SocketException | ||
| * @param socketTimeout when socket timeout, >0 ms | ||
| * @throws SocketException when socketTime is not positive | ||
| */ | ||
| public void setSocketTimeout(int socketTimeout) throws SocketException { | ||
| if (socketTimeout < 1) | ||
| throw new IllegalArgumentException("socket tiemout must be positive"); | ||
| throw new IllegalArgumentException("socket timeout must be positive"); | ||
| this.socketTimeout = socketTimeout; | ||
| if (authSocket != null) | ||
| authSocket.setSoTimeout(socketTimeout); | ||
|
|
@@ -279,7 +278,7 @@ public long getDuplicateInterval() { | |
| * same address. | ||
| * | ||
| * @param duplicateInterval | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. EmptyBlockTag: A block tag (@param, @return, @throws, @deprecated) has an empty description. Block tags without descriptions don't add much value for future readers of the code; consider removing the tag entirely or adding a description. (details) |
||
| * duplicate interval (ms), >0 | ||
| * @throws IllegalArgumentException when duplicateInterval (ms), >0 | ||
| */ | ||
| public void setDuplicateInterval(long duplicateInterval) { | ||
| if (duplicateInterval <= 0) | ||
|
|
@@ -341,8 +340,6 @@ protected void copyProxyState(RadiusPacket request, RadiusPacket answer) { | |
| * Returns when stop() is called. | ||
| * | ||
| * @throws SocketException | ||
| * @throws InterruptedException | ||
| * | ||
| */ | ||
| protected void listenAuth() throws SocketException { | ||
| listen(getAuthSocket()); | ||
|
|
@@ -353,7 +350,6 @@ protected void listenAuth() throws SocketException { | |
| * Returns when stop() is called. | ||
| * | ||
| * @throws SocketException | ||
| * @throws InterruptedException | ||
| */ | ||
| protected void listenAcct() throws SocketException { | ||
| listen(getAcctSocket()); | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
EmptyBlockTag: A block tag (@param, @return, @throws, @deprecated) has an empty description. Block tags without descriptions don't add much value for future readers of the code; consider removing the tag entirely or adding a description. (details)
(at-me in a reply with
helporignore)