mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-09 17:19:39 +02:00
[checkstyle] Tighten JavadocMethod checkstyle rule
This commit is contained in:
parent
5bfe789e08
commit
ebe5c49e92
12 changed files with 45 additions and 34 deletions
|
@ -186,8 +186,8 @@ public final class UserTuneElement implements ExtensionElement {
|
|||
|
||||
/**
|
||||
* Artist is an optional element in UserTuneElement.
|
||||
* @param artist.
|
||||
* @return builder.
|
||||
* @param artist the artist.
|
||||
* @return a reference to this builder.
|
||||
*/
|
||||
public Builder setArtist(String artist) {
|
||||
this.artist = artist;
|
||||
|
@ -196,8 +196,8 @@ public final class UserTuneElement implements ExtensionElement {
|
|||
|
||||
/**
|
||||
* Length is an optional element in UserTuneElement.
|
||||
* @param length.
|
||||
* @return builder.
|
||||
* @param length the length.
|
||||
* @return a reference to this builder.
|
||||
*/
|
||||
public Builder setLength(int length) {
|
||||
return setLength(UInt16.from(length));
|
||||
|
@ -205,8 +205,8 @@ public final class UserTuneElement implements ExtensionElement {
|
|||
|
||||
/**
|
||||
* Length is an optional element in UserTuneElement.
|
||||
* @param length.
|
||||
* @return builder.
|
||||
* @param length the length.
|
||||
* @return a reference to this builder.
|
||||
*/
|
||||
public Builder setLength(UInt16 length) {
|
||||
this.length = length;
|
||||
|
@ -215,8 +215,8 @@ public final class UserTuneElement implements ExtensionElement {
|
|||
|
||||
/**
|
||||
* Rating is an optional element in UserTuneElement.
|
||||
* @param rating.
|
||||
* @return builder.
|
||||
* @param rating the rating.
|
||||
* @return a reference to this builder.
|
||||
*/
|
||||
public Builder setRating(int rating) {
|
||||
this.rating = rating;
|
||||
|
@ -225,8 +225,8 @@ public final class UserTuneElement implements ExtensionElement {
|
|||
|
||||
/**
|
||||
* Source is an optional element in UserTuneElement.
|
||||
* @param source.
|
||||
* @return builder.
|
||||
* @param source the source.
|
||||
* @return a reference to this builder.
|
||||
*/
|
||||
public Builder setSource(String source) {
|
||||
this.source = source;
|
||||
|
@ -235,8 +235,8 @@ public final class UserTuneElement implements ExtensionElement {
|
|||
|
||||
/**
|
||||
* Title is an optional element in UserTuneElement.
|
||||
* @param title.
|
||||
* @return builder.
|
||||
* @param title the title.
|
||||
* @return a reference to this builder.
|
||||
*/
|
||||
public Builder setTitle(String title) {
|
||||
this.title = title;
|
||||
|
@ -245,8 +245,8 @@ public final class UserTuneElement implements ExtensionElement {
|
|||
|
||||
/**
|
||||
* Track is an optional element in UserTuneElement.
|
||||
* @param track.
|
||||
* @return builder.
|
||||
* @param track the track.
|
||||
* @return a reference to this builder.
|
||||
*/
|
||||
public Builder setTrack(String track) {
|
||||
this.track = track;
|
||||
|
@ -255,8 +255,8 @@ public final class UserTuneElement implements ExtensionElement {
|
|||
|
||||
/**
|
||||
* URI is an optional element in UserTuneElement.
|
||||
* @param uri.
|
||||
* @return builder.
|
||||
* @param uri the URI.
|
||||
* @return a reference to this builder.
|
||||
*/
|
||||
public Builder setUri(URI uri) {
|
||||
this.uri = uri;
|
||||
|
|
|
@ -86,7 +86,7 @@ public class Socks5ProxyTest {
|
|||
* When inserting new network addresses to the proxy the order should remain in the order they
|
||||
* were inserted.
|
||||
*
|
||||
* @throws UnknownHostException
|
||||
* @throws UnknownHostException if unknown host.
|
||||
*/
|
||||
@Test
|
||||
public void shouldPreserveAddressOrderOnInsertions() throws UnknownHostException {
|
||||
|
@ -114,7 +114,7 @@ public class Socks5ProxyTest {
|
|||
* When replacing network addresses of the proxy the order should remain in the order if the
|
||||
* given list.
|
||||
*
|
||||
* @throws UnknownHostException
|
||||
* @throws UnknownHostException if unknown host.
|
||||
*/
|
||||
@Test
|
||||
public void shouldPreserveAddressOrderOnReplace() throws UnknownHostException {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue