diff --git a/pom.xml b/pom.xml
index 7a9feea..bd8fdd3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -13,5 +13,13 @@
11
UTF-8
+
+
+
+ javax.servlet
+ javax.servlet-api
+ 4.0.1
+
+
\ No newline at end of file
diff --git a/src/main/java/org/example/Main.java b/src/main/java/org/example/Main.java
index b9351a4..d54f691 100644
--- a/src/main/java/org/example/Main.java
+++ b/src/main/java/org/example/Main.java
@@ -1,17 +1,12 @@
package org.example;
-import java.security.NoSuchAlgorithmException;
-import javax.crypto.Cipher;
-import javax.crypto.NoSuchPaddingException;
+import java.util.logging.Logger;
public class Main {
- public static void main(String[] args) {
- System.out.println("Hello world!");
+ private static final Logger logger = Logger.getLogger("Logger");
- try {
- Cipher des = Cipher.getInstance("DES"); // Noncompliant
- } catch(NoSuchAlgorithmException | NoSuchPaddingException e) {
- // ...
- }
+ public static void main(String[] args) {
+ logger.info("Hello world!");
}
+
}