From f6a1a82e24f226c6ce0940876f96ddba6611479c Mon Sep 17 00:00:00 2001
From: querwurzel <>
Date: Fri, 24 Nov 2023 18:52:41 +0100
Subject: [PATCH] spring boot upkeep
---
.../java/com/github/binpastes/paste/api/model/CreateCmd.java | 4 +---
pom.xml | 4 ++--
2 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/backend/src/main/java/com/github/binpastes/paste/api/model/CreateCmd.java b/backend/src/main/java/com/github/binpastes/paste/api/model/CreateCmd.java
index e2ee385..efadad5 100644
--- a/backend/src/main/java/com/github/binpastes/paste/api/model/CreateCmd.java
+++ b/backend/src/main/java/com/github/binpastes/paste/api/model/CreateCmd.java
@@ -39,9 +39,7 @@ public String title() {
}
public String content() {
- return StringUtils.hasText(content)
- ? content
- : null;
+ return content;
}
public boolean isEncrypted() {
diff --git a/pom.xml b/pom.xml
index 738e74c..9dbda66 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
org.springframework.boot
spring-boot-starter-parent
- 3.1.5
+ 3.1.6
@@ -43,7 +43,7 @@
0.8.11
- 3.1.5
+ 3.1.6
2.8.3
9.22.3
2.31.2