From 4c0a300b86236e47b2e2e304ac59f2207a3d31e0 Mon Sep 17 00:00:00 2001 From: Ilkka Seppala Date: Sun, 17 May 2015 14:32:26 +0300 Subject: [PATCH] Skeleton for Thread Pool pattern. --- pom.xml | 1 + thread-pool/pom.xml | 18 ++++++++++++++++++ .../src/main/java/com/iluwatar/App.java | 7 +++++++ .../src/test/java/com/iluwatar/AppTest.java | 12 ++++++++++++ 4 files changed, 38 insertions(+) create mode 100644 thread-pool/pom.xml create mode 100644 thread-pool/src/main/java/com/iluwatar/App.java create mode 100644 thread-pool/src/test/java/com/iluwatar/AppTest.java diff --git a/pom.xml b/pom.xml index 44ad294d7..d92b2e65f 100644 --- a/pom.xml +++ b/pom.xml @@ -58,6 +58,7 @@ double-dispatch multiton resource-acquisition-is-initialization + thread-pool diff --git a/thread-pool/pom.xml b/thread-pool/pom.xml new file mode 100644 index 000000000..49af15d55 --- /dev/null +++ b/thread-pool/pom.xml @@ -0,0 +1,18 @@ + + + 4.0.0 + + com.iluwatar + java-design-patterns + 1.0-SNAPSHOT + + thread-pool + + + junit + junit + test + + + diff --git a/thread-pool/src/main/java/com/iluwatar/App.java b/thread-pool/src/main/java/com/iluwatar/App.java new file mode 100644 index 000000000..faf592178 --- /dev/null +++ b/thread-pool/src/main/java/com/iluwatar/App.java @@ -0,0 +1,7 @@ +package com.iluwatar; + +public class App { + + public static void main( String[] args ) { + } +} diff --git a/thread-pool/src/test/java/com/iluwatar/AppTest.java b/thread-pool/src/test/java/com/iluwatar/AppTest.java new file mode 100644 index 000000000..b81f7499d --- /dev/null +++ b/thread-pool/src/test/java/com/iluwatar/AppTest.java @@ -0,0 +1,12 @@ +package com.iluwatar; + +import org.junit.Test; + +public class AppTest { + + @Test + public void test() { + String[] args = {}; + App.main(args); + } +}