cleanup
Some checks failed
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Successful in 1m11s
Publish Docker Image / docker (ubuntu-latest) (push) Has been cancelled

This commit is contained in:
Lee 2024-04-23 16:33:17 +01:00
parent afa7d4a71d
commit 0389a1bada
3 changed files with 0 additions and 24 deletions

@ -72,12 +72,6 @@
<version>3.14.0</version> <version>3.14.0</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.10.1</version>
<scope>compile</scope>
</dependency>
<!-- Tests --> <!-- Tests -->
<dependency> <dependency>

@ -1,7 +1,5 @@
package cc.fascinated.backend; package cc.fascinated.backend;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import lombok.SneakyThrows; import lombok.SneakyThrows;
import lombok.extern.log4j.Log4j2; import lombok.extern.log4j.Log4j2;
import org.springframework.boot.SpringApplication; import org.springframework.boot.SpringApplication;
@ -15,10 +13,6 @@ import java.util.Objects;
@Log4j2(topic = "Main") @Log4j2(topic = "Main")
@SpringBootApplication @SpringBootApplication
public class Main { public class Main {
public static final Gson GSON = new GsonBuilder()
.setDateFormat("MM-dd-yyyy HH:mm:ss")
.create();
@SneakyThrows @SneakyThrows
public static void main(String[] args) { public static void main(String[] args) {
File config = new File("application.yml"); File config = new File("application.yml");

@ -1,12 +0,0 @@
package cc.fascinated.backend.exception.impl;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;
@ResponseStatus(HttpStatus.BAD_REQUEST)
public class BadRequestException extends RuntimeException {
public BadRequestException(String message) {
super(message);
}
}