aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Zajc <marko@zajc.eu.org>2023-08-09 00:34:49 +0200
committerMarko Zajc <marko@zajc.eu.org>2023-08-09 00:34:49 +0200
commit8264c3c39c2b656593c73ed07436df6033e26a99 (patch)
tree735ee7c5c3412389072195cd1b798e2e8a22315c
parent9a7cab4b8e908f825a3ff0c0d5978c5c53f50bf0 (diff)
parent97e7433b9ead04752ec0e82131ecde915f67605e (diff)
Merge branch 'development'v1.6.1
-rw-r--r--.github/workflows/test.yml2
-rwxr-xr-x[-rw-r--r--]LICENSE8
-rw-r--r--README.md17
-rwxr-xr-xexample/pom.xml6
-rw-r--r--example/src/main/java/org/eu/zajc/akiwrapper/example/AkinatorExample.java (renamed from example/src/main/java/zajc/akiwrapper/AkinatorExample.java)16
-rw-r--r--pom.xml28
-rw-r--r--src/main/java/org/eu/zajc/akiwrapper/Akiwrapper.java (renamed from src/main/java/com/github/markozajc/akiwrapper/Akiwrapper.java)16
-rw-r--r--src/main/java/org/eu/zajc/akiwrapper/AkiwrapperBuilder.java (renamed from src/main/java/com/github/markozajc/akiwrapper/AkiwrapperBuilder.java)27
-rw-r--r--src/main/java/org/eu/zajc/akiwrapper/core/entities/Guess.java (renamed from src/main/java/com/github/markozajc/akiwrapper/core/entities/Guess.java)14
-rw-r--r--src/main/java/org/eu/zajc/akiwrapper/core/entities/Identifiable.java (renamed from src/main/java/com/github/markozajc/akiwrapper/core/entities/Identifiable.java)10
-rw-r--r--src/main/java/org/eu/zajc/akiwrapper/core/entities/Question.java (renamed from src/main/java/com/github/markozajc/akiwrapper/core/entities/Question.java)14
-rw-r--r--src/main/java/org/eu/zajc/akiwrapper/core/entities/Server.java (renamed from src/main/java/com/github/markozajc/akiwrapper/core/entities/Server.java)12
-rw-r--r--src/main/java/org/eu/zajc/akiwrapper/core/entities/Status.java (renamed from src/main/java/com/github/markozajc/akiwrapper/core/entities/Status.java)12
-rw-r--r--src/main/java/org/eu/zajc/akiwrapper/core/entities/impl/GuessImpl.java (renamed from src/main/java/com/github/markozajc/akiwrapper/core/entities/impl/GuessImpl.java)16
-rw-r--r--src/main/java/org/eu/zajc/akiwrapper/core/entities/impl/QuestionImpl.java (renamed from src/main/java/com/github/markozajc/akiwrapper/core/entities/impl/QuestionImpl.java)15
-rw-r--r--src/main/java/org/eu/zajc/akiwrapper/core/entities/impl/ServerImpl.java (renamed from src/main/java/com/github/markozajc/akiwrapper/core/entities/impl/ServerImpl.java)13
-rw-r--r--src/main/java/org/eu/zajc/akiwrapper/core/entities/impl/StatusImpl.java (renamed from src/main/java/com/github/markozajc/akiwrapper/core/entities/impl/StatusImpl.java)15
-rw-r--r--src/main/java/org/eu/zajc/akiwrapper/core/exceptions/AkinatorException.java (renamed from src/main/java/com/github/markozajc/akiwrapper/core/exceptions/AkinatorException.java)10
-rw-r--r--src/main/java/org/eu/zajc/akiwrapper/core/exceptions/QuestionsExhaustedException.java (renamed from src/main/java/com/github/markozajc/akiwrapper/core/exceptions/QuestionsExhaustedException.java)10
-rw-r--r--src/main/java/org/eu/zajc/akiwrapper/core/exceptions/ServerNotFoundException.java (renamed from src/main/java/com/github/markozajc/akiwrapper/core/exceptions/ServerNotFoundException.java)14
-rw-r--r--src/main/java/org/eu/zajc/akiwrapper/core/exceptions/ServerStatusException.java (renamed from src/main/java/com/github/markozajc/akiwrapper/core/exceptions/ServerStatusException.java)14
-rw-r--r--src/main/java/org/eu/zajc/akiwrapper/core/exceptions/UndoOutOfBoundsException.java (renamed from src/main/java/com/github/markozajc/akiwrapper/core/exceptions/UndoOutOfBoundsException.java)12
-rw-r--r--src/main/java/org/eu/zajc/akiwrapper/core/impl/AkiwrapperImpl.java (renamed from src/main/java/com/github/markozajc/akiwrapper/core/impl/AkiwrapperImpl.java)25
-rw-r--r--src/main/java/org/eu/zajc/akiwrapper/core/utils/ApiKey.java (renamed from src/main/java/com/github/markozajc/akiwrapper/core/utils/ApiKey.java)12
-rw-r--r--src/main/java/org/eu/zajc/akiwrapper/core/utils/JSONUtils.java (renamed from src/main/java/com/github/markozajc/akiwrapper/core/utils/JSONUtils.java)10
-rw-r--r--src/main/java/org/eu/zajc/akiwrapper/core/utils/Servers.java (renamed from src/main/java/com/github/markozajc/akiwrapper/core/utils/Servers.java)17
-rw-r--r--src/main/java/org/eu/zajc/akiwrapper/core/utils/UnirestUtils.java (renamed from src/main/java/com/github/markozajc/akiwrapper/core/utils/UnirestUtils.java)14
-rw-r--r--src/main/java/org/eu/zajc/akiwrapper/core/utils/Utilities.java (renamed from src/main/java/com/github/markozajc/akiwrapper/core/utils/Utilities.java)10
-rw-r--r--src/main/java/org/eu/zajc/akiwrapper/core/utils/WorkaroundUtils.java (renamed from src/main/java/com/github/markozajc/akiwrapper/core/utils/WorkaroundUtils.java)10
-rw-r--r--src/main/java/org/eu/zajc/akiwrapper/core/utils/route/Request.java (renamed from src/main/java/com/github/markozajc/akiwrapper/core/utils/route/Request.java)21
-rw-r--r--src/main/java/org/eu/zajc/akiwrapper/core/utils/route/Response.java (renamed from src/main/java/com/github/markozajc/akiwrapper/core/utils/route/Response.java)13
-rw-r--r--src/main/java/org/eu/zajc/akiwrapper/core/utils/route/Route.java (renamed from src/main/java/com/github/markozajc/akiwrapper/core/utils/route/Route.java)14
-rw-r--r--src/main/java/org/eu/zajc/akiwrapper/core/utils/route/RouteBuilder.java (renamed from src/main/java/com/github/markozajc/akiwrapper/core/utils/route/RouteBuilder.java)16
-rw-r--r--src/main/java/org/eu/zajc/akiwrapper/core/utils/route/Routes.java (renamed from src/main/java/com/github/markozajc/akiwrapper/core/utils/route/Routes.java)12
-rw-r--r--src/test/java/org/eu/zajc/akiwrapper/IntegrationTest.java (renamed from src/test/java/com/github/markozajc/akiwrapper/IntegrationTest.java)21
-rw-r--r--src/test/java/org/eu/zajc/akiwrapper/core/entities/IdentifiableTest.java (renamed from src/test/java/com/github/markozajc/akiwrapper/core/entities/IdentifiableTest.java)10
-rw-r--r--src/test/java/org/eu/zajc/akiwrapper/core/entities/impl/immutable/StatusImplTest.java (renamed from src/test/java/com/github/markozajc/akiwrapper/core/entities/impl/immutable/StatusImplTest.java)17
-rw-r--r--src/test/java/org/eu/zajc/akiwrapper/core/utils/JSONUtilsTest.java (renamed from src/test/java/com/github/markozajc/akiwrapper/core/utils/JSONUtilsTest.java)12
-rw-r--r--versions-ruleset.xml2
39 files changed, 236 insertions, 301 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 258601a..9285790 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -28,6 +28,6 @@ jobs:
28 uses: nick-fields/retry@v2 28 uses: nick-fields/retry@v2
29 with: 29 with:
30 timeout_minutes: 60 30 timeout_minutes: 60
31 max_attempts: 3 31 max_attempts: 1
32 command: mvn --batch-mode verify -Dmaven.javadoc.skip=true 32 command: mvn --batch-mode verify -Dmaven.javadoc.skip=true
33 on_retry_command: mvn --batch-mode clean 33 on_retry_command: mvn --batch-mode clean
diff --git a/LICENSE b/LICENSE
index 94a9ed0..f288702 100644..100755
--- a/LICENSE
+++ b/LICENSE
@@ -1,7 +1,7 @@
1 GNU GENERAL PUBLIC LICENSE 1 GNU GENERAL PUBLIC LICENSE
2 Version 3, 29 June 2007 2 Version 3, 29 June 2007
3 3
4 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> 4 Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
5 Everyone is permitted to copy and distribute verbatim copies 5 Everyone is permitted to copy and distribute verbatim copies
6 of this license document, but changing it is not allowed. 6 of this license document, but changing it is not allowed.
7 7
@@ -645,7 +645,7 @@ the "copyright" line and a pointer to where the full notice is found.
645 GNU General Public License for more details. 645 GNU General Public License for more details.
646 646
647 You should have received a copy of the GNU General Public License 647 You should have received a copy of the GNU General Public License
648 along with this program. If not, see <http://www.gnu.org/licenses/>. 648 along with this program. If not, see <https://www.gnu.org/licenses/>.
649 649
650Also add information on how to contact you by electronic and paper mail. 650Also add information on how to contact you by electronic and paper mail.
651 651
@@ -664,11 +664,11 @@ might be different; for a GUI interface, you would use an "about box".
664 You should also get your employer (if you work as a programmer) or school, 664 You should also get your employer (if you work as a programmer) or school,
665if any, to sign a "copyright disclaimer" for the program, if necessary. 665if any, to sign a "copyright disclaimer" for the program, if necessary.
666For more information on this, and how to apply and follow the GNU GPL, see 666For more information on this, and how to apply and follow the GNU GPL, see
667<http://www.gnu.org/licenses/>. 667<https://www.gnu.org/licenses/>.
668 668
669 The GNU General Public License does not permit incorporating your program 669 The GNU General Public License does not permit incorporating your program
670into proprietary programs. If your program is a subroutine library, you 670into proprietary programs. If your program is a subroutine library, you
671may consider it more useful to permit linking proprietary applications with 671may consider it more useful to permit linking proprietary applications with
672the library. If this is what you want to do, use the GNU Lesser General 672the library. If this is what you want to do, use the GNU Lesser General
673Public License instead of this License. But first, please read 673Public License instead of this License. But first, please read
674<http://www.gnu.org/philosophy/why-not-lgpl.html>. 674<https://www.gnu.org/licenses/why-not-lgpl.html>.
diff --git a/README.md b/README.md
index 86240c0..cdff9f3 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1,16 @@
1[maven-img]: https://img.shields.io/maven-central/v/com.github.markozajc/akiwrapper.svg?label=Maven%20Central 1[maven-img]: https://img.shields.io/maven-central/v/org.eu.zajc/akiwrapper.svg?label=Maven%20Central
2[maven]: https://mvnrepository.com/artifact/com.github.markozajc/akiwrapper 2[maven]: https://mvnrepository.com/artifact/org.eu.zajc/akiwrapper
3 3
4[build-img]: https://github.com/markozajc/Akiwrapper/actions/workflows/test.yml/badge.svg?branch=master 4[build-img]: https://github.com/markozajc/Akiwrapper/actions/workflows/test.yml/badge.svg?branch=master
5[build]: https://github.com/markozajc/Akiwrapper/actions/workflows/test.yml?query=branch%3Amaster 5[build]: https://github.com/markozajc/Akiwrapper/actions/workflows/test.yml?query=branch%3Amaster
6 6
7> **Warning**\
8> **Relocation notice for 1.6.1 and above:**\
9> Akiwrapper's artifact has relocated from `com.github.markozajc:akiwrapper` to `org.eu.zajc:akiwrapper`. Additionally,
10> the same change has been made on the base package name. You will need to change Akiwrapper's dependency's `groupId`
11> in your pom.xml or build.gradle (as shown in the installation section) and you will need to replace
12> `com.github.markozajc.akiwrapper` with `org.eu.zajc.akiwrapper` in your imports.
13
7# Akiwrapper [![Maven central emblem][maven-img]][maven] [![Build status][build-img]][build] 14# Akiwrapper [![Maven central emblem][maven-img]][maven] [![Build status][build-img]][build]
8Akiwrapper is a Java API wrapper for [Akinator](https://en.akinator.com/), the popular online 15Akiwrapper is a Java API wrapper for [Akinator](https://en.akinator.com/), the popular online
9[20Q-type](https://en.wikipedia.org/wiki/Twenty_questions) game. 16[20Q-type](https://en.wikipedia.org/wiki/Twenty_questions) game.
@@ -13,15 +20,15 @@ Akiwrapper is a Java API wrapper for [Akinator](https://en.akinator.com/), the p
13Add the following dependency to your pom.xml: 20Add the following dependency to your pom.xml:
14```xml 21```xml
15<dependency> 22<dependency>
16 <groupId>com.github.markozajc</groupId> 23 <groupId>org.eu.zajc</groupId>
17 <artifactId>akiwrapper</artifactId> 24 <artifactId>akiwrapper</artifactId>
18 <version>1.6</version> 25 <version>1.6.1</version>
19</dependency> 26</dependency>
20``` 27```
21#### Gradle 28#### Gradle
22Add the following dependency to your build.gradle: 29Add the following dependency to your build.gradle:
23```gradle 30```gradle
24implementation group: 'com.github.markozajc', name: 'akiwrapper', version: '1.6' 31implementation group: 'org.eu.zajc', name: 'akiwrapper', version: '1.6.1'
25``` 32```
26 33
27## Usage 34## Usage
diff --git a/example/pom.xml b/example/pom.xml
index 700a0dd..0699db4 100755
--- a/example/pom.xml
+++ b/example/pom.xml
@@ -57,7 +57,7 @@
57 <configuration> 57 <configuration>
58 <transformers> 58 <transformers>
59 <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> 59 <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
60 <mainClass>zajc.akiwrapper.AkinatorExample</mainClass> 60 <mainClass>org.eu.zajc.akiwrapper.example.AkinatorExample</mainClass>
61 </transformer> 61 </transformer>
62 </transformers> 62 </transformers>
63 <createDependencyReducedPom>false</createDependencyReducedPom> 63 <createDependencyReducedPom>false</createDependencyReducedPom>
@@ -72,9 +72,9 @@
72 72
73 <dependencies> 73 <dependencies>
74 <dependency> 74 <dependency>
75 <groupId>com.github.markozajc</groupId> 75 <groupId>org.eu.zajc</groupId>
76 <artifactId>akiwrapper</artifactId> 76 <artifactId>akiwrapper</artifactId>
77 <version>1.6</version> 77 <version>1.6.1</version>
78 </dependency> 78 </dependency>
79 </dependencies> 79 </dependencies>
80 80
diff --git a/example/src/main/java/zajc/akiwrapper/AkinatorExample.java b/example/src/main/java/org/eu/zajc/akiwrapper/example/AkinatorExample.java
index 0a903e6..569e439 100644
--- a/example/src/main/java/zajc/akiwrapper/AkinatorExample.java
+++ b/example/src/main/java/org/eu/zajc/akiwrapper/example/AkinatorExample.java
@@ -1,20 +1,20 @@
1package zajc.akiwrapper; 1package org.eu.zajc.akiwrapper.example;
2 2
3import static com.github.markozajc.akiwrapper.Akiwrapper.Answer.*;
4import static com.github.markozajc.akiwrapper.core.entities.Server.GuessType.CHARACTER;
5import static com.github.markozajc.akiwrapper.core.entities.Server.Language.ENGLISH;
6import static java.lang.Character.toLowerCase; 3import static java.lang.Character.toLowerCase;
7import static java.lang.System.*; 4import static java.lang.System.*;
8import static java.util.stream.Collectors.joining; 5import static java.util.stream.Collectors.joining;
6import static org.eu.zajc.akiwrapper.Akiwrapper.Answer.*;
7import static org.eu.zajc.akiwrapper.core.entities.Server.GuessType.CHARACTER;
8import static org.eu.zajc.akiwrapper.core.entities.Server.Language.ENGLISH;
9 9
10import java.util.*; 10import java.util.*;
11 11
12import javax.annotation.Nonnull; 12import javax.annotation.Nonnull;
13 13
14import com.github.markozajc.akiwrapper.*; 14import org.eu.zajc.akiwrapper.*;
15import com.github.markozajc.akiwrapper.core.entities.*; 15import org.eu.zajc.akiwrapper.core.entities.*;
16import com.github.markozajc.akiwrapper.core.entities.Server.*; 16import org.eu.zajc.akiwrapper.core.entities.Server.*;
17import com.github.markozajc.akiwrapper.core.exceptions.ServerNotFoundException; 17import org.eu.zajc.akiwrapper.core.exceptions.ServerNotFoundException;
18 18
19@SuppressWarnings("javadoc") 19@SuppressWarnings("javadoc")
20public class AkinatorExample { 20public class AkinatorExample {
diff --git a/pom.xml b/pom.xml
index 6a938c7..f8960ec 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,9 +3,9 @@
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4 <modelVersion>4.0.0</modelVersion> 4 <modelVersion>4.0.0</modelVersion>
5 5
6 <groupId>com.github.markozajc</groupId> 6 <groupId>org.eu.zajc</groupId>
7 <artifactId>akiwrapper</artifactId> 7 <artifactId>akiwrapper</artifactId>
8 <version>1.6.0-1</version> 8 <version>1.6.1</version>
9 9
10 <name>Akiwrapper</name> 10 <name>Akiwrapper</name>
11 <description>A Java API wrapper for Akinator</description> 11 <description>A Java API wrapper for Akinator</description>
@@ -132,10 +132,9 @@
132 <plugin> 132 <plugin>
133 <groupId>org.apache.maven.plugins</groupId> 133 <groupId>org.apache.maven.plugins</groupId>
134 <artifactId>maven-enforcer-plugin</artifactId> 134 <artifactId>maven-enforcer-plugin</artifactId>
135 <version>3.1.0</version> 135 <version>3.3.0</version>
136 <executions> 136 <executions>
137 <execution> 137 <execution>
138 <id>enforce-maven</id>
139 <goals> 138 <goals>
140 <goal>enforce</goal> 139 <goal>enforce</goal>
141 </goals> 140 </goals>
@@ -152,11 +151,12 @@
152 151
153 <!-- Javadoc --> 152 <!-- Javadoc -->
154 <plugin> 153 <plugin>
154 <groupId>org.apache.maven.plugins</groupId>
155 <artifactId>maven-javadoc-plugin</artifactId> 155 <artifactId>maven-javadoc-plugin</artifactId>
156 <version>3.4.0</version> 156 <version>3.5.0</version>
157 <executions> 157 <executions>
158 <execution> 158 <execution>
159 <id>attach-javadocs</id> 159 <phase>verify</phase>
160 <goals> 160 <goals>
161 <goal>jar</goal> 161 <goal>jar</goal>
162 </goals> 162 </goals>
@@ -170,10 +170,10 @@
170 <!-- Unit tests --> 170 <!-- Unit tests -->
171 <plugin> 171 <plugin>
172 <artifactId>maven-surefire-plugin</artifactId> 172 <artifactId>maven-surefire-plugin</artifactId>
173 <version>2.22.2</version> 173 <version>3.1.2</version>
174 <executions> 174 <executions>
175 <execution> 175 <execution>
176 <id>test</id> 176 <phase>test</phase>
177 <goals> 177 <goals>
178 <goal>test</goal> 178 <goal>test</goal>
179 </goals> 179 </goals>
@@ -185,7 +185,7 @@
185 <plugin> 185 <plugin>
186 <groupId>org.codehaus.mojo</groupId> 186 <groupId>org.codehaus.mojo</groupId>
187 <artifactId>versions-maven-plugin</artifactId> 187 <artifactId>versions-maven-plugin</artifactId>
188 <version>2.11.0</version> 188 <version>2.16.0</version>
189 <configuration> 189 <configuration>
190 <rulesUri>file://${project.basedir}/versions-ruleset.xml</rulesUri> 190 <rulesUri>file://${project.basedir}/versions-ruleset.xml</rulesUri>
191 </configuration> 191 </configuration>
@@ -204,10 +204,9 @@
204 <plugin> 204 <plugin>
205 <groupId>org.apache.maven.plugins</groupId> 205 <groupId>org.apache.maven.plugins</groupId>
206 <artifactId>maven-source-plugin</artifactId> 206 <artifactId>maven-source-plugin</artifactId>
207 <version>3.2.1</version> 207 <version>3.3.0</version>
208 <executions> 208 <executions>
209 <execution> 209 <execution>
210 <id>attach-sources</id>
211 <goals> 210 <goals>
212 <goal>jar</goal> 211 <goal>jar</goal>
213 </goals> 212 </goals>
@@ -219,10 +218,9 @@
219 <plugin> 218 <plugin>
220 <groupId>org.apache.maven.plugins</groupId> 219 <groupId>org.apache.maven.plugins</groupId>
221 <artifactId>maven-gpg-plugin</artifactId> 220 <artifactId>maven-gpg-plugin</artifactId>
222 <version>3.0.1</version> 221 <version>3.1.0</version>
223 <executions> 222 <executions>
224 <execution> 223 <execution>
225 <id>sign-artifacts</id>
226 <phase>verify</phase> 224 <phase>verify</phase>
227 <goals> 225 <goals>
228 <goal>sign</goal> 226 <goal>sign</goal>
@@ -238,8 +236,8 @@
238 <version>1.6.13</version> 236 <version>1.6.13</version>
239 <extensions>true</extensions> 237 <extensions>true</extensions>
240 <configuration> 238 <configuration>
241 <serverId>ossrh</serverId> 239 <serverId>${nexus.serverid}</serverId>
242 <nexusUrl>https://oss.sonatype.org/</nexusUrl> 240 <nexusUrl>${nexus.url}</nexusUrl>
243 <autoReleaseAfterClose>false</autoReleaseAfterClose> 241 <autoReleaseAfterClose>false</autoReleaseAfterClose>
244 </configuration> 242 </configuration>
245 </plugin> 243 </plugin>
diff --git a/src/main/java/com/github/markozajc/akiwrapper/Akiwrapper.java b/src/main/java/org/eu/zajc/akiwrapper/Akiwrapper.java
index d924cc8..c2e9a8b 100644
--- a/src/main/java/com/github/markozajc/akiwrapper/Akiwrapper.java
+++ b/src/main/java/org/eu/zajc/akiwrapper/Akiwrapper.java
@@ -3,20 +3,18 @@
3 * Akiwrapper, the Java API wrapper for Akinator 3 * Akiwrapper, the Java API wrapper for Akinator
4 * Copyright (C) 2017-2023 Marko Zajc 4 * Copyright (C) 2017-2023 Marko Zajc
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it under the 6 * This program is free software: you can redistribute it and/or modify it under the
7 * terms of the GNU General Public License as published by the Free Software 7 * terms of the GNU General Public License as published by the Free Software
8 * Foundation; either version 3 of the License, or (at your option) any later 8 * Foundation, version 3.
9 * version.
10 * 9 *
11 * This program is distributed in the hope that it will be useful, but WITHOUT ANY 10 * This program is distributed in the hope that it will be useful, but WITHOUT ANY
12 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 * PARTICULAR PURPOSE. See the GNU General Public License for more details. 12 * PARTICULAR PURPOSE. See the GNU General Public License for more details.
14 * 13 *
15 * You should have received a copy of the GNU General Public License along with this 14 * You should have received a copy of the GNU General Public License along with this
16 * program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, 15 * program. If not, see <https://www.gnu.org/licenses/>.
17 * Fifth Floor, Boston, MA 02110-1301, USA.
18 */ 16 */
19package com.github.markozajc.akiwrapper; 17package org.eu.zajc.akiwrapper;
20 18
21import static java.util.stream.Collectors.toList; 19import static java.util.stream.Collectors.toList;
22 20
@@ -25,9 +23,9 @@ import java.util.List;
25 23
26import javax.annotation.*; 24import javax.annotation.*;
27 25
28import com.github.markozajc.akiwrapper.core.entities.*; 26import org.eu.zajc.akiwrapper.core.entities.*;
29import com.github.markozajc.akiwrapper.core.entities.Server.*; 27import org.eu.zajc.akiwrapper.core.entities.Server.*;
30import com.github.markozajc.akiwrapper.core.exceptions.*; 28import org.eu.zajc.akiwrapper.core.exceptions.*;
31 29
32/** 30/**
33 * The "core" of interaction with the Akinator's API.<br> 31 * The "core" of interaction with the Akinator's API.<br>
diff --git a/src/main/java/com/github/markozajc/akiwrapper/AkiwrapperBuilder.java b/src/main/java/org/eu/zajc/akiwrapper/AkiwrapperBuilder.java
index 8bb5ed4..e738b59 100644
--- a/src/main/java/com/github/markozajc/akiwrapper/AkiwrapperBuilder.java
+++ b/src/main/java/org/eu/zajc/akiwrapper/AkiwrapperBuilder.java
@@ -3,36 +3,33 @@
3 * Akiwrapper, the Java API wrapper for Akinator 3 * Akiwrapper, the Java API wrapper for Akinator
4 * Copyright (C) 2017-2023 Marko Zajc 4 * Copyright (C) 2017-2023 Marko Zajc
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it under the 6 * This program is free software: you can redistribute it and/or modify it under the
7 * terms of the GNU General Public License as published by the Free Software 7 * terms of the GNU General Public License as published by the Free Software
8 * Foundation; either version 3 of the License, or (at your option) any later 8 * Foundation, version 3.
9 * version.
10 * 9 *
11 * This program is distributed in the hope that it will be useful, but WITHOUT ANY 10 * This program is distributed in the hope that it will be useful, but WITHOUT ANY
12 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 * PARTICULAR PURPOSE. See the GNU General Public License for more details. 12 * PARTICULAR PURPOSE. See the GNU General Public License for more details.
14 * 13 *
15 * You should have received a copy of the GNU General Public License along with this 14 * You should have received a copy of the GNU General Public License along with this
16 * program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, 15 * program. If not, see <https://www.gnu.org/licenses/>.
17 * Fifth Floor, Boston, MA 02110-1301, USA.
18 */ 16 */
19package com.github.markozajc.akiwrapper; 17package org.eu.zajc.akiwrapper;
20 18
21import static com.github.markozajc.akiwrapper.core.entities.Server.GuessType.CHARACTER;
22import static com.github.markozajc.akiwrapper.core.entities.Server.Language.ENGLISH;
23import static com.github.markozajc.akiwrapper.core.utils.Servers.findServers;
24import static java.lang.String.format; 19import static java.lang.String.format;
20import static org.eu.zajc.akiwrapper.core.entities.Server.GuessType.CHARACTER;
21import static org.eu.zajc.akiwrapper.core.entities.Server.Language.ENGLISH;
22import static org.eu.zajc.akiwrapper.core.utils.Servers.findServers;
25 23
26import javax.annotation.*; 24import javax.annotation.*;
27 25
26import org.eu.zajc.akiwrapper.core.entities.*;
27import org.eu.zajc.akiwrapper.core.entities.Server.*;
28import org.eu.zajc.akiwrapper.core.exceptions.*;
29import org.eu.zajc.akiwrapper.core.impl.AkiwrapperImpl;
30import org.eu.zajc.akiwrapper.core.utils.UnirestUtils;
28import org.slf4j.*; 31import org.slf4j.*;
29 32
30import com.github.markozajc.akiwrapper.core.entities.*;
31import com.github.markozajc.akiwrapper.core.entities.Server.*;
32import com.github.markozajc.akiwrapper.core.exceptions.*;
33import com.github.markozajc.akiwrapper.core.impl.AkiwrapperImpl;
34import com.github.markozajc.akiwrapper.core.utils.UnirestUtils;
35
36import kong.unirest.UnirestInstance; 33import kong.unirest.UnirestInstance;
37 34
38/** 35/**
diff --git a/src/main/java/com/github/markozajc/akiwrapper/core/entities/Guess.java b/src/main/java/org/eu/zajc/akiwrapper/core/entities/Guess.java
index fb420d4..730dfbf 100644
--- a/src/main/java/com/github/markozajc/akiwrapper/core/entities/Guess.java
+++ b/src/main/java/org/eu/zajc/akiwrapper/core/entities/Guess.java
@@ -3,27 +3,25 @@
3 * Akiwrapper, the Java API wrapper for Akinator 3 * Akiwrapper, the Java API wrapper for Akinator
4 * Copyright (C) 2017-2023 Marko Zajc 4 * Copyright (C) 2017-2023 Marko Zajc
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it under the 6 * This program is free software: you can redistribute it and/or modify it under the
7 * terms of the GNU General Public License as published by the Free Software 7 * terms of the GNU General Public License as published by the Free Software
8 * Foundation; either version 3 of the License, or (at your option) any later 8 * Foundation, version 3.
9 * version.
10 * 9 *
11 * This program is distributed in the hope that it will be useful, but WITHOUT ANY 10 * This program is distributed in the hope that it will be useful, but WITHOUT ANY
12 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 * PARTICULAR PURPOSE. See the GNU General Public License for more details. 12 * PARTICULAR PURPOSE. See the GNU General Public License for more details.
14 * 13 *
15 * You should have received a copy of the GNU General Public License along with this 14 * You should have received a copy of the GNU General Public License along with this
16 * program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, 15 * program. If not, see <https://www.gnu.org/licenses/>.
17 * Fifth Floor, Boston, MA 02110-1301, USA.
18 */ 16 */
19package com.github.markozajc.akiwrapper.core.entities; 17package org.eu.zajc.akiwrapper.core.entities;
20 18
21import java.net.URL; 19import java.net.URL;
22 20
23import javax.annotation.*; 21import javax.annotation.*;
24 22
25import com.github.markozajc.akiwrapper.*; 23import org.eu.zajc.akiwrapper.*;
26import com.github.markozajc.akiwrapper.core.entities.Server.GuessType; 24import org.eu.zajc.akiwrapper.core.entities.Server.GuessType;
27 25
28/** 26/**
29 * A representation of Akinator's guess. A guess may span different types of subject, 27 * A representation of Akinator's guess. A guess may span different types of subject,
diff --git a/src/main/java/com/github/markozajc/akiwrapper/core/entities/Identifiable.java b/src/main/java/org/eu/zajc/akiwrapper/core/entities/Identifiable.java
index 995950a..273ac83 100644
--- a/src/main/java/com/github/markozajc/akiwrapper/core/entities/Identifiable.java
+++ b/src/main/java/org/eu/zajc/akiwrapper/core/entities/Identifiable.java
@@ -3,20 +3,18 @@
3 * Akiwrapper, the Java API wrapper for Akinator 3 * Akiwrapper, the Java API wrapper for Akinator
4 * Copyright (C) 2017-2023 Marko Zajc 4 * Copyright (C) 2017-2023 Marko Zajc
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it under the 6 * This program is free software: you can redistribute it and/or modify it under the
7 * terms of the GNU General Public License as published by the Free Software 7 * terms of the GNU General Public License as published by the Free Software
8 * Foundation; either version 3 of the License, or (at your option) any later 8 * Foundation, version 3.
9 * version.
10 * 9 *
11 * This program is distributed in the hope that it will be useful, but WITHOUT ANY 10 * This program is distributed in the hope that it will be useful, but WITHOUT ANY
12 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 * PARTICULAR PURPOSE. See the GNU General Public License for more details. 12 * PARTICULAR PURPOSE. See the GNU General Public License for more details.
14 * 13 *
15 * You should have received a copy of the GNU General Public License along with this 14 * You should have received a copy of the GNU General Public License along with this
16 * program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, 15 * program. If not, see <https://www.gnu.org/licenses/>.
17 * Fifth Floor, Boston, MA 02110-1301, USA.
18 */ 16 */
19package com.github.markozajc.akiwrapper.core.entities; 17package org.eu.zajc.akiwrapper.core.entities;
20 18
21import javax.annotation.Nonnull; 19import javax.annotation.Nonnull;
22 20
diff --git a/src/main/java/com/github/markozajc/akiwrapper/core/entities/Question.java b/src/main/java/org/eu/zajc/akiwrapper/core/entities/Question.java
index 7a36857..44160c6 100644
--- a/src/main/java/com/github/markozajc/akiwrapper/core/entities/Question.java
+++ b/src/main/java/org/eu/zajc/akiwrapper/core/entities/Question.java
@@ -3,25 +3,23 @@
3 * Akiwrapper, the Java API wrapper for Akinator 3 * Akiwrapper, the Java API wrapper for Akinator
4 * Copyright (C) 2017-2023 Marko Zajc 4 * Copyright (C) 2017-2023 Marko Zajc
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it under the 6 * This program is free software: you can redistribute it and/or modify it under the
7 * terms of the GNU General Public License as published by the Free Software 7 * terms of the GNU General Public License as published by the Free Software
8 * Foundation; either version 3 of the License, or (at your option) any later 8 * Foundation, version 3.
9 * version.
10 * 9 *
11 * This program is distributed in the hope that it will be useful, but WITHOUT ANY 10 * This program is distributed in the hope that it will be useful, but WITHOUT ANY
12 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 * PARTICULAR PURPOSE. See the GNU General Public License for more details. 12 * PARTICULAR PURPOSE. See the GNU General Public License for more details.
14 * 13 *
15 * You should have received a copy of the GNU General Public License along with this 14 * You should have received a copy of the GNU General Public License along with this
16 * program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, 15 * program. If not, see <https://www.gnu.org/licenses/>.
17 * Fifth Floor, Boston, MA 02110-1301, USA.
18 */ 16 */
19package com.github.markozajc.akiwrapper.core.entities; 17package org.eu.zajc.akiwrapper.core.entities;
20 18
21import javax.annotation.Nonnull; 19import javax.annotation.Nonnull;
22 20
23import com.github.markozajc.akiwrapper.Akiwrapper.Answer; 21import org.eu.zajc.akiwrapper.Akiwrapper.Answer;
24import com.github.markozajc.akiwrapper.AkiwrapperBuilder; 22import org.eu.zajc.akiwrapper.AkiwrapperBuilder;
25 23
26/** 24/**
27 * A representation of Akinator's question that is to be answered with an 25 * A representation of Akinator's question that is to be answered with an
diff --git a/src/main/java/com/github/markozajc/akiwrapper/core/entities/Server.java b/src/main/java/org/eu/zajc/akiwrapper/core/entities/Server.java
index 1a4081b..168ad43 100644
--- a/src/main/java/com/github/markozajc/akiwrapper/core/entities/Server.java
+++ b/src/main/java/org/eu/zajc/akiwrapper/core/entities/Server.java
@@ -3,24 +3,22 @@
3 * Akiwrapper, the Java API wrapper for Akinator 3 * Akiwrapper, the Java API wrapper for Akinator
4 * Copyright (C) 2017-2023 Marko Zajc 4 * Copyright (C) 2017-2023 Marko Zajc
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it under the 6 * This program is free software: you can redistribute it and/or modify it under the
7 * terms of the GNU General Public License as published by the Free Software 7 * terms of the GNU General Public License as published by the Free Software
8 * Foundation; either version 3 of the License, or (at your option) any later 8 * Foundation, version 3.
9 * version.
10 * 9 *
11 * This program is distributed in the hope that it will be useful, but WITHOUT ANY 10 * This program is distributed in the hope that it will be useful, but WITHOUT ANY
12 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 * PARTICULAR PURPOSE. See the GNU General Public License for more details. 12 * PARTICULAR PURPOSE. See the GNU General Public License for more details.
14 * 13 *
15 * You should have received a copy of the GNU General Public License along with this 14 * You should have received a copy of the GNU General Public License along with this
16 * program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, 15 * program. If not, see <https://www.gnu.org/licenses/>.
17 * Fifth Floor, Boston, MA 02110-1301, USA.
18 */ 16 */
19package com.github.markozajc.akiwrapper.core.entities; 17package org.eu.zajc.akiwrapper.core.entities;
20 18
21import javax.annotation.*; 19import javax.annotation.*;
22 20
23import com.github.markozajc.akiwrapper.core.utils.Servers; 21import org.eu.zajc.akiwrapper.core.utils.Servers;
24 22
25import kong.unirest.UnirestInstance; 23import kong.unirest.UnirestInstance;
26 24
diff --git a/src/main/java/com/github/markozajc/akiwrapper/core/entities/Status.java b/src/main/java/org/eu/zajc/akiwrapper/core/entities/Status.java
index 724dc17..28820c5 100644
--- a/src/main/java/com/github/markozajc/akiwrapper/core/entities/Status.java
+++ b/src/main/java/org/eu/zajc/akiwrapper/core/entities/Status.java
@@ -3,26 +3,24 @@
3 * Akiwrapper, the Java API wrapper for Akinator 3 * Akiwrapper, the Java API wrapper for Akinator
4 * Copyright (C) 2017-2023 Marko Zajc 4 * Copyright (C) 2017-2023 Marko Zajc
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it under the 6 * This program is free software: you can redistribute it and/or modify it under the
7 * terms of the GNU General Public License as published by the Free Software 7 * terms of the GNU General Public License as published by the Free Software
8 * Foundation; either version 3 of the License, or (at your option) any later 8 * Foundation, version 3.
9 * version.
10 * 9 *
11 * This program is distributed in the hope that it will be useful, but WITHOUT ANY 10 * This program is distributed in the hope that it will be useful, but WITHOUT ANY
12 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 * PARTICULAR PURPOSE. See the GNU General Public License for more details. 12 * PARTICULAR PURPOSE. See the GNU General Public License for more details.
14 * 13 *
15 * You should have received a copy of the GNU General Public License along with this 14 * You should have received a copy of the GNU General Public License along with this
16 * program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, 15 * program. If not, see <https://www.gnu.org/licenses/>.
17 * Fifth Floor, Boston, MA 02110-1301, USA.
18 */ 16 */
19package com.github.markozajc.akiwrapper.core.entities; 17package org.eu.zajc.akiwrapper.core.entities;
20 18
21import java.io.Serializable; 19import java.io.Serializable;
22 20
23import javax.annotation.*; 21import javax.annotation.*;
24 22
25import com.github.markozajc.akiwrapper.core.exceptions.ServerStatusException; 23import org.eu.zajc.akiwrapper.core.exceptions.ServerStatusException;
26 24
27/** 25/**
28 * An interface used to represent API call's completion status. 26 * An interface used to represent API call's completion status.
diff --git a/src/main/java/com/github/markozajc/akiwrapper/core/entities/impl/GuessImpl.java b/src/main/java/org/eu/zajc/akiwrapper/core/entities/impl/GuessImpl.java
index 7f416ed..a5ec4c1 100644
--- a/src/main/java/com/github/markozajc/akiwrapper/core/entities/impl/GuessImpl.java
+++ b/src/main/java/org/eu/zajc/akiwrapper/core/entities/impl/GuessImpl.java
@@ -3,32 +3,30 @@
3 * Akiwrapper, the Java API wrapper for Akinator 3 * Akiwrapper, the Java API wrapper for Akinator
4 * Copyright (C) 2017-2023 Marko Zajc 4 * Copyright (C) 2017-2023 Marko Zajc
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it under the 6 * This program is free software: you can redistribute it and/or modify it under the
7 * terms of the GNU General Public License as published by the Free Software 7 * terms of the GNU General Public License as published by the Free Software
8 * Foundation; either version 3 of the License, or (at your option) any later 8 * Foundation, version 3.
9 * version.
10 * 9 *
11 * This program is distributed in the hope that it will be useful, but WITHOUT ANY 10 * This program is distributed in the hope that it will be useful, but WITHOUT ANY
12 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 * PARTICULAR PURPOSE. See the GNU General Public License for more details. 12 * PARTICULAR PURPOSE. See the GNU General Public License for more details.
14 * 13 *
15 * You should have received a copy of the GNU General Public License along with this 14 * You should have received a copy of the GNU General Public License along with this
16 * program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, 15 * program. If not, see <https://www.gnu.org/licenses/>.
17 * Fifth Floor, Boston, MA 02110-1301, USA.
18 */ 16 */
19package com.github.markozajc.akiwrapper.core.entities.impl;
20 17
21import static com.github.markozajc.akiwrapper.core.utils.JSONUtils.*; 18package org.eu.zajc.akiwrapper.core.entities.impl;
19
22import static java.lang.Double.compare; 20import static java.lang.Double.compare;
21import static org.eu.zajc.akiwrapper.core.utils.JSONUtils.*;
23 22
24import java.net.*; 23import java.net.*;
25 24
26import javax.annotation.*; 25import javax.annotation.*;
27 26
27import org.eu.zajc.akiwrapper.core.entities.Guess;
28import org.json.JSONObject; 28import org.json.JSONObject;
29 29
30import com.github.markozajc.akiwrapper.core.entities.Guess;
31
32/** 30/**
33 * <b>Note:</b> This is an internal class and its internals are subject to change 31 * <b>Note:</b> This is an internal class and its internals are subject to change
34 * without prior deprecation. Use with caution.<br> 32 * without prior deprecation. Use with caution.<br>
diff --git a/src/main/java/com/github/markozajc/akiwrapper/core/entities/impl/QuestionImpl.java b/src/main/java/org/eu/zajc/akiwrapper/core/entities/impl/QuestionImpl.java
index bb85a28..5a8bd02 100644
--- a/src/main/java/com/github/markozajc/akiwrapper/core/entities/impl/QuestionImpl.java
+++ b/src/main/java/org/eu/zajc/akiwrapper/core/entities/impl/QuestionImpl.java
@@ -3,29 +3,26 @@
3 * Akiwrapper, the Java API wrapper for Akinator 3 * Akiwrapper, the Java API wrapper for Akinator
4 * Copyright (C) 2017-2023 Marko Zajc 4 * Copyright (C) 2017-2023 Marko Zajc
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it under the 6 * This program is free software: you can redistribute it and/or modify it under the
7 * terms of the GNU General Public License as published by the Free Software 7 * terms of the GNU General Public License as published by the Free Software
8 * Foundation; either version 3 of the License, or (at your option) any later 8 * Foundation, version 3.
9 * version.
10 * 9 *
11 * This program is distributed in the hope that it will be useful, but WITHOUT ANY 10 * This program is distributed in the hope that it will be useful, but WITHOUT ANY
12 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 * PARTICULAR PURPOSE. See the GNU General Public License for more details. 12 * PARTICULAR PURPOSE. See the GNU General Public License for more details.
14 * 13 *
15 * You should have received a copy of the GNU General Public License along with this 14 * You should have received a copy of the GNU General Public License along with this
16 * program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, 15 * program. If not, see <https://www.gnu.org/licenses/>.
17 * Fifth Floor, Boston, MA 02110-1301, USA.
18 */ 16 */
19package com.github.markozajc.akiwrapper.core.entities.impl; 17package org.eu.zajc.akiwrapper.core.entities.impl;
20 18
21import static com.github.markozajc.akiwrapper.core.utils.JSONUtils.*; 19import static org.eu.zajc.akiwrapper.core.utils.JSONUtils.*;
22 20
23import javax.annotation.*; 21import javax.annotation.*;
24 22
23import org.eu.zajc.akiwrapper.core.entities.Question;
25import org.json.JSONObject; 24import org.json.JSONObject;
26 25
27import com.github.markozajc.akiwrapper.core.entities.Question;
28
29/** 26/**
30 * <b>Note:</b> This is an internal class and its internals are subject to change 27 * <b>Note:</b> This is an internal class and its internals are subject to change
31 * without prior deprecation. Use with caution.<br> 28 * without prior deprecation. Use with caution.<br>
diff --git a/src/main/java/com/github/markozajc/akiwrapper/core/entities/impl/ServerImpl.java b/src/main/java/org/eu/zajc/akiwrapper/core/entities/impl/ServerImpl.java
index c376bec..aedd43f 100644
--- a/src/main/java/com/github/markozajc/akiwrapper/core/entities/impl/ServerImpl.java
+++ b/src/main/java/org/eu/zajc/akiwrapper/core/entities/impl/ServerImpl.java
@@ -3,20 +3,18 @@
3 * Akiwrapper, the Java API wrapper for Akinator 3 * Akiwrapper, the Java API wrapper for Akinator
4 * Copyright (C) 2017-2023 Marko Zajc 4 * Copyright (C) 2017-2023 Marko Zajc
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it under the 6 * This program is free software: you can redistribute it and/or modify it under the
7 * terms of the GNU General Public License as published by the Free Software 7 * terms of the GNU General Public License as published by the Free Software
8 * Foundation; either version 3 of the License, or (at your option) any later 8 * Foundation, version 3.
9 * version.
10 * 9 *
11 * This program is distributed in the hope that it will be useful, but WITHOUT ANY 10 * This program is distributed in the hope that it will be useful, but WITHOUT ANY
12 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 * PARTICULAR PURPOSE. See the GNU General Public License for more details. 12 * PARTICULAR PURPOSE. See the GNU General Public License for more details.
14 * 13 *
15 * You should have received a copy of the GNU General Public License along with this 14 * You should have received a copy of the GNU General Public License along with this
16 * program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, 15 * program. If not, see <https://www.gnu.org/licenses/>.
17 * Fifth Floor, Boston, MA 02110-1301, USA.
18 */ 16 */
19package com.github.markozajc.akiwrapper.core.entities.impl; 17package org.eu.zajc.akiwrapper.core.entities.impl;
20 18
21import static java.nio.charset.StandardCharsets.UTF_8; 19import static java.nio.charset.StandardCharsets.UTF_8;
22 20
@@ -26,7 +24,8 @@ import java.util.stream.Collectors;
26 24
27import javax.annotation.Nonnull; 25import javax.annotation.Nonnull;
28 26
29import com.github.markozajc.akiwrapper.core.entities.Server; 27import org.eu.zajc.akiwrapper.core.entities.Server;
28
30import com.jcabi.xml.XML; 29import com.jcabi.xml.XML;
31 30
32/** 31/**
diff --git a/src/main/java/com/github/markozajc/akiwrapper/core/entities/impl/StatusImpl.java b/src/main/java/org/eu/zajc/akiwrapper/core/entities/impl/StatusImpl.java
index 0aaf6fa..4c05285 100644
--- a/src/main/java/com/github/markozajc/akiwrapper/core/entities/impl/StatusImpl.java
+++ b/src/main/java/org/eu/zajc/akiwrapper/core/entities/impl/StatusImpl.java
@@ -3,29 +3,26 @@
3 * Akiwrapper, the Java API wrapper for Akinator 3 * Akiwrapper, the Java API wrapper for Akinator
4 * Copyright (C) 2017-2023 Marko Zajc 4 * Copyright (C) 2017-2023 Marko Zajc
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it under the 6 * This program is free software: you can redistribute it and/or modify it under the
7 * terms of the GNU General Public License as published by the Free Software 7 * terms of the GNU General Public License as published by the Free Software
8 * Foundation; either version 3 of the License, or (at your option) any later 8 * Foundation, version 3.
9 * version.
10 * 9 *
11 * This program is distributed in the hope that it will be useful, but WITHOUT ANY 10 * This program is distributed in the hope that it will be useful, but WITHOUT ANY
12 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 * PARTICULAR PURPOSE. See the GNU General Public License for more details. 12 * PARTICULAR PURPOSE. See the GNU General Public License for more details.
14 * 13 *
15 * You should have received a copy of the GNU General Public License along with this 14 * You should have received a copy of the GNU General Public License along with this
16 * program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, 15 * program. If not, see <https://www.gnu.org/licenses/>.
17 * Fifth Floor, Boston, MA 02110-1301, USA.
18 */ 16 */
19package com.github.markozajc.akiwrapper.core.entities.impl; 17package org.eu.zajc.akiwrapper.core.entities.impl;
20 18
21import static com.github.markozajc.akiwrapper.core.entities.Status.Reason.UNKNOWN; 19import static org.eu.zajc.akiwrapper.core.entities.Status.Reason.UNKNOWN;
22 20
23import javax.annotation.*; 21import javax.annotation.*;
24 22
23import org.eu.zajc.akiwrapper.core.entities.Status;
25import org.json.JSONObject; 24import org.json.JSONObject;
26 25
27import com.github.markozajc.akiwrapper.core.entities.Status;
28
29/** 26/**
30 * <b>Note:</b> This is an internal class and its internals are subject to change 27 * <b>Note:</b> This is an internal class and its internals are subject to change
31 * without prior deprecation. Use with caution.<br> 28 * without prior deprecation. Use with caution.<br>
diff --git a/src/main/java/com/github/markozajc/akiwrapper/core/exceptions/AkinatorException.java b/src/main/java/org/eu/zajc/akiwrapper/core/exceptions/AkinatorException.java
index 52f3dc3..d776678 100644
--- a/src/main/java/com/github/markozajc/akiwrapper/core/exceptions/AkinatorException.java
+++ b/src/main/java/org/eu/zajc/akiwrapper/core/exceptions/AkinatorException.java
@@ -3,20 +3,18 @@
3 * Akiwrapper, the Java API wrapper for Akinator 3 * Akiwrapper, the Java API wrapper for Akinator
4 * Copyright (C) 2017-2023 Marko Zajc 4 * Copyright (C) 2017-2023 Marko Zajc
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it under the 6 * This program is free software: you can redistribute it and/or modify it under the
7 * terms of the GNU General Public License as published by the Free Software 7 * terms of the GNU General Public License as published by the Free Software
8 * Foundation; either version 3 of the License, or (at your option) any later 8 * Foundation, version 3.
9 * version.
10 * 9 *
11 * This program is distributed in the hope that it will be useful, but WITHOUT ANY 10 * This program is distributed in the hope that it will be useful, but WITHOUT ANY
12 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 * PARTICULAR PURPOSE. See the GNU General Public License for more details. 12 * PARTICULAR PURPOSE. See the GNU General Public License for more details.
14 * 13 *
15 * You should have received a copy of the GNU General Public License along with this 14 * You should have received a copy of the GNU General Public License along with this
16 * program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, 15 * program. If not, see <https://www.gnu.org/licenses/>.
17 * Fifth Floor, Boston, MA 02110-1301, USA.
18 */ 16 */
19package com.github.markozajc.akiwrapper.core.exceptions; 17package org.eu.zajc.akiwrapper.core.exceptions;
20 18
21import javax.annotation.*; 19import javax.annotation.*;
22 20
diff --git a/src/main/java/com/github/markozajc/akiwrapper/core/exceptions/QuestionsExhaustedException.java b/src/main/java/org/eu/zajc/akiwrapper/core/exceptions/QuestionsExhaustedException.java
index a592932..7b9a342 100644
--- a/src/main/java/com/github/markozajc/akiwrapper/core/exceptions/QuestionsExhaustedException.java
+++ b/src/main/java/org/eu/zajc/akiwrapper/core/exceptions/QuestionsExhaustedException.java
@@ -3,20 +3,18 @@
3 * Akiwrapper, the Java API wrapper for Akinator 3 * Akiwrapper, the Java API wrapper for Akinator
4 * Copyright (C) 2017-2023 Marko Zajc 4 * Copyright (C) 2017-2023 Marko Zajc
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it under the 6 * This program is free software: you can redistribute it and/or modify it under the
7 * terms of the GNU General Public License as published by the Free Software 7 * terms of the GNU General Public License as published by the Free Software
8 * Foundation; either version 3 of the License, or (at your option) any later 8 * Foundation, version 3.
9 * version.
10 * 9 *
11 * This program is distributed in the hope that it will be useful, but WITHOUT ANY 10 * This program is distributed in the hope that it will be useful, but WITHOUT ANY
12 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 * PARTICULAR PURPOSE. See the GNU General Public License for more details. 12 * PARTICULAR PURPOSE. See the GNU General Public License for more details.
14 * 13 *
15 * You should have received a copy of the GNU General Public License along with this 14 * You should have received a copy of the GNU General Public License along with this
16 * program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, 15 * program. If not, see <https://www.gnu.org/licenses/>.
17 * Fifth Floor, Boston, MA 02110-1301, USA.
18 */ 16 */
19package com.github.markozajc.akiwrapper.core.exceptions; 17package org.eu.zajc.akiwrapper.core.exceptions;
20 18
21/** 19/**
22 * An exception indicating that there is no question left to answer or fetch. 20 * An exception indicating that there is no question left to answer or fetch.
diff --git a/src/main/java/com/github/markozajc/akiwrapper/core/exceptions/ServerNotFoundException.java b/src/main/java/org/eu/zajc/akiwrapper/core/exceptions/ServerNotFoundException.java
index cfb3733..516e95e 100644
--- a/src/main/java/com/github/markozajc/akiwrapper/core/exceptions/ServerNotFoundException.java
+++ b/src/main/java/org/eu/zajc/akiwrapper/core/exceptions/ServerNotFoundException.java
@@ -3,25 +3,23 @@
3 * Akiwrapper, the Java API wrapper for Akinator 3 * Akiwrapper, the Java API wrapper for Akinator
4 * Copyright (C) 2017-2023 Marko Zajc 4 * Copyright (C) 2017-2023 Marko Zajc
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it under the 6 * This program is free software: you can redistribute it and/or modify it under the
7 * terms of the GNU General Public License as published by the Free Software 7 * terms of the GNU General Public License as published by the Free Software
8 * Foundation; either version 3 of the License, or (at your option) any later 8 * Foundation, version 3.
9 * version.
10 * 9 *
11 * This program is distributed in the hope that it will be useful, but WITHOUT ANY 10 * This program is distributed in the hope that it will be useful, but WITHOUT ANY
12 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 * PARTICULAR PURPOSE. See the GNU General Public License for more details. 12 * PARTICULAR PURPOSE. See the GNU General Public License for more details.
14 * 13 *
15 * You should have received a copy of the GNU General Public License along with this 14 * You should have received a copy of the GNU General Public License along with this
16 * program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, 15 * program. If not, see <https://www.gnu.org/licenses/>.
17 * Fifth Floor, Boston, MA 02110-1301, USA.
18 */ 16 */
19package com.github.markozajc.akiwrapper.core.exceptions; 17package org.eu.zajc.akiwrapper.core.exceptions;
20 18
21import javax.annotation.Nonnull; 19import javax.annotation.Nonnull;
22 20
23import com.github.markozajc.akiwrapper.core.entities.Server; 21import org.eu.zajc.akiwrapper.core.entities.Server;
24import com.github.markozajc.akiwrapper.core.entities.Server.*; 22import org.eu.zajc.akiwrapper.core.entities.Server.*;
25 23
26/** 24/**
27 * An exception indicating that no {@link Server} could be found for the given 25 * An exception indicating that no {@link Server} could be found for the given
diff --git a/src/main/java/com/github/markozajc/akiwrapper/core/exceptions/ServerStatusException.java b/src/main/java/org/eu/zajc/akiwrapper/core/exceptions/ServerStatusException.java
index 7dcdd28..790f247 100644
--- a/src/main/java/com/github/markozajc/akiwrapper/core/exceptions/ServerStatusException.java
+++ b/src/main/java/org/eu/zajc/akiwrapper/core/exceptions/ServerStatusException.java
@@ -3,23 +3,21 @@
3 * Akiwrapper, the Java API wrapper for Akinator 3 * Akiwrapper, the Java API wrapper for Akinator
4 * Copyright (C) 2017-2023 Marko Zajc 4 * Copyright (C) 2017-2023 Marko Zajc
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it under the 6 * This program is free software: you can redistribute it and/or modify it under the
7 * terms of the GNU General Public License as published by the Free Software 7 * terms of the GNU General Public License as published by the Free Software
8 * Foundation; either version 3 of the License, or (at your option) any later 8 * Foundation, version 3.
9 * version.
10 * 9 *
11 * This program is distributed in the hope that it will be useful, but WITHOUT ANY 10 * This program is distributed in the hope that it will be useful, but WITHOUT ANY
12 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 * PARTICULAR PURPOSE. See the GNU General Public License for more details. 12 * PARTICULAR PURPOSE. See the GNU General Public License for more details.
14 * 13 *
15 * You should have received a copy of the GNU General Public License along with this 14 * You should have received a copy of the GNU General Public License along with this
16 * program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, 15 * program. If not, see <https://www.gnu.org/licenses/>.
17 * Fifth Floor, Boston, MA 02110-1301, USA.
18 */ 16 */
19package com.github.markozajc.akiwrapper.core.exceptions; 17package org.eu.zajc.akiwrapper.core.exceptions;
20 18
21import com.github.markozajc.akiwrapper.core.entities.Status; 19import org.eu.zajc.akiwrapper.core.entities.Status;
22import com.github.markozajc.akiwrapper.core.entities.Status.Level; 20import org.eu.zajc.akiwrapper.core.entities.Status.Level;
23 21
24import kong.unirest.HttpResponse; 22import kong.unirest.HttpResponse;
25 23
diff --git a/src/main/java/com/github/markozajc/akiwrapper/core/exceptions/UndoOutOfBoundsException.java b/src/main/java/org/eu/zajc/akiwrapper/core/exceptions/UndoOutOfBoundsException.java
index da4c108..e3e706e 100644
--- a/src/main/java/com/github/markozajc/akiwrapper/core/exceptions/UndoOutOfBoundsException.java
+++ b/src/main/java/org/eu/zajc/akiwrapper/core/exceptions/UndoOutOfBoundsException.java
@@ -3,22 +3,20 @@
3 * Akiwrapper, the Java API wrapper for Akinator 3 * Akiwrapper, the Java API wrapper for Akinator
4 * Copyright (C) 2017-2023 Marko Zajc 4 * Copyright (C) 2017-2023 Marko Zajc
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it under the 6 * This program is free software: you can redistribute it and/or modify it under the
7 * terms of the GNU General Public License as published by the Free Software 7 * terms of the GNU General Public License as published by the Free Software
8 * Foundation; either version 3 of the License, or (at your option) any later 8 * Foundation, version 3.
9 * version.
10 * 9 *
11 * This program is distributed in the hope that it will be useful, but WITHOUT ANY 10 * This program is distributed in the hope that it will be useful, but WITHOUT ANY
12 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 * PARTICULAR PURPOSE. See the GNU General Public License for more details. 12 * PARTICULAR PURPOSE. See the GNU General Public License for more details.
14 * 13 *
15 * You should have received a copy of the GNU General Public License along with this 14 * You should have received a copy of the GNU General Public License along with this
16 * program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, 15 * program. If not, see <https://www.gnu.org/licenses/>.
17 * Fifth Floor, Boston, MA 02110-1301, USA.
18 */ 16 */
19package com.github.markozajc.akiwrapper.core.exceptions; 17package org.eu.zajc.akiwrapper.core.exceptions;
20 18
21import com.github.markozajc.akiwrapper.Akiwrapper; 19import org.eu.zajc.akiwrapper.Akiwrapper;
22 20
23/** 21/**
24 * An exception indicating that {@link Akiwrapper#undoAnswer()} has been called on 22 * An exception indicating that {@link Akiwrapper#undoAnswer()} has been called on
diff --git a/src/main/java/com/github/markozajc/akiwrapper/core/impl/AkiwrapperImpl.java b/src/main/java/org/eu/zajc/akiwrapper/core/impl/AkiwrapperImpl.java
index a3059ec..32b47c6 100644
--- a/src/main/java/com/github/markozajc/akiwrapper/core/impl/AkiwrapperImpl.java
+++ b/src/main/java/org/eu/zajc/akiwrapper/core/impl/AkiwrapperImpl.java
@@ -3,28 +3,26 @@
3 * Akiwrapper, the Java API wrapper for Akinator 3 * Akiwrapper, the Java API wrapper for Akinator
4 * Copyright (C) 2017-2023 Marko Zajc 4 * Copyright (C) 2017-2023 Marko Zajc
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it under the 6 * This program is free software: you can redistribute it and/or modify it under the
7 * terms of the GNU General Public License as published by the Free Software 7 * terms of the GNU General Public License as published by the Free Software
8 * Foundation; either version 3 of the License, or (at your option) any later 8 * Foundation, version 3.
9 * version.
10 * 9 *
11 * This program is distributed in the hope that it will be useful, but WITHOUT ANY 10 * This program is distributed in the hope that it will be useful, but WITHOUT ANY
12 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 * PARTICULAR PURPOSE. See the GNU General Public License for more details. 12 * PARTICULAR PURPOSE. See the GNU General Public License for more details.
14 * 13 *
15 * You should have received a copy of the GNU General Public License along with this 14 * You should have received a copy of the GNU General Public License along with this
16 * program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, 15 * program. If not, see <https://www.gnu.org/licenses/>.
17 * Fifth Floor, Boston, MA 02110-1301, USA.
18 */ 16 */
19package com.github.markozajc.akiwrapper.core.impl; 17package org.eu.zajc.akiwrapper.core.impl;
20 18
21import static com.github.markozajc.akiwrapper.core.entities.Status.Reason.QUESTIONS_EXHAUSTED;
22import static com.github.markozajc.akiwrapper.core.utils.route.Routes.*;
23import static java.lang.Integer.parseInt; 19import static java.lang.Integer.parseInt;
24import static java.lang.Long.parseLong; 20import static java.lang.Long.parseLong;
25import static java.lang.String.format; 21import static java.lang.String.format;
26import static java.util.stream.Collectors.toUnmodifiableList; 22import static java.util.stream.Collectors.toUnmodifiableList;
27import static java.util.stream.StreamSupport.stream; 23import static java.util.stream.StreamSupport.stream;
24import static org.eu.zajc.akiwrapper.core.entities.Status.Reason.QUESTIONS_EXHAUSTED;
25import static org.eu.zajc.akiwrapper.core.utils.route.Routes.*;
28 26
29import java.util.List; 27import java.util.List;
30 28
@@ -32,15 +30,14 @@ import javax.annotation.Nonnull;
32 30
33import org.eclipse.collections.api.factory.primitive.LongSets; 31import org.eclipse.collections.api.factory.primitive.LongSets;
34import org.eclipse.collections.api.set.primitive.MutableLongSet; 32import org.eclipse.collections.api.set.primitive.MutableLongSet;
33import org.eu.zajc.akiwrapper.Akiwrapper;
34import org.eu.zajc.akiwrapper.core.entities.*;
35import org.eu.zajc.akiwrapper.core.entities.impl.*;
36import org.eu.zajc.akiwrapper.core.exceptions.*;
37import org.eu.zajc.akiwrapper.core.utils.ApiKey;
35import org.json.JSONObject; 38import org.json.JSONObject;
36import org.slf4j.*; 39import org.slf4j.*;
37 40
38import com.github.markozajc.akiwrapper.Akiwrapper;
39import com.github.markozajc.akiwrapper.core.entities.*;
40import com.github.markozajc.akiwrapper.core.entities.impl.*;
41import com.github.markozajc.akiwrapper.core.exceptions.*;
42import com.github.markozajc.akiwrapper.core.utils.ApiKey;
43
44import kong.unirest.UnirestInstance; 41import kong.unirest.UnirestInstance;
45 42
46/** 43/**
diff --git a/src/main/java/com/github/markozajc/akiwrapper/core/utils/ApiKey.java b/src/main/java/org/eu/zajc/akiwrapper/core/utils/ApiKey.java
index 002a309..c070cb4 100644
--- a/src/main/java/com/github/markozajc/akiwrapper/core/utils/ApiKey.java
+++ b/src/main/java/org/eu/zajc/akiwrapper/core/utils/ApiKey.java
@@ -3,20 +3,18 @@
3 * Akiwrapper, the Java API wrapper for Akinator 3 * Akiwrapper, the Java API wrapper for Akinator
4 * Copyright (C) 2017-2023 Marko Zajc 4 * Copyright (C) 2017-2023 Marko Zajc
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it under the 6 * This program is free software: you can redistribute it and/or modify it under the
7 * terms of the GNU General Public License as published by the Free Software 7 * terms of the GNU General Public License as published by the Free Software
8 * Foundation; either version 3 of the License, or (at your option) any later 8 * Foundation, version 3.
9 * version.
10 * 9 *
11 * This program is distributed in the hope that it will be useful, but WITHOUT ANY 10 * This program is distributed in the hope that it will be useful, but WITHOUT ANY
12 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 * PARTICULAR PURPOSE. See the GNU General Public License for more details. 12 * PARTICULAR PURPOSE. See the GNU General Public License for more details.
14 * 13 *
15 * You should have received a copy of the GNU General Public License along with this 14 * You should have received a copy of the GNU General Public License along with this
16 * program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, 15 * program. If not, see <https://www.gnu.org/licenses/>.
17 * Fifth Floor, Boston, MA 02110-1301, USA.
18 */ 16 */
19package com.github.markozajc.akiwrapper.core.utils; 17package org.eu.zajc.akiwrapper.core.utils;
20 18
21import static java.lang.String.format; 19import static java.lang.String.format;
22import static java.nio.charset.StandardCharsets.UTF_8; 20import static java.nio.charset.StandardCharsets.UTF_8;
@@ -27,7 +25,7 @@ import java.util.regex.Pattern;
27 25
28import javax.annotation.Nonnull; 26import javax.annotation.Nonnull;
29 27
30import com.github.markozajc.akiwrapper.core.utils.route.Route; 28import org.eu.zajc.akiwrapper.core.utils.route.Route;
31 29
32import kong.unirest.UnirestInstance; 30import kong.unirest.UnirestInstance;
33 31
diff --git a/src/main/java/com/github/markozajc/akiwrapper/core/utils/JSONUtils.java b/src/main/java/org/eu/zajc/akiwrapper/core/utils/JSONUtils.java
index fb1a649..57fa1a3 100644
--- a/src/main/java/com/github/markozajc/akiwrapper/core/utils/JSONUtils.java
+++ b/src/main/java/org/eu/zajc/akiwrapper/core/utils/JSONUtils.java
@@ -3,20 +3,18 @@
3 * Akiwrapper, the Java API wrapper for Akinator 3 * Akiwrapper, the Java API wrapper for Akinator
4 * Copyright (C) 2017-2023 Marko Zajc 4 * Copyright (C) 2017-2023 Marko Zajc
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it under the 6 * This program is free software: you can redistribute it and/or modify it under the
7 * terms of the GNU General Public License as published by the Free Software 7 * terms of the GNU General Public License as published by the Free Software
8 * Foundation; either version 3 of the License, or (at your option) any later 8 * Foundation, version 3.
9 * version.
10 * 9 *
11 * This program is distributed in the hope that it will be useful, but WITHOUT ANY 10 * This program is distributed in the hope that it will be useful, but WITHOUT ANY
12 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 * PARTICULAR PURPOSE. See the GNU General Public License for more details. 12 * PARTICULAR PURPOSE. See the GNU General Public License for more details.
14 * 13 *
15 * You should have received a copy of the GNU General Public License along with this 14 * You should have received a copy of the GNU General Public License along with this
16 * program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, 15 * program. If not, see <https://www.gnu.org/licenses/>.
17 * Fifth Floor, Boston, MA 02110-1301, USA.
18 */ 16 */
19package com.github.markozajc.akiwrapper.core.utils; 17package org.eu.zajc.akiwrapper.core.utils;
20 18
21import static java.lang.Double.parseDouble; 19import static java.lang.Double.parseDouble;
22import static java.lang.Integer.parseInt; 20import static java.lang.Integer.parseInt;
diff --git a/src/main/java/com/github/markozajc/akiwrapper/core/utils/Servers.java b/src/main/java/org/eu/zajc/akiwrapper/core/utils/Servers.java
index 68d4f77..0694f5c 100644
--- a/src/main/java/com/github/markozajc/akiwrapper/core/utils/Servers.java
+++ b/src/main/java/org/eu/zajc/akiwrapper/core/utils/Servers.java
@@ -3,20 +3,18 @@
3 * Akiwrapper, the Java API wrapper for Akinator 3 * Akiwrapper, the Java API wrapper for Akinator
4 * Copyright (C) 2017-2023 Marko Zajc 4 * Copyright (C) 2017-2023 Marko Zajc
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it under the 6 * This program is free software: you can redistribute it and/or modify it under the
7 * terms of the GNU General Public License as published by the Free Software 7 * terms of the GNU General Public License as published by the Free Software
8 * Foundation; either version 3 of the License, or (at your option) any later 8 * Foundation, version 3.
9 * version.
10 * 9 *
11 * This program is distributed in the hope that it will be useful, but WITHOUT ANY 10 * This program is distributed in the hope that it will be useful, but WITHOUT ANY
12 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 * PARTICULAR PURPOSE. See the GNU General Public License for more details. 12 * PARTICULAR PURPOSE. See the GNU General Public License for more details.
14 * 13 *
15 * You should have received a copy of the GNU General Public License along with this 14 * You should have received a copy of the GNU General Public License along with this
16 * program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, 15 * program. If not, see <https://www.gnu.org/licenses/>.
17 * Fifth Floor, Boston, MA 02110-1301, USA.
18 */ 16 */
19package com.github.markozajc.akiwrapper.core.utils; 17package org.eu.zajc.akiwrapper.core.utils;
20 18
21import static java.util.stream.Collectors.toList; 19import static java.util.stream.Collectors.toList;
22 20
@@ -25,9 +23,10 @@ import java.util.stream.Stream;
25 23
26import javax.annotation.Nonnull; 24import javax.annotation.Nonnull;
27 25
28import com.github.markozajc.akiwrapper.core.entities.Server; 26import org.eu.zajc.akiwrapper.core.entities.Server;
29import com.github.markozajc.akiwrapper.core.entities.Server.*; 27import org.eu.zajc.akiwrapper.core.entities.Server.*;
30import com.github.markozajc.akiwrapper.core.entities.impl.ServerImpl; 28import org.eu.zajc.akiwrapper.core.entities.impl.ServerImpl;
29
31import com.jcabi.xml.XMLDocument; 30import com.jcabi.xml.XMLDocument;
32 31
33import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; 32import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
diff --git a/src/main/java/com/github/markozajc/akiwrapper/core/utils/UnirestUtils.java b/src/main/java/org/eu/zajc/akiwrapper/core/utils/UnirestUtils.java
index fef9350..0afcee1 100644
--- a/src/main/java/com/github/markozajc/akiwrapper/core/utils/UnirestUtils.java
+++ b/src/main/java/org/eu/zajc/akiwrapper/core/utils/UnirestUtils.java
@@ -3,27 +3,25 @@
3 * Akiwrapper, the Java API wrapper for Akinator 3 * Akiwrapper, the Java API wrapper for Akinator
4 * Copyright (C) 2017-2023 Marko Zajc 4 * Copyright (C) 2017-2023 Marko Zajc
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it under the 6 * This program is free software: you can redistribute it and/or modify it under the
7 * terms of the GNU General Public License as published by the Free Software 7 * terms of the GNU General Public License as published by the Free Software
8 * Foundation; either version 3 of the License, or (at your option) any later 8 * Foundation, version 3.
9 * version.
10 * 9 *
11 * This program is distributed in the hope that it will be useful, but WITHOUT ANY 10 * This program is distributed in the hope that it will be useful, but WITHOUT ANY
12 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 * PARTICULAR PURPOSE. See the GNU General Public License for more details. 12 * PARTICULAR PURPOSE. See the GNU General Public License for more details.
14 * 13 *
15 * You should have received a copy of the GNU General Public License along with this 14 * You should have received a copy of the GNU General Public License along with this
16 * program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, 15 * program. If not, see <https://www.gnu.org/licenses/>.
17 * Fifth Floor, Boston, MA 02110-1301, USA.
18 */ 16 */
19package com.github.markozajc.akiwrapper.core.utils; 17package org.eu.zajc.akiwrapper.core.utils;
20 18
21import static com.github.markozajc.akiwrapper.core.utils.WorkaroundUtils.workaroundIncompleteChain;
22import static kong.unirest.Unirest.spawnInstance; 19import static kong.unirest.Unirest.spawnInstance;
20import static org.eu.zajc.akiwrapper.core.utils.WorkaroundUtils.workaroundIncompleteChain;
23 21
24import javax.annotation.Nonnull; 22import javax.annotation.Nonnull;
25 23
26import com.github.markozajc.akiwrapper.AkiwrapperBuilder; 24import org.eu.zajc.akiwrapper.AkiwrapperBuilder;
27 25
28import kong.unirest.UnirestInstance; 26import kong.unirest.UnirestInstance;
29 27
diff --git a/src/main/java/com/github/markozajc/akiwrapper/core/utils/Utilities.java b/src/main/java/org/eu/zajc/akiwrapper/core/utils/Utilities.java
index 8c7e29e..09ac511 100644
--- a/src/main/java/com/github/markozajc/akiwrapper/core/utils/Utilities.java
+++ b/src/main/java/org/eu/zajc/akiwrapper/core/utils/Utilities.java
@@ -3,20 +3,18 @@
3 * Akiwrapper, the Java API wrapper for Akinator 3 * Akiwrapper, the Java API wrapper for Akinator
4 * Copyright (C) 2017-2023 Marko Zajc 4 * Copyright (C) 2017-2023 Marko Zajc
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it under the 6 * This program is free software: you can redistribute it and/or modify it under the
7 * terms of the GNU General Public License as published by the Free Software 7 * terms of the GNU General Public License as published by the Free Software
8 * Foundation; either version 3 of the License, or (at your option) any later 8 * Foundation, version 3.
9 * version.
10 * 9 *
11 * This program is distributed in the hope that it will be useful, but WITHOUT ANY 10 * This program is distributed in the hope that it will be useful, but WITHOUT ANY
12 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 * PARTICULAR PURPOSE. See the GNU General Public License for more details. 12 * PARTICULAR PURPOSE. See the GNU General Public License for more details.
14 * 13 *
15 * You should have received a copy of the GNU General Public License along with this 14 * You should have received a copy of the GNU General Public License along with this
16 * program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, 15 * program. If not, see <https://www.gnu.org/licenses/>.
17 * Fifth Floor, Boston, MA 02110-1301, USA.
18 */ 16 */
19package com.github.markozajc.akiwrapper.core.utils; 17package org.eu.zajc.akiwrapper.core.utils;
20 18
21import static java.lang.Thread.*; 19import static java.lang.Thread.*;
22 20
diff --git a/src/main/java/com/github/markozajc/akiwrapper/core/utils/WorkaroundUtils.java b/src/main/java/org/eu/zajc/akiwrapper/core/utils/WorkaroundUtils.java
index 04b033a..6222ef9 100644
--- a/src/main/java/com/github/markozajc/akiwrapper/core/utils/WorkaroundUtils.java
+++ b/src/main/java/org/eu/zajc/akiwrapper/core/utils/WorkaroundUtils.java
@@ -3,20 +3,18 @@
3 * Akiwrapper, the Java API wrapper for Akinator 3 * Akiwrapper, the Java API wrapper for Akinator
4 * Copyright (C) 2017-2023 Marko Zajc 4 * Copyright (C) 2017-2023 Marko Zajc
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it under the 6 * This program is free software: you can redistribute it and/or modify it under the
7 * terms of the GNU General Public License as published by the Free Software 7 * terms of the GNU General Public License as published by the Free Software
8 * Foundation; either version 3 of the License, or (at your option) any later 8 * Foundation, version 3.
9 * version.
10 * 9 *
11 * This program is distributed in the hope that it will be useful, but WITHOUT ANY 10 * This program is distributed in the hope that it will be useful, but WITHOUT ANY
12 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 * PARTICULAR PURPOSE. See the GNU General Public License for more details. 12 * PARTICULAR PURPOSE. See the GNU General Public License for more details.
14 * 13 *
15 * You should have received a copy of the GNU General Public License along with this 14 * You should have received a copy of the GNU General Public License along with this
16 * program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, 15 * program. If not, see <https://www.gnu.org/licenses/>.
17 * Fifth Floor, Boston, MA 02110-1301, USA.
18 */ 16 */
19package com.github.markozajc.akiwrapper.core.utils; 17package org.eu.zajc.akiwrapper.core.utils;
20 18
21import static java.util.Arrays.stream; 19import static java.util.Arrays.stream;
22 20
diff --git a/src/main/java/com/github/markozajc/akiwrapper/core/utils/route/Request.java b/src/main/java/org/eu/zajc/akiwrapper/core/utils/route/Request.java
index 6d95a3b..6c6753f 100644
--- a/src/main/java/com/github/markozajc/akiwrapper/core/utils/route/Request.java
+++ b/src/main/java/org/eu/zajc/akiwrapper/core/utils/route/Request.java
@@ -3,39 +3,36 @@
3 * Akiwrapper, the Java API wrapper for Akinator 3 * Akiwrapper, the Java API wrapper for Akinator
4 * Copyright (C) 2017-2023 Marko Zajc 4 * Copyright (C) 2017-2023 Marko Zajc
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it under the 6 * This program is free software: you can redistribute it and/or modify it under the
7 * terms of the GNU General Public License as published by the Free Software 7 * terms of the GNU General Public License as published by the Free Software
8 * Foundation; either version 3 of the License, or (at your option) any later 8 * Foundation, version 3.
9 * version.
10 * 9 *
11 * This program is distributed in the hope that it will be useful, but WITHOUT ANY 10 * This program is distributed in the hope that it will be useful, but WITHOUT ANY
12 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 * PARTICULAR PURPOSE. See the GNU General Public License for more details. 12 * PARTICULAR PURPOSE. See the GNU General Public License for more details.
14 * 13 *
15 * You should have received a copy of the GNU General Public License along with this 14 * You should have received a copy of the GNU General Public License along with this
16 * program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, 15 * program. If not, see <https://www.gnu.org/licenses/>.
17 * Fifth Floor, Boston, MA 02110-1301, USA.
18 */ 16 */
19package com.github.markozajc.akiwrapper.core.utils.route; 17package org.eu.zajc.akiwrapper.core.utils.route;
20 18
21import static com.github.markozajc.akiwrapper.core.entities.Status.Level.ERROR;
22import static com.github.markozajc.akiwrapper.core.utils.Utilities.sleepUnchecked;
23import static com.github.markozajc.akiwrapper.core.utils.route.Route.*;
24import static java.lang.String.format; 19import static java.lang.String.format;
25import static java.time.Duration.ofSeconds; 20import static java.time.Duration.ofSeconds;
26import static java.util.stream.Collectors.joining; 21import static java.util.stream.Collectors.joining;
22import static org.eu.zajc.akiwrapper.core.entities.Status.Level.ERROR;
23import static org.eu.zajc.akiwrapper.core.utils.Utilities.sleepUnchecked;
24import static org.eu.zajc.akiwrapper.core.utils.route.Route.*;
27import static org.slf4j.LoggerFactory.getLogger; 25import static org.slf4j.LoggerFactory.getLogger;
28 26
29import java.util.*; 27import java.util.*;
30 28
31import javax.annotation.*; 29import javax.annotation.*;
32 30
31import org.eu.zajc.akiwrapper.core.entities.impl.StatusImpl;
32import org.eu.zajc.akiwrapper.core.exceptions.*;
33import org.json.*; 33import org.json.*;
34import org.slf4j.Logger; 34import org.slf4j.Logger;
35 35
36import com.github.markozajc.akiwrapper.core.entities.impl.StatusImpl;
37import com.github.markozajc.akiwrapper.core.exceptions.*;
38
39import kong.unirest.*; 36import kong.unirest.*;
40 37
41@SuppressWarnings("javadoc") // internal util 38@SuppressWarnings("javadoc") // internal util
diff --git a/src/main/java/com/github/markozajc/akiwrapper/core/utils/route/Response.java b/src/main/java/org/eu/zajc/akiwrapper/core/utils/route/Response.java
index e6aa7ec..2d3a10a 100644
--- a/src/main/java/com/github/markozajc/akiwrapper/core/utils/route/Response.java
+++ b/src/main/java/org/eu/zajc/akiwrapper/core/utils/route/Response.java
@@ -3,27 +3,24 @@
3 * Akiwrapper, the Java API wrapper for Akinator 3 * Akiwrapper, the Java API wrapper for Akinator
4 * Copyright (C) 2017-2023 Marko Zajc 4 * Copyright (C) 2017-2023 Marko Zajc
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it under the 6 * This program is free software: you can redistribute it and/or modify it under the
7 * terms of the GNU General Public License as published by the Free Software 7 * terms of the GNU General Public License as published by the Free Software
8 * Foundation; either version 3 of the License, or (at your option) any later 8 * Foundation, version 3.
9 * version.
10 * 9 *
11 * This program is distributed in the hope that it will be useful, but WITHOUT ANY 10 * This program is distributed in the hope that it will be useful, but WITHOUT ANY
12 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 * PARTICULAR PURPOSE. See the GNU General Public License for more details. 12 * PARTICULAR PURPOSE. See the GNU General Public License for more details.
14 * 13 *
15 * You should have received a copy of the GNU General Public License along with this 14 * You should have received a copy of the GNU General Public License along with this
16 * program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, 15 * program. If not, see <https://www.gnu.org/licenses/>.
17 * Fifth Floor, Boston, MA 02110-1301, USA.
18 */ 16 */
19package com.github.markozajc.akiwrapper.core.utils.route; 17package org.eu.zajc.akiwrapper.core.utils.route;
20 18
21import javax.annotation.Nonnull; 19import javax.annotation.Nonnull;
22 20
21import org.eu.zajc.akiwrapper.core.entities.Status;
23import org.json.JSONObject; 22import org.json.JSONObject;
24 23
25import com.github.markozajc.akiwrapper.core.entities.Status;
26
27@SuppressWarnings("javadoc") // internal util 24@SuppressWarnings("javadoc") // internal util
28public class Response { 25public class Response {
29 26
diff --git a/src/main/java/com/github/markozajc/akiwrapper/core/utils/route/Route.java b/src/main/java/org/eu/zajc/akiwrapper/core/utils/route/Route.java
index 69029cb..eb12dd6 100644
--- a/src/main/java/com/github/markozajc/akiwrapper/core/utils/route/Route.java
+++ b/src/main/java/org/eu/zajc/akiwrapper/core/utils/route/Route.java
@@ -3,25 +3,23 @@
3 * Akiwrapper, the Java API wrapper for Akinator 3 * Akiwrapper, the Java API wrapper for Akinator
4 * Copyright (C) 2017-2023 Marko Zajc 4 * Copyright (C) 2017-2023 Marko Zajc
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it under the 6 * This program is free software: you can redistribute it and/or modify it under the
7 * terms of the GNU General Public License as published by the Free Software 7 * terms of the GNU General Public License as published by the Free Software
8 * Foundation; either version 3 of the License, or (at your option) any later 8 * Foundation, version 3.
9 * version.
10 * 9 *
11 * This program is distributed in the hope that it will be useful, but WITHOUT ANY 10 * This program is distributed in the hope that it will be useful, but WITHOUT ANY
12 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 * PARTICULAR PURPOSE. See the GNU General Public License for more details. 12 * PARTICULAR PURPOSE. See the GNU General Public License for more details.
14 * 13 *
15 * You should have received a copy of the GNU General Public License along with this 14 * You should have received a copy of the GNU General Public License along with this
16 * program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, 15 * program. If not, see <https://www.gnu.org/licenses/>.
17 * Fifth Floor, Boston, MA 02110-1301, USA.
18 */ 16 */
19package com.github.markozajc.akiwrapper.core.utils.route; 17package org.eu.zajc.akiwrapper.core.utils.route;
20 18
21import static com.github.markozajc.akiwrapper.core.utils.route.Route.Endpoint.GAME_SERVER;
22import static java.lang.String.format; 19import static java.lang.String.format;
23import static java.nio.charset.StandardCharsets.UTF_8; 20import static java.nio.charset.StandardCharsets.UTF_8;
24import static java.util.stream.Collectors.joining; 21import static java.util.stream.Collectors.joining;
22import static org.eu.zajc.akiwrapper.core.utils.route.Route.Endpoint.GAME_SERVER;
25 23
26import java.net.URLEncoder; 24import java.net.URLEncoder;
27import java.util.*; 25import java.util.*;
@@ -29,7 +27,7 @@ import java.util.function.Supplier;
29 27
30import javax.annotation.*; 28import javax.annotation.*;
31 29
32import com.github.markozajc.akiwrapper.core.impl.AkiwrapperImpl; 30import org.eu.zajc.akiwrapper.core.impl.AkiwrapperImpl;
33 31
34@SuppressWarnings("javadoc") // internal util 32@SuppressWarnings("javadoc") // internal util
35public final class Route { 33public final class Route {
diff --git a/src/main/java/com/github/markozajc/akiwrapper/core/utils/route/RouteBuilder.java b/src/main/java/org/eu/zajc/akiwrapper/core/utils/route/RouteBuilder.java
index 5ed37a2..c15103d 100644
--- a/src/main/java/com/github/markozajc/akiwrapper/core/utils/route/RouteBuilder.java
+++ b/src/main/java/org/eu/zajc/akiwrapper/core/utils/route/RouteBuilder.java
@@ -3,31 +3,29 @@
3 * Akiwrapper, the Java API wrapper for Akinator 3 * Akiwrapper, the Java API wrapper for Akinator
4 * Copyright (C) 2017-2023 Marko Zajc 4 * Copyright (C) 2017-2023 Marko Zajc
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it under the 6 * This program is free software: you can redistribute it and/or modify it under the
7 * terms of the GNU General Public License as published by the Free Software 7 * terms of the GNU General Public License as published by the Free Software
8 * Foundation; either version 3 of the License, or (at your option) any later 8 * Foundation, version 3.
9 * version.
10 * 9 *
11 * This program is distributed in the hope that it will be useful, but WITHOUT ANY 10 * This program is distributed in the hope that it will be useful, but WITHOUT ANY
12 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 * PARTICULAR PURPOSE. See the GNU General Public License for more details. 12 * PARTICULAR PURPOSE. See the GNU General Public License for more details.
14 * 13 *
15 * You should have received a copy of the GNU General Public License along with this 14 * You should have received a copy of the GNU General Public License along with this
16 * program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, 15 * program. If not, see <https://www.gnu.org/licenses/>.
17 * Fifth Floor, Boston, MA 02110-1301, USA.
18 */ 16 */
19package com.github.markozajc.akiwrapper.core.utils.route; 17package org.eu.zajc.akiwrapper.core.utils.route;
20 18
21import static com.github.markozajc.akiwrapper.core.utils.route.Route.formatParameters;
22import static com.github.markozajc.akiwrapper.core.utils.route.Route.Endpoint.GAME_SERVER;
23import static java.lang.System.currentTimeMillis; 19import static java.lang.System.currentTimeMillis;
20import static org.eu.zajc.akiwrapper.core.utils.route.Route.formatParameters;
21import static org.eu.zajc.akiwrapper.core.utils.route.Route.Endpoint.GAME_SERVER;
24 22
25import java.util.*; 23import java.util.*;
26import java.util.function.Supplier; 24import java.util.function.Supplier;
27 25
28import javax.annotation.*; 26import javax.annotation.*;
29 27
30import com.github.markozajc.akiwrapper.core.utils.route.Route.Endpoint; 28import org.eu.zajc.akiwrapper.core.utils.route.Route.Endpoint;
31 29
32@SuppressWarnings("javadoc") // internal util 30@SuppressWarnings("javadoc") // internal util
33public class RouteBuilder { 31public class RouteBuilder {
diff --git a/src/main/java/com/github/markozajc/akiwrapper/core/utils/route/Routes.java b/src/main/java/org/eu/zajc/akiwrapper/core/utils/route/Routes.java
index 4f1fd19..5ddd0e5 100644
--- a/src/main/java/com/github/markozajc/akiwrapper/core/utils/route/Routes.java
+++ b/src/main/java/org/eu/zajc/akiwrapper/core/utils/route/Routes.java
@@ -3,22 +3,20 @@
3 * Akiwrapper, the Java API wrapper for Akinator 3 * Akiwrapper, the Java API wrapper for Akinator
4 * Copyright (C) 2017-2023 Marko Zajc 4 * Copyright (C) 2017-2023 Marko Zajc
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it under the 6 * This program is free software: you can redistribute it and/or modify it under the
7 * terms of the GNU General Public License as published by the Free Software 7 * terms of the GNU General Public License as published by the Free Software
8 * Foundation; either version 3 of the License, or (at your option) any later 8 * Foundation, version 3.
9 * version.
10 * 9 *
11 * This program is distributed in the hope that it will be useful, but WITHOUT ANY 10 * This program is distributed in the hope that it will be useful, but WITHOUT ANY
12 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 * PARTICULAR PURPOSE. See the GNU General Public License for more details. 12 * PARTICULAR PURPOSE. See the GNU General Public License for more details.
14 * 13 *
15 * You should have received a copy of the GNU General Public License along with this 14 * You should have received a copy of the GNU General Public License along with this
16 * program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, 15 * program. If not, see <https://www.gnu.org/licenses/>.
17 * Fifth Floor, Boston, MA 02110-1301, USA.
18 */ 16 */
19package com.github.markozajc.akiwrapper.core.utils.route; 17package org.eu.zajc.akiwrapper.core.utils.route;
20 18
21import static com.github.markozajc.akiwrapper.core.utils.route.Route.Endpoint.*; 19import static org.eu.zajc.akiwrapper.core.utils.route.Route.Endpoint.*;
22 20
23@SuppressWarnings("javadoc") // internal util 21@SuppressWarnings("javadoc") // internal util
24public final class Routes { 22public final class Routes {
diff --git a/src/test/java/com/github/markozajc/akiwrapper/IntegrationTest.java b/src/test/java/org/eu/zajc/akiwrapper/IntegrationTest.java
index 86bdfa0..f9abb14 100644
--- a/src/test/java/com/github/markozajc/akiwrapper/IntegrationTest.java
+++ b/src/test/java/org/eu/zajc/akiwrapper/IntegrationTest.java
@@ -3,23 +3,21 @@
3 * Akiwrapper, the Java API wrapper for Akinator 3 * Akiwrapper, the Java API wrapper for Akinator
4 * Copyright (C) 2017-2023 Marko Zajc 4 * Copyright (C) 2017-2023 Marko Zajc
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it under the 6 * This program is free software: you can redistribute it and/or modify it under the
7 * terms of the GNU General Public License as published by the Free Software 7 * terms of the GNU General Public License as published by the Free Software
8 * Foundation; either version 3 of the License, or (at your option) any later 8 * Foundation, version 3.
9 * version.
10 * 9 *
11 * This program is distributed in the hope that it will be useful, but WITHOUT ANY 10 * This program is distributed in the hope that it will be useful, but WITHOUT ANY
12 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 * PARTICULAR PURPOSE. See the GNU General Public License for more details. 12 * PARTICULAR PURPOSE. See the GNU General Public License for more details.
14 * 13 *
15 * You should have received a copy of the GNU General Public License along with this 14 * You should have received a copy of the GNU General Public License along with this
16 * program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, 15 * program. If not, see <https://www.gnu.org/licenses/>.
17 * Fifth Floor, Boston, MA 02110-1301, USA.
18 */ 16 */
19package com.github.markozajc.akiwrapper; 17package org.eu.zajc.akiwrapper;
20 18
21import static com.github.markozajc.akiwrapper.Akiwrapper.Answer.YES;
22import static java.lang.String.format; 19import static java.lang.String.format;
20import static org.eu.zajc.akiwrapper.Akiwrapper.Answer.YES;
23import static org.junit.jupiter.api.Assumptions.abort; 21import static org.junit.jupiter.api.Assumptions.abort;
24import static org.slf4j.LoggerFactory.getLogger; 22import static org.slf4j.LoggerFactory.getLogger;
25 23
@@ -28,16 +26,15 @@ import java.util.stream.Stream;
28 26
29import javax.annotation.*; 27import javax.annotation.*;
30 28
29import org.eu.zajc.akiwrapper.Akiwrapper.Answer;
30import org.eu.zajc.akiwrapper.core.entities.*;
31import org.eu.zajc.akiwrapper.core.entities.Server.*;
32import org.eu.zajc.akiwrapper.core.exceptions.*;
31import org.junit.jupiter.params.ParameterizedTest; 33import org.junit.jupiter.params.ParameterizedTest;
32import org.junit.jupiter.params.provider.*; 34import org.junit.jupiter.params.provider.*;
33import org.opentest4j.TestAbortedException; 35import org.opentest4j.TestAbortedException;
34import org.slf4j.Logger; 36import org.slf4j.Logger;
35 37
36import com.github.markozajc.akiwrapper.Akiwrapper.Answer;
37import com.github.markozajc.akiwrapper.core.entities.*;
38import com.github.markozajc.akiwrapper.core.entities.Server.*;
39import com.github.markozajc.akiwrapper.core.exceptions.*;
40
41import static org.junit.jupiter.api.Assertions.*; 38import static org.junit.jupiter.api.Assertions.*;
42 39
43class IntegrationTest { 40class IntegrationTest {
diff --git a/src/test/java/com/github/markozajc/akiwrapper/core/entities/IdentifiableTest.java b/src/test/java/org/eu/zajc/akiwrapper/core/entities/IdentifiableTest.java
index 986365e..5189ccd 100644
--- a/src/test/java/com/github/markozajc/akiwrapper/core/entities/IdentifiableTest.java
+++ b/src/test/java/org/eu/zajc/akiwrapper/core/entities/IdentifiableTest.java
@@ -3,20 +3,18 @@
3 * Akiwrapper, the Java API wrapper for Akinator 3 * Akiwrapper, the Java API wrapper for Akinator
4 * Copyright (C) 2017-2023 Marko Zajc 4 * Copyright (C) 2017-2023 Marko Zajc
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it under the 6 * This program is free software: you can redistribute it and/or modify it under the
7 * terms of the GNU General Public License as published by the Free Software 7 * terms of the GNU General Public License as published by the Free Software
8 * Foundation; either version 3 of the License, or (at your option) any later 8 * Foundation, version 3.
9 * version.
10 * 9 *
11 * This program is distributed in the hope that it will be useful, but WITHOUT ANY 10 * This program is distributed in the hope that it will be useful, but WITHOUT ANY
12 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 * PARTICULAR PURPOSE. See the GNU General Public License for more details. 12 * PARTICULAR PURPOSE. See the GNU General Public License for more details.
14 * 13 *
15 * You should have received a copy of the GNU General Public License along with this 14 * You should have received a copy of the GNU General Public License along with this
16 * program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, 15 * program. If not, see <https://www.gnu.org/licenses/>.
17 * Fifth Floor, Boston, MA 02110-1301, USA.
18 */ 16 */
19package com.github.markozajc.akiwrapper.core.entities; 17package org.eu.zajc.akiwrapper.core.entities;
20 18
21import org.junit.jupiter.api.Test; 19import org.junit.jupiter.api.Test;
22 20
diff --git a/src/test/java/com/github/markozajc/akiwrapper/core/entities/impl/immutable/StatusImplTest.java b/src/test/java/org/eu/zajc/akiwrapper/core/entities/impl/immutable/StatusImplTest.java
index c2f06cb..bfb2ad6 100644
--- a/src/test/java/com/github/markozajc/akiwrapper/core/entities/impl/immutable/StatusImplTest.java
+++ b/src/test/java/org/eu/zajc/akiwrapper/core/entities/impl/immutable/StatusImplTest.java
@@ -3,35 +3,32 @@
3 * Akiwrapper, the Java API wrapper for Akinator 3 * Akiwrapper, the Java API wrapper for Akinator
4 * Copyright (C) 2017-2023 Marko Zajc 4 * Copyright (C) 2017-2023 Marko Zajc
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it under the 6 * This program is free software: you can redistribute it and/or modify it under the
7 * terms of the GNU General Public License as published by the Free Software 7 * terms of the GNU General Public License as published by the Free Software
8 * Foundation; either version 3 of the License, or (at your option) any later 8 * Foundation, version 3.
9 * version.
10 * 9 *
11 * This program is distributed in the hope that it will be useful, but WITHOUT ANY 10 * This program is distributed in the hope that it will be useful, but WITHOUT ANY
12 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 * PARTICULAR PURPOSE. See the GNU General Public License for more details. 12 * PARTICULAR PURPOSE. See the GNU General Public License for more details.
14 * 13 *
15 * You should have received a copy of the GNU General Public License along with this 14 * You should have received a copy of the GNU General Public License along with this
16 * program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, 15 * program. If not, see <https://www.gnu.org/licenses/>.
17 * Fifth Floor, Boston, MA 02110-1301, USA.
18 */ 16 */
19package com.github.markozajc.akiwrapper.core.entities.impl.immutable; 17package org.eu.zajc.akiwrapper.core.entities.impl.immutable;
20 18
21import static com.github.markozajc.akiwrapper.core.entities.Status.Reason.*; 19import static org.eu.zajc.akiwrapper.core.entities.Status.Reason.*;
22import static org.junit.jupiter.params.provider.EnumSource.Mode.EXCLUDE; 20import static org.junit.jupiter.params.provider.EnumSource.Mode.EXCLUDE;
23 21
24import java.util.stream.Stream; 22import java.util.stream.Stream;
25 23
26import javax.annotation.Nonnull; 24import javax.annotation.Nonnull;
27 25
26import org.eu.zajc.akiwrapper.core.entities.Status.Level;
27import org.eu.zajc.akiwrapper.core.entities.impl.StatusImpl;
28import org.junit.jupiter.api.Test; 28import org.junit.jupiter.api.Test;
29import org.junit.jupiter.params.ParameterizedTest; 29import org.junit.jupiter.params.ParameterizedTest;
30import org.junit.jupiter.params.provider.*; 30import org.junit.jupiter.params.provider.*;
31 31
32import com.github.markozajc.akiwrapper.core.entities.Status.Level;
33import com.github.markozajc.akiwrapper.core.entities.impl.StatusImpl;
34
35import static org.junit.jupiter.api.Assertions.*; 32import static org.junit.jupiter.api.Assertions.*;
36 33
37class StatusImplTest { 34class StatusImplTest {
diff --git a/src/test/java/com/github/markozajc/akiwrapper/core/utils/JSONUtilsTest.java b/src/test/java/org/eu/zajc/akiwrapper/core/utils/JSONUtilsTest.java
index 93e3388..f7e07f6 100644
--- a/src/test/java/com/github/markozajc/akiwrapper/core/utils/JSONUtilsTest.java
+++ b/src/test/java/org/eu/zajc/akiwrapper/core/utils/JSONUtilsTest.java
@@ -3,22 +3,20 @@
3 * Akiwrapper, the Java API wrapper for Akinator 3 * Akiwrapper, the Java API wrapper for Akinator
4 * Copyright (C) 2017-2023 Marko Zajc 4 * Copyright (C) 2017-2023 Marko Zajc
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it under the 6 * This program is free software: you can redistribute it and/or modify it under the
7 * terms of the GNU General Public License as published by the Free Software 7 * terms of the GNU General Public License as published by the Free Software
8 * Foundation; either version 3 of the License, or (at your option) any later 8 * Foundation, version 3.
9 * version.
10 * 9 *
11 * This program is distributed in the hope that it will be useful, but WITHOUT ANY 10 * This program is distributed in the hope that it will be useful, but WITHOUT ANY
12 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 * PARTICULAR PURPOSE. See the GNU General Public License for more details. 12 * PARTICULAR PURPOSE. See the GNU General Public License for more details.
14 * 13 *
15 * You should have received a copy of the GNU General Public License along with this 14 * You should have received a copy of the GNU General Public License along with this
16 * program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, 15 * program. If not, see <https://www.gnu.org/licenses/>.
17 * Fifth Floor, Boston, MA 02110-1301, USA.
18 */ 16 */
19package com.github.markozajc.akiwrapper.core.utils; 17package org.eu.zajc.akiwrapper.core.utils;
20 18
21import static com.github.markozajc.akiwrapper.core.utils.JSONUtils.*; 19import static org.eu.zajc.akiwrapper.core.utils.JSONUtils.*;
22 20
23import org.json.JSONObject; 21import org.json.JSONObject;
24import org.junit.jupiter.api.Test; 22import org.junit.jupiter.api.Test;
diff --git a/versions-ruleset.xml b/versions-ruleset.xml
index 193c626..4d59c85 100644
--- a/versions-ruleset.xml
+++ b/versions-ruleset.xml
@@ -8,7 +8,7 @@
8 <ignoreVersions> 8 <ignoreVersions>
9 <ignoreVersion type="regex">.*-alpha\d$</ignoreVersion> 9 <ignoreVersion type="regex">.*-alpha\d$</ignoreVersion>
10 <ignoreVersion type="regex">.*-beta\d$</ignoreVersion> 10 <ignoreVersion type="regex">.*-beta\d$</ignoreVersion>
11 <ignoreVersion type="regex">.*-M\d$</ignoreVersion> 11 <ignoreVersion type="regex">.*[-\.]M\d$</ignoreVersion>
12 <ignoreVersion type="regex">.*-RC\d$</ignoreVersion> 12 <ignoreVersion type="regex">.*-RC\d$</ignoreVersion>
13 </ignoreVersions> 13 </ignoreVersions>
14 </rule> 14 </rule>