Skip to content

Commit ed31983

Browse files
committed
Fix javadoc and bump version to 2.0.1
1 parent 38fcbc7 commit ed31983

File tree

3 files changed

+10
-12
lines changed

3 files changed

+10
-12
lines changed

example/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
<dependency>
4242
<groupId>org.eu.zajc</groupId>
4343
<artifactId>akiwrapper</artifactId>
44-
<version>2.0.0</version>
44+
<version>2.0.1</version>
4545
</dependency>
4646

4747
<!-- Logging Backend -->

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>org.eu.zajc</groupId>
77
<artifactId>akiwrapper</artifactId>
8-
<version>2.0.0</version>
8+
<version>2.0.1</version>
99

1010
<name>Akiwrapper</name>
1111
<description>A Java API wrapper for Akinator</description>

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

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -106,21 +106,19 @@ public interface Question extends Query {
106106
/**
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
109-
* {@link AkiwrapperBuilder}.
110-
* <h4>Example</h4> {@code Is your character real?}
109+
* {@link AkiwrapperBuilder}.<br>
111110
*
112-
* @return the question text.
111+
* @return the question text, for example {@code "Is your character real?"}.
113112
*/
114113
@Nonnull
115114
String getText();
116115

117116
/**
118117
* Returns the question text that should be displayed to the user. This is localized
119118
* to the {@link Language} and in line with the {@link Theme} set in the
120-
* {@link AkiwrapperBuilder}.
121-
* <h4>Example</h4> {@code Is your character real?}
119+
* {@link AkiwrapperBuilder}.<br>
122120
*
123-
* @return the question text.
121+
* @return the question text, for example {@code "Is your character real?"}.
124122
*
125123
* @deprecated use {@link #getText()} instead.
126124
*/
@@ -134,11 +132,11 @@ default String getQuestion() {
134132
* URL to the akitude image. "Akitude" is likely a portmanteau of "Akinator" and
135133
* "attitude", and they represent Akinator's current confidence - previously this was
136134
* calculated using a formula on the step and progression values, now it's returned
137-
* by the API. On the website, the akitude is shown on the left of the question box.
138-
* <h4>Example</h4>
139-
* {@code https://en.akinator.com/assets/img/akitudes_670x1096/defi.png}
135+
* by the API. On the website, the akitude is shown on the left of the question
136+
* box.<br>
140137
*
141-
* @return the akitude image URL.
138+
* @return the akitude image URL, for example
139+
* {@code "https://en.akinator.com/assets/img/akitudes_670x1096/defi.png"}.
142140
*/
143141
URL getAkitude();
144142

0 commit comments

Comments
 (0)