1106 Commits

Author SHA1 Message Date
Ilkka Seppala
d0fca6d318 Improve the example and documentation 2015-11-21 16:05:55 +02:00
Ilkka Seppala
7885380633 Apply Google coding conventions 2015-11-21 15:12:31 +02:00
Ilkka Seppala
230c02fb24 Fix spelling 2015-11-21 15:09:23 +02:00
Ilkka Seppala
b97e9207a7 Update version number for Publish-Subscribe 2015-11-21 15:03:27 +02:00
Ilkka Seppala
8519e13de6 Merge branch 'publish-subscribe' of https://github.com/JaXt0r/java-design-patterns into JaXt0r-publish-subscribe
Conflicts:
	pom.xml
2015-11-21 14:55:02 +02:00
Ilkka Seppälä
ba3f583467 Merge pull request #290 from hoswey/master
implements Twin design pattern #63
2015-11-16 21:09:41 +02:00
hoswey
142274f3f7 implements Twin design pattern #63, add credit and rephrase the comments 2015-11-16 10:01:03 +08:00
Ilkka Seppälä
5b06c52fff Merge pull request #291 from tainarareis/abstract-factory
Issue #286: Added main method in Abstract Factory Example
2015-11-14 21:33:48 +02:00
Ilkka Seppälä
033f8e740d Merge pull request #287 from l-cortese/master
log4j.xml relocated and excluded from JAR
2015-11-14 21:19:50 +02:00
tainarareis
34528173b7 Issue #286: Added main method in Abstract Factory Example 2015-11-14 16:48:19 -02:00
hoswey
fdbfa9e8ee implements Twin design pattern #63 2015-11-14 17:38:35 +08:00
Luigi Cortese
bf65168776 corrected typos in the comments 2015-11-13 22:35:30 +01:00
Luigi Cortese
043a610754 log4j.xml relocated due to visibility issues and excluded from generated
JAR. pom.xml formatted according to coding conventions
2015-11-13 18:34:10 +01:00
Ilkka Seppälä
27199325ec Merge pull request #284 from hoswey/master
correct the package name for producer-consumer test folder
2015-11-07 11:48:51 +02:00
hoswey
960b568fbb correct the package name for producer-consumer test folder 2015-11-07 15:51:16 +08:00
Ilkka Seppala
c02e65fa3a Added alias names for GOF patterns #267 2015-11-04 21:13:32 +02:00
Ilkka Seppälä
fe63c9cec4 Merge pull request #281 from ankurkaushal/master
Reformat according to google style guide
2015-11-02 21:39:17 +02:00
Ilkka Seppälä
7e4f04602e Merge pull request #282 from l-cortese/master
Corrected Freddy's last name
2015-11-02 21:36:20 +02:00
Ankur Kaushal
306b1f3d31 Reformat rest of the design patterns - Issue #224 2015-11-01 21:29:13 -05:00
Ankur Kaushal
449340bd2b Reformat business-delegate, callback, chain, command, composite, dao, decorator & dependency-injection patterns. 2015-11-01 18:48:43 -05:00
Ankur Kaushal
3af06a3a3a Reformat builder pattern - issue #224 2015-11-01 18:03:29 -05:00
Ankur Kaushal
e7b6542134 Reformat bridge design pattern - Issue #224 2015-11-01 17:43:54 -05:00
Ankur Kaushal
16a8c85af6 Reformat Async Method Invocation - Issue #224 2015-11-01 17:33:25 -05:00
Ankur Kaushal
95c16200e7 Reformat Adapter Pattern - Issue #224 2015-11-01 17:26:57 -05:00
Ankur Kaushal
c0c21ebd91 Reformat Abstract Factory - Issue #224 2015-11-01 17:18:39 -05:00
Luigi Cortese
25c1f87d46 Corrected Freddy's second name 2015-11-01 23:15:57 +01:00
Ilkka Seppala
c6ca80b25f Bump version number for the next development iteration 2015-11-01 22:22:31 +02:00
Ilkka Seppälä
a2dd87d28d Merge pull request #277 from waisuan/master
Issue #273: Caching Patterns [new pattern]
1.7.0
2015-11-01 22:12:35 +02:00
waisuan
998ba7e6e0 Issue #273: Fixed HTML tags in comments 2015-11-02 02:11:58 +08:00
waisuan
6418a6c2b6 Issue #273: Fixed issues based on review remarks 2015-11-02 01:40:38 +08:00
waisuan
37cfa4b295 Merge remote-tracking branch 'upstream/master' 2015-11-02 01:38:37 +08:00
Ilkka Seppälä
7d3483daad Merge pull request #280 from ankurkaushal/master
Reformat Code According to Google Style Guide #224
2015-11-01 17:57:14 +02:00
Ankur Kaushal
44b7b94da6 Reformatting test case as well 2015-11-01 02:23:27 -05:00
Ankur Kaushal
87baa98d2b Reformat Code According to Google Style Guide #224 2015-11-01 02:05:54 -05:00
Ilkka Seppälä
3dc9b2f97e Merge pull request #276 from hoswey/master
#271 implements producer-consumer
2015-10-31 19:02:03 +02:00
waisuan
d0f5009996 Issue #273: Changed DB to internal Java data structure to avoid compilation errors + decrease in code coverage 2015-10-29 00:57:41 +08:00
waisuan
9891c2e17b Issue #273:Caching Patterns [new pattern] 2015-10-28 23:55:47 +08:00
hongsw
07faa2f625 #271 implements producer-consumer 2015-10-28 09:55:05 +08:00
Ilkka Seppälä
a869294851 Merge pull request #257 from mafagafogigante/readme-warning-for-beginners
A Warning for beginners in the Readme.
2015-10-25 08:47:49 +02:00
JaXt0r
ac5c1967df #161 - Publish Subscribe Channel realisation.Heavily based on iluwatars Message Channel implementation (#143). 2015-10-25 07:11:34 +01:00
Ilkka Seppälä
a2b8359ab5 Merge pull request #269 from iamrichardjones/master
Add unit test to callback method
2015-10-20 23:37:39 +03:00
Richard Jones
21a4d7b4c9 Add unit test to show that the callback method is called. 2015-10-19 22:07:00 +01:00
Richard Jones
83c2fbdcd3 Add unit test to show that the callback method is called. 2015-10-19 22:06:35 +01:00
Ilkka Seppälä
8eff279233 Merge pull request #263 from iamrichardjones/master
Update to singleton unit tests and lazy loading unit test
2015-10-19 21:21:45 +03:00
Ilkka Seppälä
b961c57919 Merge pull request #268 from iluwatar/themoffster-master
Themoffster master - unit test improvements
2015-10-19 21:14:58 +03:00
Ilkka Seppala
b028f66b08 Removed properties 2015-10-19 21:01:41 +03:00
Ilkka Seppala
339db2a0bf Merge branch 'master' of https://github.com/themoffster/java-design-patterns into themoffster-master
Conflicts:
	dao/pom.xml
2015-10-19 20:44:46 +03:00
Ilkka Seppälä
9cbc4a20b9 Merge pull request #265 from mkobit/double-checked-locking-executor-service-shutdown
Fix - Shutdown the ExecutorService in App so that the resources are c…
2015-10-14 20:10:46 +03:00
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
Bernardo Sulzbach
e09dda6037 A Warning for beginners in the Readme. 2015-10-14 06:41:32 -03:00