summaryrefslogtreecommitdiffstats
path: root/java/project/src/main/ch/asynk
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2017-02-27 21:49:39 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2017-02-27 21:49:39 +0100
commit94f5c22121b682835e9232bc87d708278ccde772 (patch)
treea596e744390ddade50f1df37953f65b2312f0930 /java/project/src/main/ch/asynk
parent260131c35f7f1b68b66e5b29916ec05a38c4ca56 (diff)
downloadshare-94f5c22121b682835e9232bc87d708278ccde772.zip
share-94f5c22121b682835e9232bc87d708278ccde772.tar.gz
java : project : follow maven's std directory layout
Diffstat (limited to 'java/project/src/main/ch/asynk')
-rw-r--r--java/project/src/main/ch/asynk/Main.java22
-rw-r--r--java/project/src/main/ch/asynk/MyClass.java25
-rw-r--r--java/project/src/main/ch/asynk/MyException.java11
3 files changed, 0 insertions, 58 deletions
diff --git a/java/project/src/main/ch/asynk/Main.java b/java/project/src/main/ch/asynk/Main.java
deleted file mode 100644
index bb187bf..0000000
--- a/java/project/src/main/ch/asynk/Main.java
+++ /dev/null
@@ -1,22 +0,0 @@
-package ch.asynk;
-
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-public class Main
-{
- private static Logger logger = null;
-
- public static void main(String [] args )
- {
- logger = LoggerFactory.getLogger(Main.class);
- System.out.println("System.out");
- System.err.println("System.err");
- logger.trace("trace");
- logger.debug("debug");
- logger.info("info");
- logger.warn("warn");
- logger.error("error");
- System.exit(0);
- }
-}
diff --git a/java/project/src/main/ch/asynk/MyClass.java b/java/project/src/main/ch/asynk/MyClass.java
deleted file mode 100644
index 57ef46f..0000000
--- a/java/project/src/main/ch/asynk/MyClass.java
+++ /dev/null
@@ -1,25 +0,0 @@
-package ch.asynk;
-
-import lombok.Getter;
-
-public class MyClass
-{
- static private String msg = "Hello World";
-
- private @Getter int n;
-
- public MyClass()
- {
- n = 666;
- }
-
- public void print()
- {
- System.err.println(msg);
- }
-
- public void exception() throws MyException
- {
- throw new MyException("it's mine");
- }
-}
diff --git a/java/project/src/main/ch/asynk/MyException.java b/java/project/src/main/ch/asynk/MyException.java
deleted file mode 100644
index 06203ae..0000000
--- a/java/project/src/main/ch/asynk/MyException.java
+++ /dev/null
@@ -1,11 +0,0 @@
-package ch.asynk;
-
-public class MyException extends Exception
-{
- private static final long serialVersionUID = 01235;
-
- public MyException(String message)
- {
- super(message);
- }
-}