1352 Commits

Author SHA1 Message Date
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
Mohammed Ezzat
046e131119 squid:UselessParenthesesCheck - Useless parentheses around expressions should be removed to prevent any misunderstanding 2016-02-23 20:57:55 +02:00
Mohammed Ezzat
e4c34b1e22 squid:S1319 - Declarations should use Java collection interfaces such as List rather than specific implementation classes such as LinkedList 2016-02-23 12:32:23 +02:00
Mohammed Ezzat
3791a80978 squid:S2325 - private methods that don't access instance data should be static 2016-02-22 19:15:51 +02:00
Ilkka Seppälä
ab19c47415 Merge pull request #388 from Crossy147/monad-pattern
Monad pattern
2016-02-21 20:36:05 +02:00
Ilkka Seppälä
9f086ba72c Merge pull request #382 from Crossy147/master
issue #333 Factory-kit
2016-02-21 19:56:53 +02:00
Crossy147
cfd83b5753 issue #333 review changes 2016-02-21 12:54:40 +01:00
Crossy147
81e8d354a9 issue #335 review changes 2016-02-21 12:10:08 +01:00
Ilkka Seppälä
c580b61df3 Merge pull request #380 from DevFactory/release/Type-parameter-names-should-comply-with-a-naming-convention-fix-1
squid:S00119 - Type parameter names should comply with a naming conve…
2016-02-20 19:35:53 +02:00
Ilkka Seppälä
9714fe075a Merge pull request #387 from DevFactory/release/Constructors-should-only-call-non-overridable-methods-fix-1
squid:S1699 - Constructors should only call non-overridable methods
2016-02-20 19:25:48 +02:00
Ilkka Seppälä
bbd769b208 Merge pull request #386 from amitbhoraniya/master
Dao Pattern : Create object with reference to Interface
2016-02-20 18:34:47 +02:00
Mohammed Ezzat
d3689b2040 squid:S00119 - Type parameter names should comply with a naming convention 2016-02-20 18:19:44 +02:00
Ilkka Seppälä
ea81ef71ab Merge pull request #377 from iluwatar/FactoryMethodChanges
Factory and Abstract Factory changes
2016-02-20 17:49:14 +02:00
Crossy147
80ff7bb217 issue #335 brace typo 2016-02-20 15:01:45 +01:00
Crossy147
64f1fe8979 issue #335 typos fixed 2016-02-20 14:55:37 +01:00
Crossy147
f47b9283c3 Merge branch 'master' of https://github.com/iluwatar/java-design-patterns into monad-pattern 2016-02-19 19:10:43 +01:00
Crossy147
72e08365b8 issue #335 documentation improvements 2016-02-19 19:08:35 +01:00
Crossy147
3e526cb5da issue #335 Monad pattern introduced 2016-02-19 17:56:09 +01:00
Mohammed Ezzat
50310aaeaf squid:S1699 - Constructors should only call non-overridable methods 2016-02-19 11:02:49 +02:00
Amit Bhoraniya
b70614efef Creating object with reference to Interface
In Dao pattern DaoImpl object is created with reference to dao interface.
2016-02-19 00:10:55 +05:30
Narendra Pathai
dfef28e93e Merge pull request #384 from DevFactory/release/Redundant-Field-Initializer-fix-1
pmd:RedundantFieldInitializer - Redundant-Field-Initializer
2016-02-18 12:39:06 +05:30
Mohammed Ezzat
0003c6cb00 pmd:RedundantFieldInitializer - Redundant-Field-Initializer 2016-02-18 08:40:19 +02:00
Crossy147
6ab9b36d59 issue #333 javadocs changes 2016-02-17 19:35:10 +01:00
Crossy147
2fa705ab59 issue #333 snapshot version fixed 2016-02-16 00:05:28 +01:00
Crossy147
8fabc861b3 pom.xml minor 2016-02-15 21:57:26 +01:00
Crossy147
53fdaba6c4 Merge branch 'master' of https://github.com/iluwatar/java-design-patterns 2016-02-15 21:48:07 +01:00
Crossy147
8b625a8d3c issue #333 minor revert 2016-02-15 20:54:55 +01:00
Crossy147
022ab28e20 issue #333 diagrams and index added 2016-02-15 20:37:16 +01:00
Narendra Pathai
f1122f78e3 Added real life application to Command pattern 2016-02-15 18:21:34 +05:30
Narendra Pathai
cd077fa490 Merge branch 'master' of https://github.com/iluwatar/java-design-patterns into FactoryMethodChanges 2016-02-12 15:49:35 +05:30
Narendra Pathai
823dc6395f Merge pull request #376 from DevFactory/release/Classes-without-public-constructors-should-be-final-fix-1
squid:S2974 - Classes without public constructors should be final
2016-02-12 15:44:31 +05:30
Narendra Pathai
221b71781a Resolved checkstyle audit error 2016-02-11 12:29:35 +05:30
Narendra Pathai
b5d4445d63 Made example App a bit easier to understand 2016-02-10 17:53:32 +05:30
Narendra Pathai
f64ba22c64 1) Removed warning from test case. 2) Made implementation of App more understandable. 2016-02-10 17:38:15 +05:30
Mohammed Ezzat
632174b6dc squid:S2974 - Classes without public constructors should be final 2016-02-09 17:19:31 +02:00
Ilkka Seppälä
57be8aa522 Merge pull request #375 from DevFactory/release/The-members-of-an-interface-declaration-or-class-should-appear-in-a-pre-defined-order-fix-1
squid:S1213 - The members of an interface declaration or class should…
2016-02-08 20:40:16 +02:00
tmcconville
3cbb88e09c #297 Create unit tests for Gateway API pattern 2016-02-07 17:05:45 -06:00
tmcconville
88c3b04eb3 #297 Create API Gateway pattern 2016-02-07 17:05:33 -06:00
Mohammed Ezzat
9c5745763d squid:S1213 - The members of an interface declaration or class should appear in a pre-defined order 2016-02-06 01:10:56 +02:00