1440 Commits

Author SHA1 Message Date
Ilkka Seppälä
ac468bb7e7 Added high level lottery test 2016-03-26 15:54:40 +02:00
Slava Shchaurouski
0c56d800c5 Override annotation added
I think this is a typo
2016-03-26 15:22:33 +03:00
Ilkka Seppälä
4bb7ddaec1 Work on admin tests 2016-03-26 12:42:23 +02:00
Ilkka Seppälä
39a1c1e956 Implement admin interface 2016-03-26 12:28:51 +02:00
Ilkka Seppälä
656b599687 Refactor to test utils 2016-03-26 12:28:31 +02:00
Narendra Pathai
9074a9ca05 Merge branch 'saifulazad-patch-1' 2016-03-26 15:54:38 +05:30
Narendra Pathai
b14aff17b6 Updated failing test cases 2016-03-26 15:54:10 +05:30
Narendra Pathai
20c1e2ea80 Merge branch 'patch-1' of https://github.com/saifulazad/java-design-patterns into saifulazad-patch-1 2016-03-26 15:50:25 +05:30
Ilkka Seppälä
100a72a5e2 Merge pull request #402 from iluwatar/mute-idiom
Implements Mute idiom
2016-03-26 11:07:46 +02:00
Ilkka Seppälä
8d6bc522cd Simplify lottery ticket submit 2016-03-26 11:03:40 +02:00
Narendra Pathai
a395316a80 Added readme 2016-03-26 13:54:03 +05:30
Narendra Pathai
80875a9ac8 Removed dependency on Mockito from pom 2016-03-26 12:36:50 +05:30
Narendra Pathai
4d820b12ff Changes after review. Added README 2016-03-26 12:33:02 +05:30
Narendra Pathai
e543ee0a9c Merge branch 'master' of https://github.com/iluwatar/java-design-patterns into mute-idiom 2016-03-26 12:11:09 +05:30
Ilkka Seppälä
2f5a2be27a Fix missing table error 2016-03-25 22:00:08 +02:00
Saiful Islam
e549af25dd Severe is not appropriate.
"Sever" is most Appropriate
2016-03-25 22:50:17 +06:00
gwildor28
6e4b269939 Update according to review comments #397
- Added descriptions
- Added junit tests
- Added javadoc
- Added index.md
- Added class diagrams
2016-03-24 18:13:37 +00:00
Narendra Pathai
3f7ead5ca5 Work on #404, updated class diagram and javadoc. Passed checkstyle checks 2016-03-23 13:13:19 +05:30
Ilkka Seppälä
266b658ab5 Refactor interfaces 2016-03-22 22:45:25 +02:00
Ilkka Seppälä
d2f620a5e6 Added tests for lottery ticket repository 2016-03-22 21:27:13 +02:00
Markus Moser
aebd857931 Merge pull request #406 from slawiko/slawiko-patch-1
File renaming (index.md to README.md)
2016-03-22 12:22:35 +01:00
Narendra Pathai
fa077c8be9 Work on #404, javadocs and test cases for DB and in memory dao. 2016-03-21 17:55:29 +05:30
Ilkka Seppälä
8b147c4dd9 Add mock database for lottery tickets 2016-03-20 20:56:04 +02:00
Ilkka Seppälä
fde33999b7 Added interface for lottery administrators 2016-03-20 14:38:24 +02:00
Ilkka Seppälä
e8671e1d6e Add interface for lottery event notifications 2016-03-20 14:33:41 +02:00
Ilkka Seppälä
15d2b9dcca Added interface to lottery service provider's bank account 2016-03-20 14:26:43 +02:00
Ilkka Seppälä
95e6a67056 Added interface for accessing lottery tickets in database 2016-03-20 14:09:44 +02:00
Ilkka Seppälä
2785f6915b Add lottery ticket check result 2016-03-20 11:10:06 +02:00
slawiko
bd1b65276e all index.md files renamed to README.md for more compatibility with github 2016-03-20 11:50:21 +03:00
Ilkka Seppälä
804ffc3ea7 Added lottery service interface 2016-03-20 10:49:31 +02:00
Ilkka Seppälä
035b14fef8 Added lottery ticket and unit tests 2016-03-19 21:57:57 +02:00
Ilkka Seppälä
81718eb8ae Added player details and unit tests 2016-03-19 21:08:55 +02:00
Ilkka Seppälä
cd3a5d48d8 Work on lottery numbers unit tests 2016-03-19 20:37:36 +02:00
Ilkka Seppälä
b0f96adeb1 Added class for lottery numbers and unit tests for it 2016-03-19 18:13:30 +02:00
Narendra Pathai
448d855809 implemented and added test cases for DB dao. Added dependency of Hierarchical junit runner in parent pom 2016-03-18 16:39:45 +05:30
Narendra Pathai
f6a20c7693 Refactoring changes to DAO pattern. Renamed default dao implementation to InMemory and refined interface 2016-03-16 18:47:07 +05:30
Narendra Pathai
e5217bbde8 Work on #385, added missing license template 2016-03-16 12:48:53 +05:30
Narendra Pathai
40e5c8d587 Merge branch 'master' of https://github.com/iluwatar/java-design-patterns into mute-idiom 2016-03-16 12:41:15 +05:30
Narendra Pathai
c78dd2667a Work on #385, added documentation and class diagram. Made refactoring changes to pass checkstyle and PMD checks 2016-03-16 12:40:46 +05:30
Narendra Pathai
7aff77ab27 Used mockito to replicate SQLException while closing connection to show use of loggedMute 2016-03-15 18:44:59 +05:30
Ilkka Seppälä
528d179efe Add missing license headers 2016-03-13 17:29:09 +02:00
Ilkka Seppälä
06546ae3cf Fix license headers 2016-03-13 17:23:31 +02:00
Ilkka Seppälä
2ed089900d Initial commit for Hexagonal Architecture pattern 2016-03-13 17:23:15 +02:00
Ilkka Seppälä
984bf552ce Merge pull request #390 from DevFactory/release/private-methods-that-don't-access-instance-data-should-be-static-fix-1
squid:S2325 - private methods that don't access instance data should …
2016-03-09 18:33:17 +02:00
Narendra Pathai
414cdfa332 Merge pull request #398 from legka/master
Event driven architecture refactored.
2016-03-09 10:49:08 +05:30
Oleg
afb897300b Event driven architecture refactored.
1. Renamed Message to Event and Event to AbstractEvent
2. Generified Event and Handler
3. Updated EventDispatcher to make unsafe configuration impossible
4. Updated UML diagram accordingly
2016-03-08 00:56:08 -08:00
gwildor28
3ed3bc1fa5 Added mutex and semaphore modules to demonstrate locks
Added two modules to demonstrate locks.

Mutex demonstrates a simple mutual exclusion lock. Semaphore
demonstrates a semaphore for controlling access to a pool of resources.

The main class of both programs is App.java.
2016-03-07 19:40:50 +00:00
Narendra Pathai
adb94044ff Work on #385, created project and provided two mute methods 2016-03-01 17:28:28 +05:30
Narendra Pathai
35d6a54831 Merge pull request #391 from DevFactory/release/Useless-parentheses-around-expressions-should-be-removed-to-prevent-any-misunderstanding-fix-1
squid:UselessParenthesesCheck - Useless parentheses around expression…
2016-02-29 17:53:13 +05:30
Ilkka Seppälä
f135ef6ec8 Merge pull request #389 from DevFactory/release/Declarations-should-use-Java-collection-interfaces-such-as-List-rather-than-specific-implementation-classes-such-as-LinkedList-fix-1
squid:S1319 - Declarations should use Java collection interfaces such…
2016-02-29 07:42:04 +02:00