Skip to content

Commit f0a5363

Browse files
committed
Fix javadoc issues
1 parent 8b5453d commit f0a5363

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

src/main/java/org/eu/zajc/akiwrapper/Akiwrapper.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,17 @@
3939
* {@link AkiwrapperBuilder}</li>
4040
* <li>A {@link Query} from {@link #getCurrentQuery()} is displayed to the user.</li>
4141
* <li>The program decides based on the type of the {@link Query}:</li>
42-
* <ol>
42+
* <li>
43+
* <ul>
4344
* <li>If it's a {@link Guess}, it's shown to the user and responded to with either
4445
* {@link Guess#confirm()} or {@link Guess#reject()}. Confirming a guess is the lose
4546
* condition and ends the game.</li>
4647
* <li>If it's a {@link Question}, it's shown to the user and responded to with
4748
* either {@link Question#answer(Answer)} or {@link Question#undoAnswer()}.</li>
4849
* <li>If it's {@code null}, Akinator has no more queries. This is the win
4950
* condition.</li>
50-
* </ol>
51+
* </ul>
52+
* </li>
5153
* </ol>
5254
* Queries can either be retrieved from return values of interaction methods
5355
* ({@link Question#answer(Answer)}, {@link Question#undoAnswer()}, etc.) or from

src/main/java/org/eu/zajc/akiwrapper/core/entities/Question.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public interface Question extends Query {
107107
* Returns the question text that should be displayed to the user. This is localized
108108
* to the {@link Language} and in line with the {@link Theme} set in the
109109
* {@link AkiwrapperBuilder}.
110-
* <h2>Example</h2> {@code Is your character real?}
110+
* <h4>Example</h4> {@code Is your character real?}
111111
*
112112
* @return the question text.
113113
*/
@@ -118,7 +118,7 @@ public interface Question extends Query {
118118
* Returns the question text that should be displayed to the user. This is localized
119119
* to the {@link Language} and in line with the {@link Theme} set in the
120120
* {@link AkiwrapperBuilder}.
121-
* <h2>Example</h2> {@code Is your character real?}
121+
* <h4>Example</h4> {@code Is your character real?}
122122
*
123123
* @return the question text.
124124
*
@@ -135,7 +135,7 @@ default String getQuestion() {
135135
* "attitude", and they represent Akinator's current confidence - previously this was
136136
* calculated using a formula on the step and progression values, now it's returned
137137
* by the API. On the website, the akitude is shown on the left of the question box.
138-
* <h2>Example</h2>
138+
* <h4>Example</h4>
139139
* {@code https://en.akinator.com/assets/img/akitudes_670x1096/defi.png}
140140
*
141141
* @return the akitude image URL.

0 commit comments

Comments
 (0)