From f0a5363d6ac3cbb8738f7835aa52c34042f709db Mon Sep 17 00:00:00 2001 From: Marko Zajc Date: Sun, 14 Apr 2024 18:07:16 +0200 Subject: [PATCH] Fix javadoc issues --- src/main/java/org/eu/zajc/akiwrapper/Akiwrapper.java | 6 ++++-- .../java/org/eu/zajc/akiwrapper/core/entities/Question.java | 6 +++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/main/java/org/eu/zajc/akiwrapper/Akiwrapper.java b/src/main/java/org/eu/zajc/akiwrapper/Akiwrapper.java index da096b8..d89dfa8 100644 --- a/src/main/java/org/eu/zajc/akiwrapper/Akiwrapper.java +++ b/src/main/java/org/eu/zajc/akiwrapper/Akiwrapper.java @@ -39,7 +39,8 @@ * {@link AkiwrapperBuilder} *
  • A {@link Query} from {@link #getCurrentQuery()} is displayed to the user.
  • *
  • The program decides based on the type of the {@link Query}:
  • - *
      + *
    1. + *
        *
      • If it's a {@link Guess}, it's shown to the user and responded to with either * {@link Guess#confirm()} or {@link Guess#reject()}. Confirming a guess is the lose * condition and ends the game.
      • @@ -47,7 +48,8 @@ * either {@link Question#answer(Answer)} or {@link Question#undoAnswer()}. *
      • If it's {@code null}, Akinator has no more queries. This is the win * condition.
      • - *
    + * + * * * Queries can either be retrieved from return values of interaction methods * ({@link Question#answer(Answer)}, {@link Question#undoAnswer()}, etc.) or from diff --git a/src/main/java/org/eu/zajc/akiwrapper/core/entities/Question.java b/src/main/java/org/eu/zajc/akiwrapper/core/entities/Question.java index 1b735d9..5443106 100644 --- a/src/main/java/org/eu/zajc/akiwrapper/core/entities/Question.java +++ b/src/main/java/org/eu/zajc/akiwrapper/core/entities/Question.java @@ -107,7 +107,7 @@ public interface Question extends Query { * Returns the question text that should be displayed to the user. This is localized * to the {@link Language} and in line with the {@link Theme} set in the * {@link AkiwrapperBuilder}. - *

    Example

    {@code Is your character real?} + *

    Example

    {@code Is your character real?} * * @return the question text. */ @@ -118,7 +118,7 @@ public interface Question extends Query { * Returns the question text that should be displayed to the user. This is localized * to the {@link Language} and in line with the {@link Theme} set in the * {@link AkiwrapperBuilder}. - *

    Example

    {@code Is your character real?} + *

    Example

    {@code Is your character real?} * * @return the question text. * @@ -135,7 +135,7 @@ default String getQuestion() { * "attitude", and they represent Akinator's current confidence - previously this was * calculated using a formula on the step and progression values, now it's returned * by the API. On the website, the akitude is shown on the left of the question box. - *

    Example

    + *

    Example

    * {@code https://en.akinator.com/assets/img/akitudes_670x1096/defi.png} * * @return the akitude image URL.