Commit Graph

844 Commits

Author SHA1 Message Date
Mike Kobit 07a77ba11d Fix - Shutdown the ExecutorService in App so that the resources are collected and the process can finish
I ran App.main(String[] args) in the 'double-checked-locking' module and the process does not terminate. This is because the executor service still has open threads. I'm not sure how the JUnit tests are run, but it seems they are handling the leftover resources themselves.

Also, minor modifications to Inventory for final fields are used since there is no state change around them, and added some more meaningful printing so the example is more clearly demonstrated
2015-10-14 07:01:15 -05:00
Ilkka Seppälä 3c8b83748a Merge pull request #258 from amit2103/master
MonoState Pattern
2015-10-13 20:03:45 +03:00
amit2103 271ce09e26 Fixed POMS 2015-10-09 23:26:10 +05:30
amit2103 9d0673af0a Made changes according to feedback issue #258 2015-10-09 23:23:34 +05:30
amit2103 eb22febdfc Printing Server variables 2015-10-09 23:23:34 +05:30
amit2103 9a824c7d21 MonoState #85 2015-10-09 23:23:34 +05:30
amit2103 81b5bc99ce Update Pom.xml
Fixed Reference to Parent POM
2015-10-08 09:43:19 +05:30
amit2103 19f5966cb9 Added Comments and Feedback 2015-10-07 20:37:45 +05:30
amit2103 1e988c10f9 fixed merge conflict 2015-10-07 20:10:36 +05:30
amit2103 2c45f73254 MonoState #85 2015-10-04 03:12:51 +05:30
amit2103 c8fd9f3a0d Monostate pattern #85 2015-10-04 03:06:11 +05:30
Ilkka Seppala 0a9879a277 Improve Strategy Javadoc 2015-10-04 00:22:27 +03:00
Ilkka Seppala 2234a25c76 Improve State Javadoc 2015-10-04 00:19:34 +03:00
Ilkka Seppala 74e32259be Improve Service Locator Javadoc 2015-10-04 00:16:05 +03:00
Ilkka Seppala 8db2bb2ac8 Improve Servant Javadoc 2015-10-04 00:13:08 +03:00
Ilkka Seppala c3a827b475 Improved Proxy Javadoc 2015-10-04 00:08:34 +03:00
Ilkka Seppala 9a4f83e7b8 Improve Prototype Javadoc 2015-10-04 00:04:12 +03:00
Ilkka Seppala 40e378c1f3 Improve Property Javadoc 2015-10-03 23:57:17 +03:00
Ilkka Seppala 98aa28d94e Improve Poison Pill Javadoc 2015-10-03 23:53:09 +03:00
Ilkka Seppala 4d1aae21f7 Improve Observer Javadoc 2015-10-03 23:48:51 +03:00
Ilkka Seppala ca6bb7a3a8 Improve Memento Javadoc 2015-10-03 23:38:37 +03:00
Ilkka Seppala fc66ae8084 Improve Mediator Javadoc 2015-10-03 23:34:20 +03:00
Ilkka Seppala e4ff39e080 Improve Iterator Javadoc 2015-10-03 21:37:29 +03:00
Ilkka Seppala 44d7be9c94 Improve Interpreter Javadoc 2015-10-03 21:32:56 +03:00
Ilkka Seppala b4118bb866 Improve Intercepting Filter Javadoc 2015-10-03 21:28:17 +03:00
Ilkka Seppala c27291fd27 Improve Fluent Interface Javadoc 2015-10-03 21:17:56 +03:00
Ilkka Seppala c989f6cb21 Improve Factory Method Javadoc 2015-10-03 21:14:40 +03:00
Ilkka Seppala 516b127d21 Improved Facade Javadoc 2015-10-03 21:11:19 +03:00
Ilkka Seppala 584a22238d Improve Event Aggregator Javadoc 2015-10-03 21:06:52 +03:00
Ilkka Seppala e32b440a38 Improve Double Checked Locking Javadoc 2015-10-03 21:00:21 +03:00
Ilkka Seppala 8cf35fc315 Improve Decorator Javadoc 2015-10-03 20:43:38 +03:00
Ilkka Seppala 621793ed2d Improved DAO Javadoc 2015-10-03 20:34:15 +03:00
Ilkka Seppala 807478ab3d Improve Composite Javadoc 2015-10-03 20:27:28 +03:00
Ilkka Seppala d5f52edecf Improve Command Javadoc 2015-10-03 20:21:56 +03:00
Ilkka Seppala a2f3d58709 Improve Chain Javadoc 2015-10-03 20:19:01 +03:00
Ilkka Seppala 9a08e35101 Improve Builder Javadoc 2015-10-03 17:13:38 +03:00
Ilkka Seppala cdd586ec7c Improve Bridge Javadoc 2015-10-03 12:40:24 +03:00
Ilkka Seppala 8c6caa29b7 Improve Adapter Javadoc 2015-10-03 11:56:59 +03:00
Ilkka Seppala 0a61d7b067 Improve Abstract Factory Javadocs 2015-10-03 11:53:44 +03:00
Ilkka Seppala 6413c4d2be Added more Singleton documentation #188 2015-10-02 22:53:41 +03:00
Ilkka Seppala 11cdd20f6f Update version to 1.7.0 2015-09-30 22:36:01 +03:00
Ilkka Seppala 621c3498f6 Remove broken deploy config #255 2015-09-26 22:52:59 +03:00
Ilkka Seppala 83fed6dd34 Fix Travis config syntax #255 2015-09-26 22:14:36 +03:00
Ilkka Seppala 793b1cc172 Travis configuration changes #255 2015-09-26 22:08:23 +03:00
Ilkka Seppala 2ad361f2c3 Travis configuration changes #255 2015-09-26 21:23:00 +03:00
Ilkka Seppala e077aa34d7 Travis deploy web site to S3 2015-09-26 20:19:39 +03:00
Ilkka Seppälä c1fda3ad6c Merge pull request #254 from zafarella/refactor-singleton-according-to-checkstyle
Refactor singleton according to checkstyle rules
2015-09-24 22:32:11 +03:00
zafarella 60f9b71278 eliminate all warnings of checkstyle. 2015-09-24 13:29:39 -04:00
Narendra Pathai ba6511fe5d Work on #226, moved POSA reference and some J2EE design pattern references 2015-09-24 12:23:02 +05:30
zafarella 36809537d9 checkstyle fixes - docs, indent etc 2015-09-24 01:01:51 -04:00