diff --git a/pom.xml b/pom.xml index cddbf017..a1139d4a 100644 --- a/pom.xml +++ b/pom.xml @@ -127,14 +127,6 @@ org.springframework.boot spring-boot-maven-plugin - - - - org.springframework.boot.experimental - spring-boot-thin-layout - 1.0.31.RELEASE - - org.jacoco diff --git a/src/main/java/com/lpvs/service/LPVSDetectService.java b/src/main/java/com/lpvs/service/LPVSDetectService.java index 1c4dc9f4..9d97ded7 100644 --- a/src/main/java/com/lpvs/service/LPVSDetectService.java +++ b/src/main/java/com/lpvs/service/LPVSDetectService.java @@ -118,8 +118,8 @@ private void init() { */ @EventListener(ApplicationReadyEvent.class) public void runOneScan() { - log.info("Triggered signle scan operation"); if (trigger != null && !HtmlUtils.htmlEscape(trigger).equals("")) { + log.info("Triggered signle scan operation"); try { LPVSQueue webhookConfig = gitHubService.getInternalQueueByPullRequest(HtmlUtils.htmlEscape(trigger)); diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index d5fb8188..0716fc69 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -36,7 +36,6 @@ spring.jpa.properties.hibernate.connection.CharSet=utf8 spring.jpa.properties.hibernate.connection.characterEncoding=utf8 spring.jpa.properties.hibernate.connection.useUnicode=true spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=false -spring.jpa.database-platform=org.hibernate.dialect.MySQL8Dialect spring.jpa.properties.hibernate.format_sql=true spring.jpa.properties.hibernate.use_sql_comments=true spring.jpa.properties.hibernate.show_sql=false