Joseph McCarthy
3d95696078
#358 Added license to all files using plugin
2016-01-27 22:20:42 +00:00
Ilkka Seppala
8b020837ea
Checkstyle corrections
2015-12-29 21:34:27 +02: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
Jeroen Meulemeester
2edc1898b1
Add proper unit tests for double-checked-locking pattern
2015-12-11 20:24:56 +01:00
Ankur Kaushal
306b1f3d31
Reformat rest of the design patterns - Issue #224
2015-11-01 21:29:13 -05: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
Ilkka Seppala
e32b440a38
Improve Double Checked Locking Javadoc
2015-10-03 21:00:21 +03:00
Ilkka Seppala
57e702db4f
#107 Double Checked Locking example JavaDoc
2015-08-18 22:29:35 +03:00
Ilkka Seppala
3d488ec15a
#108 Consistent package naming throughout the examples
2015-07-24 11:32:22 +03:00
Ilkka Seppala
8524c75ba6
Changed package naming across all examples.
2015-05-31 11:55:18 +03:00
Ilkka Seppala
6301e0bc11
Added unit tests for each of the patterns.
2014-12-06 20:34:41 +02:00
matthew
3da9ad5469
Formatted all files to the same standard
2014-10-08 13:42:12 +01:00
Matthew
bde5b343d0
Just formatting App classes to be like the other class files on the project
2014-10-07 16:23:37 +01:00
yusufaytas
91a7980f72
Added simple attributes to the Item.
2014-09-07 21:15:24 +01:00
yusufaytas
1f0bedbbe1
double-checked-locking pattern is added.
2014-09-07 00:34:26 +01:00