Commit Graph

1778 Commits

Author SHA1 Message Date
81f4df9a32 Merge pull request from mookkiah/issue_587_reader-writer-lock
 SonarQube reports bugs reader-writer-lock and refactor
2017-08-29 20:53:16 +03:00
f80d917432 Merge pull request from iluwatar/bridge
Improved bridge example and added explanation
2017-08-23 21:33:00 +03:00
1dc038bc30 Add explanation for Bridge pattern 2017-08-23 21:25:48 +03:00
6f1736d2e6 Refactored tests for Bridge 2017-08-22 22:01:52 +03:00
a5ec376089 Work on improved Bridge example 2017-08-22 09:11:18 +03:00
ed1a0022b9 Add more logging to Reactor 2017-08-19 11:00:34 +03:00
5db6776971 Fix PMD issue 2017-08-19 10:10:49 +03:00
fbf5ffe67a Add explanation for Adapter 2017-08-19 10:00:18 +03:00
51751ec821 SonarQube reports bugs reader-writer-lock and refactor
Keeping wait() calls with in synchronized block closely to adhere
SonarQube rules.
 
Avoid nested synchronized block by extracting method.

Added writing and reading time to simulate testing to ensure 
1) writers are waiting for globalMutex to be empty 
2) readers to confirm there is no writers.
2017-08-18 20:44:28 -04:00
f47dc1eb7c Merge pull request from mookkiah/issue_587_async-method-invocation
 SonarQube reports bugs - async-method-invocation
2017-08-18 22:24:43 +03:00
2a7feba427 SonarQube reports bugs
As recommended in
https://sonarcloud.io/organizations/default/rules#rule_key=squid%3AS2274 
Used while insteadof if - for waiting upon a condition.
2017-08-18 14:18:43 -04:00
68d094a847 Merge pull request from mookkiah/issue_587_dao
Issue 587 SonarQube reports bugs - Module DAO
2017-08-17 22:24:52 +03:00
e367e48ec2 Merge pull request from gopinath-langote/master
 Data Transfer Object design pattern
2017-08-17 22:15:38 +03:00
b639f3630e Add explanation for Prototype 2017-08-16 21:09:28 +03:00
f9789d6926 - Data Tranfer Object : Add class diagram. 2017-08-14 16:14:23 +05:30
4a81453da4 - Data Tranfer Object : Make private varialbes final in immutalbe model. 2017-08-14 00:46:31 +05:30
b62d431d62 - Data Tranfer Object : Use logger instead of print statements. 2017-08-14 00:40:29 +05:30
8525bfd323 - Data Tranfer Object : Add dto module to main pom.xml 2017-08-14 00:40:01 +05:30
9c088b5f47 - Data Tranfer Object : Mofidy maven dependancies. 2017-08-14 00:23:03 +05:30
3eab4d75a6 Revert " - Data Tranfer Object : Added module to project."
This reverts commit db10b937f2.
2017-08-14 00:16:29 +05:30
f6c8bfbc39 Add explanation for Builder 2017-08-13 17:34:05 +03:00
a1a4088087 As getAll method returns a Stream, we cannot close the involved
resources (Connection, Statement and resultSet) until the stream is
closed by the consumer. So try-with-resources is not an option as per
sonarqube’s recommendation. But it is still recommended to close
statement and result set. When connection pool used, connection is not
closed when close() called. It is just returned to the pool.

Using //NOSONAR to avoid false blocker issue.
2017-08-13 10:19:48 -04:00
cbba487ff8 Merge branch 'master' of https://github.com/iluwatar/java-design-patterns 2017-08-13 10:09:46 +03:00
37b9d45a74 Add explanation for Abstract Factory 2017-08-13 10:09:26 +03:00
2e99cb41ad Merge pull request from mookkiah/587_model-view-presenter
 SonarQube reports bugs
2017-08-13 08:57:13 +03:00
fba30e59ee Kramdown fixes 2017-08-12 21:44:21 +03:00
2d750dc0fd Alter Factory Method presentation 2017-08-12 20:02:14 +03:00
002774b5aa Fix Travis out of memory error 2017-08-12 19:24:55 +03:00
2150a2bb55 Skip puml processing for singleton module 2017-08-12 18:42:14 +03:00
746e452c2b Add new presentation for Singleton 2017-08-12 18:20:45 +03:00
600553ec0f Merge pull request from shaiktaj/patch-1
Updated ThreadSafeLazyLoadedivoryTower
2017-08-12 16:58:01 +03:00
bfbc8fd740 - Data Tranfer Object : Add readme.md 2017-08-11 16:51:46 +05:30
df9be78504 - Data Tranfer Object : customer client request customer details to server at one shot. 2017-08-11 16:17:51 +05:30
229fda9f3c - Data Tranfer Object : Add puml diagram. 2017-08-11 15:55:12 +05:30
148de06bb1 - Data Tranfer Object : Implement Data Transfer Object pattern simple version. 2017-08-11 15:42:21 +05:30
67d4477d25 - Data Tranfer Object : Add puml file to etc. 2017-08-10 13:45:46 +05:30
db10b937f2 - Data Tranfer Object : Added module to project. 2017-08-09 15:27:36 +05:30
0271e55983 SonarQube reports bugs 2017-08-05 10:07:28 -04:00
54d8ec94be Merge pull request from mookkiah/587_intercepting-filter
 sonarqube bugs
2017-07-30 08:49:17 +03:00
ffbf56f01a CQRS pattern: Add missing license headers 2017-07-29 21:41:11 +03:00
83fcbe0713 Merge pull request from kevelbreh/patch-1
Update README.md punctuation and spelling
2017-07-29 21:13:29 +03:00
0982f00a61 Merge pull request from isabiq/master
CQRS pattern
2017-07-29 20:45:55 +03:00
871df4f918 close connection before throwing an exception 2017-07-29 13:26:54 +01:00
7ae9e3ee22 add a description of the pattern 2017-07-29 13:13:08 +01:00
c572fe885e add check on null objects 2017-07-29 12:16:19 +01:00
a221245909 Use Logger instead of println 2017-07-29 12:14:15 +01:00
8bf4497879 Close sessions using try with resources 2017-07-29 12:13:34 +01:00
8073b93182 fix README.md 2017-07-29 12:04:04 +01:00
9b1a9aafc1 Update README.md punctuation and spelling
Fixed minor punctuation and spelling while reading through applicability
2017-07-28 20:20:38 +02:00
c6b6c8123f sonarqube bugs 2017-07-22 18:35:18 -04:00