168 Commits

Author SHA1 Message Date
Ilkka Seppala
e0e51324db Set version number for next development iteration 2016-01-01 20:39:20 +02:00
Ilkka Seppala
e4458c1b17 Achieved milestone 1.9.0 2016-01-01 20:37:50 +02:00
Jeroen Meulemeester
d0cdf84936 Added tests for singleton pattern 2015-12-30 20:55:21 +01:00
Ilkka Seppala
5f033be54f Fix PMD violations #327 2015-12-27 21:21:57 +02:00
Ilkka Seppala
cec9a99410 Adjust checkstyle rules. Make checkstyle fail the build when violations are found. Correct all current checkstyle violations. 2015-12-25 23:49:28 +02:00
Ilkka Seppala
e709a196bd Set version number for next development iteration 2015-12-02 23:26:07 +02:00
Ilkka Seppala
f018d13c39 Set version number for monthly release 2015-12-02 23:21:44 +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
Ankur Kaushal
306b1f3d31 Reformat rest of the design patterns - Issue #224 2015-11-01 21:29:13 -05:00
Ilkka Seppala
c6ca80b25f Bump version number for the next development iteration 2015-11-01 22:22:31 +02:00
Richard Jones
7ab799c452 Synchronise the list as multiple threads are calling it 2015-10-13 21:23:32 -03:00
Richard Jones
5d970438bf Update comment 2015-10-12 05:22:09 -03:00
Richard Jones
0d068a35d8 Update comment 2015-10-12 05:21:33 -03:00
Richard Jones
31e2940eb1 Remove error unit test so pull request can proceed. Will check this at at later date 2015-10-11 22:11:03 -03:00
Richard Jones
0107b24976 Fix unit test by makinig getField use the field name directly 2015-10-11 22:06:00 -03:00
Richard Jones
45b0ac386e Add additional unit tests to show that singletons can be created in single thread environment and multithread environment. Also add a test to demonstrate a whole with Singleton when instantiating using reflection
Add some logging. Tests pass locally but not on github?
2015-10-11 21:54:45 -03:00
Richard Jones
6ba7f5ea04 Add additional unit tests to show that singletons can be created in single thread environment and multithread environment. Also add a test to demonstrate a whole with Singleton when instantiating using reflection 2015-10-11 21:32:51 -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
zafarella
60f9b71278 eliminate all warnings of checkstyle. 2015-09-24 13:29:39 -04:00
zafarella
36809537d9 checkstyle fixes - docs, indent etc 2015-09-24 01:01:51 -04:00
Narendra Pathai
b3e4e8a47b Work on #226, #213, added references of Gang Of Four to all GoF patterns, added tag for Gang Of Four, added difficulty tags to some of them 2015-09-22 18:25:56 +05:30
Ilkka Seppala
374d4617d5 Set project version to 1.6.0. 2015-08-31 23:03:00 +03:00
Ilkka Seppala
cbab406e47 Merge branch 'javadoc' 2015-08-21 23:29:48 +03:00
Ilkka Seppala
4bf2e3f16d #107 JavaDoc for Singleton 2015-08-21 23:09:51 +03:00
Markus
5ce932ceb7 Work on #213
- properly categorize all patterns
- remove pattern list from readme
- minor fixes to readme
- removed "introduction" because its not a pattern and an error i
committed some time ago
2015-08-20 21:40:07 +02:00
Narendra Pathai
adbb4ac4de Added categories to all patterns for website 2015-08-16 17:07:36 +05:30
Markus
fdb9be1e76 Work towards #56: Add permalink to every pattern
This makes cleaner URLs thanks to jekyll
2015-08-15 18:03:05 +02:00
Markus
fbb12b53ba Work towards #56: Splitting up the README
I did the job and splitted up the readme, hopefully everything was
splitted correctly...
2015-08-13 23:54:40 +02:00
Ilkka Seppala
af92d8dde5 Reached milestone 1.5.0 2015-07-23 00:59:51 +03:00
Ilkka Seppala
d3642cc94c Milestone 1.4.0 achieved 2015-07-22 01:26:48 +03:00
Ilkka Seppala
4a002d9a88 Achieved milestone 1.3.0 2015-07-19 14:28:45 +03:00
Ilkka Seppala
a0861c47e1 Reached milestone, set version to 1.2.0 2015-07-14 00:10:01 +03:00
Ilkka Seppala
96241f63d2 #100 Added test case for demonstrating the thread safety issues of a
naive lazy loaded Singleton implementation.
2015-07-09 10:36:33 +03:00
Ilkka Seppala
e945f632b0 Set version to 1.1.0 2015-06-29 22:26:50 +03:00
Ilkka Seppala
dc2d8453cd #92 Set current version to 1.0.0 2015-06-24 20:12:47 +03:00
Ilkka Seppala
5c2e2ff7fb Consistent UML model naming across all examples. 2015-05-31 12:59:30 +03:00
Ilkka Seppala
8524c75ba6 Changed package naming across all examples. 2015-05-31 11:55:18 +03:00
mbirkenkamp
649b14adf6 Update App.java
additional explanation about the risks of using the singleton pattern, as requested by @iluwatar
2015-03-14 16:59:02 +01:00
mbirkenkamp
fe625c45be Update App.java
it is important to note that the singleton pattern is inherently unsafe for distributed environments, since the initialization state is not mirrored across different instances of the java vm
2015-03-14 13:48:02 +01:00
Ilkka Seppala
6301e0bc11 Added unit tests for each of the patterns. 2014-12-06 20:34:41 +02:00
Ilkka Seppala
9a75cb11c3 Further cleanup of pom.xmls. 2014-12-06 14:19:37 +02:00
Ilkka Seppala
5646937d52 Merge branch 'master' of https://github.com/mortezaadi/java-design-patterns into mortezaadi-master
Conflicts:
	singleton/src/main/java/com/iluwatar/App.java
2014-12-05 22:58:09 +02:00
mortezaadi
c06c05757e add some references to class comments 2014-12-05 11:59:41 +03:30
mortezaadi
dbc1ca7aeb Add DCL and Initializing on demand holder idiom. 2014-12-05 00:02:50 +03:30
Ilkka Seppala
710d31b2a2 Cleanup of poms. 2014-11-26 23:03:04 +02:00
Ilkka Seppala
470f3d2460 Added comments to singleton app. 2014-11-26 22:47:44 +02:00
Ilkka Seppala
34bc1de713 Added comments to lazily initialized singleton implementation. 2014-11-26 22:45:47 +02:00
Ilkka Seppala
0ad5fbfc5c Added comment to eagerly initialized singleton implementation. 2014-11-26 22:43:08 +02:00
Ilkka Seppala
baf177a81e Added book reference to singleton enum implementation. 2014-11-26 22:41:44 +02:00