- Update dependencies.

- Code polishing.
This commit is contained in:
Lampros Smyrnaios 2023-07-05 13:16:48 +03:00
parent eb42185991
commit 3cb8e7a5f6
2 changed files with 10 additions and 10 deletions

17
pom.xml
View File

@ -6,7 +6,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.7.12</version>
<version>2.7.13</version>
</parent>
<modelVersion>4.0.0</modelVersion>
@ -16,7 +16,7 @@
<packaging>jar</packaging>
<properties>
<spring.boot.version>2.7.12</spring.boot.version>
<spring.boot.version>2.7.13</spring.boot.version>
</properties>
<dependencies>
@ -159,7 +159,7 @@
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.12.0</version>
<version>2.13.0</version>
</dependency>
<dependency>
@ -175,10 +175,11 @@
<version>2.7.3</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.glassfish.jersey.core/jersey-client -->
<dependency>
<groupId>com.sun.jersey</groupId>
<groupId>org.glassfish.jersey.core</groupId>
<artifactId>jersey-client</artifactId>
<version>1.19.4</version>
<version>2.40</version>
</dependency>
@ -192,7 +193,7 @@
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>20230227</version>
<version>20230618</version>
</dependency>
<dependency>
@ -244,7 +245,7 @@
<dependency>
<groupId>org.springframework.session</groupId>
<artifactId>spring-session-data-redis</artifactId>
<version>2.7.1</version>
<version>2.7.2</version>
</dependency>
<!-- https://mvnrepository.com/artifact/redis.clients/jedis -->
@ -327,7 +328,7 @@
<dependency>
<groupId>org.springframework.session</groupId>
<artifactId>spring-session-bom</artifactId>
<version>2021.2.1</version>
<version>2021.2.2</version>
<type>pom</type>
<scope>import</scope>
</dependency>

View File

@ -70,7 +70,7 @@ public class SushiliteR5ServiceImpl implements SushiliteR5Service {
uri,
HttpMethod.GET,
null,
new ParameterizedTypeReference<Object>() {});
new ParameterizedTypeReference<Object>() {}); // THis "Object" must be a valid json-object.
} catch (RestClientException rce) {
String errorMsg = "Failed to get a response from sushiliteR5!";
String message = rce.getMessage();
@ -92,7 +92,6 @@ public class SushiliteR5ServiceImpl implements SushiliteR5Service {
logger.error("The \"reportResponseWrapper\" for sushi was null!");
return ResponseEntity.internalServerError().build();
}
logger.trace(reportResult.toString());
return ResponseEntity.ok(reportResult);