mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-26 08:12:05 +01:00
Merge pull request #351 from adiaholic/docFix
Correct code example inside `UserTuneElement`.
This commit is contained in:
commit
53c28f72ad
1 changed files with 10 additions and 5 deletions
|
@ -161,11 +161,16 @@ public final class UserTuneElement implements ExtensionElement {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This class defines a Builder class for {@link UserTuneElement}. <br>
|
* This class defines a Builder class for {@link UserTuneElement}. <br>
|
||||||
* {@link UserTuneElement} instance can be obtained using the {@link #build()} method as follows. <br>
|
* {@link UserTuneElement} instance can be obtained using the {@link #build()} method as follows. <br><br>
|
||||||
* UserTuneElement.Builder builder = new UserTuneElement.Builder();
|
* <pre>
|
||||||
* builder.setSource("Yessongs"); builder.setTitle("Heart of the Sunrise");
|
* {@code
|
||||||
* UserTuneElement userTuneElement = builder.build(); <br>
|
* UserTuneElement.Builder builder = UserTuneElement.getBuilder();
|
||||||
* Values such as title, source, artist, length, source, track and uri can be set using their respective setters through {@link Builder}
|
* builder.setSource("Yessongs");
|
||||||
|
* builder.setTitle("Heart of the Sunrise");
|
||||||
|
* UserTuneElement userTuneElement = builder.build();
|
||||||
|
* }
|
||||||
|
* </pre>
|
||||||
|
* Values such as title, source, artist, length, source, track and uri can be set using their respective setters through {@link Builder}.
|
||||||
*/
|
*/
|
||||||
public static final class Builder {
|
public static final class Builder {
|
||||||
private String artist;
|
private String artist;
|
||||||
|
|
Loading…
Reference in a new issue