2313 Commits

Author SHA1 Message Date
Per Wramdemark
05d0f0babf #834 Fix dependency management issue for POM files (#940) 2019-10-03 21:50:50 +03:00
Denise
823c58bef2 added new information (#937) 2019-10-02 10:53:57 +03:00
Anirudh
b03e0b8c35 Fix for BallThreadTest#testResume (#935)
* Fix for flaky test

* Remove other file changes

* Remove other file changes

* Remove other file changes not related to bug
2019-10-01 21:34:19 +03:00
Zhang WH
3d62e02891 fixed bug #929: close async service before the main thread finishes (#931) 2019-09-30 18:32:29 +03:00
Hemant Bothra
06fa92af2c Removing the dead link to resove automagic issue as mentioned in issue#915 (#927) 2019-09-30 18:27:02 +03:00
Ranjeet
6b297b701f Data Locality pattern #559 (#889)
* Data Locality pattern #559

* Fixed review comments

* updated pom

* Fixed failed build
2019-09-30 18:19:08 +03:00
Hemant Bothra
5f39f7fbf7 Updating README.md file to update doc as suggested in issue#925 (#926) 2019-09-20 08:08:43 +03:00
Ilkka Seppälä
019abc9980 Add license headers 2019-09-10 20:26:18 +03:00
Ilkka Seppälä
b874adc296 Set version for next development iteration 2019-09-08 11:01:12 +03:00
Ilkka Seppälä
9bf7a059b8 Java Design Patterns v1.21.0 1.21.0 2019-09-08 10:49:40 +03:00
snehalatapandit
88fae070e6 Fix broken links #915 (#921) 2019-09-07 21:18:13 +03:00
Adrian Yao
f1410337b5 Fix issue #761: ThreadSafeDoubleCheckLocking.java: Instantiating by Reflection call will be successful if you do that firstly (#920) 2019-09-07 21:13:15 +03:00
Ibrahim ali abdelghany
8c865e6b4d clean code (#910) 2019-09-07 21:07:01 +03:00
dongshengchen
c653edf38f fix must override a superclass method (#919)
* fix must override a superclass method

* fix must override a superclass method
2019-09-07 20:52:49 +03:00
saksham93
35dc25d480 MInor bug fix Issue #895 -> Code comment change (https://github.com/iluwatar/java-design-patterns/issues/895) (#901) 2019-09-07 20:24:40 +03:00
Pawel Zawitowski
318f811fea Bytecode pattern #553 (#896)
* Added bytecode pattern

* Diagram changed and added licence information

* Added bytecode module to main pom.

* Fixed missing dependency error
2019-09-03 21:50:48 +03:00
Ranjeet
7f6067f19f Added priority queue design pattern (#888)
* added priority queue design pattern

* Minor Refactored, fixed review comments
2019-08-31 21:10:35 +03:00
Ilkka Seppälä
11c0550559
Create .sonarcloud.properties 2019-08-21 21:51:27 +03:00
Ilkka Seppälä
085e47b50d
Update SonarCloud badge 2019-08-21 21:47:36 +03:00
Aravind M
61ef59de02 fix code example containing syntax error (#890) 2019-08-11 21:06:27 +03:00
Ranjeet
ccb257d525 fixed bug #883 (#885) 2019-08-04 17:11:56 +03:00
hoangnam2261
6daaeec5c6 Remove the transitive dependency(junit-jupiter-api) (#916) 2019-07-30 22:46:38 +03:00
Thiago Medeiros
517c20960d Added one more Credit/Article about the benefits of Repository pattern (#882) 2019-07-29 21:31:42 +03:00
S Sethi
36e80c4e69 fixed failing tests (#860) (#880) 2019-07-29 21:27:08 +03:00
pierDipi
3454941dcd Typo coresponding -> corresponding (#879) 2019-07-29 21:22:56 +03:00
DRad
b497d41f61 Modify Observer pattern UML (#877) 2019-07-29 21:21:07 +03:00
HelloCoCooo
aaabc8f517 Fix the dependency conflict issue (#872) 2019-07-29 21:16:21 +03:00
hoangnam2261
2757b210ea Best practice when compare enum (#869) 2019-07-29 21:12:14 +03:00
AnaghaSasikumar
d9a567cf97 Commander pattern #505 (#857)
* Commander pattern

* Fix checkstyle errors

* Update Commander.java

* Update README.md

* Update PaymentService.java

* Update Commander.java

* Update README.md
2019-07-29 21:09:08 +03:00
Ilkka Seppälä
a113de6a14 Add licenses 2019-07-28 16:24:14 +03:00
kanwarpreet25
f7e22a1cf6 508 : Sonar qube critical Issue Fix (#854)
* 508 : Sonar qube critical Issue Fix
Refactor this method to reduce its Cognitive Complexity from 30 to the 15 allowed.

* 508: Sonar Qube Issue fxes
Define a constant instead of duplicating this literal " does not exist." 3 times.

* 508: sonar qube issue fixes
Define a constant instead of duplicating this literal "Some external api for only realtime execution could be called here." 3 times.
2019-07-28 15:42:03 +03:00
kanwarpreet25
c6ecf58687 508 : sonar qube critical issue fixes (#852)
* 508 : sonar qube critical issue fixes

* 508 : Sunar Qube Fixes
Define a constant instead of duplicating this literal "user_accounts" 4 times.
Define a constant instead of duplicating this literal "userID" 5 times
Define a constant instead of duplicating this literal "additionalInfo" 4 times.
Define a constant instead of duplicating this literal "userName" 4 times.

* 508 : Sunar Qube Fixes
Define a constant instead of duplicating this literal "user_accounts" 4 times.

* 508 : Sonar Qube Fixes
Define a constant instead of duplicating this literal "eEvans" 4 times
Define a constant instead of duplicating this literal "jBloch" 6 times
Define a constant instead of duplicating this literal "mFowler" 3 times

* 508 : Sonar Qube FIxes
Define a constant instead of duplicating this literal "username" 3 times.

* 508: sonar qube issue fixes
Define a constant instead of duplicating this literal "customerDao.getAllCustomers(): " 4 times.

* 508 : sonar qube issue fixes
Define a constant instead of duplicating this literal "App.main(), student : " 4 times.

* 508 : sonar Qube issue fixes
Define a constant instead of duplicating this literal "{} hits {}. {} is damaged!" 3 times.
Define a constant instead of duplicating this literal "{} hits {}." 4 times.

* 508 : Define a constant instead of duplicating this literal "{} hits {}." 4 times.

* 508 : checkstyle fixes

* 508: checkstyle fixes

* 508: checkstyle fixes

* 508: checkstyle fixes

* 508: checkstyle fixes

* 508: checkstyle fixes

* 508: cqrs checkstyle fixes
2019-07-28 15:39:40 +03:00
ptrax
17bfc91f45 Change Travis CI build env. to Trusty (#911) 2019-07-28 14:20:18 +03:00
AnaghaSasikumar
0c6237c225 Type object pattern #555 (#848)
* typeobject pattern

* fixing errors

* fix error cellpool

* Update README.md

* Update README.md
2019-07-24 22:08:30 +03:00
saritchie
fedc2d9e47 Minor ReadMe Update (#864)
Two sentences read a little awkward, so I tweaked them. Hope this helps!
2019-04-07 08:41:35 +03:00
kanwarpreet25
b6b4602baf 845 : unnecassary return deleted (#856) 2019-02-16 22:53:06 +02:00
kanwarpreet25
eafe52e17a 756 : faq added (#855) 2019-02-15 20:00:21 +02:00
Lucas Prone
5251ec4a93 removed unnecessary static modifier on enum definition (#853) 2019-02-15 19:55:23 +02:00
Ilkka Seppälä
26f1a608ab Update license headers 2019-02-13 23:14:53 +02:00
AnaghaSasikumar
7a25c57474 Master worker pattern #799 (#831)
* master worker pattern

* Update App.java

* Adding new line to README.md

* Adding new line to pom.xml

* Adding new line to ArrayEquality.java

* Adding new line to Input.java

* Adding new line to Result.java

* Adding new line to ArrayTransposeMasterWorker.java

* Adding new line to ArrayTransposeMaster.java

* Adding new line to ArrayTransposeWorker.java

* Adding new line to Worker.java

* Adding new line to ArrayInputTest.java

* Adding new line ArrayTransposeMasterWorkerTest.java

* Adding new line to ArrayResult.java

* Review changes

* Update README.md
2019-02-13 23:04:16 +02:00
Rodolfo Forte
55c7579983 Fix script blocking (#843) 2019-02-04 08:35:06 +02:00
AnaghaSasikumar
10cb191533 Retry exponential backoff #775 (#829)
* Spatial partition

* Retry with exponential backoff

* retry exponential backoff

* branch error
2019-02-04 08:27:13 +02:00
AnaghaSasikumar
a6749cb63e Spatial partition pattern #562 (#828)
* Spatial partition

* Update pom.xml

* Update Bubble.java - pmd

* Update Rect.java - pmd
2018-12-22 23:37:31 +02:00
Edy Cu Tjong
7b8c9b07ed Fix typo (#832) 2018-12-17 12:12:54 +05:30
Narendra Pathai
0fa18d91c6
Added real world example of Command pattern
JUnit 4 Statement class is also an example of Command pattern. Added that to list of real world examples
2018-12-03 18:58:20 +05:30
hoangnam2261
53b673d5b0 No Need declare App class as a utility class (#827) 2018-11-25 19:35:22 +02:00
Anandhu Gopi
966c56311c Update Readme.md (#815)
Added a tutorial link for  intercepting filter design pattern
2018-11-04 20:12:04 +02:00
Ilkka Seppälä
150f72758e Add missing license headers 2018-11-03 09:13:59 +02:00
Paweł Matejko
4446e74338 Hexagonal pattern fixes (#814)
* Fixed wrong else condition

* Simplified creating Set of numbers

* Deleted unused imports

* Replaced 'for' loop with 'foreach' one

* Replaced explicit type with diamond

* Removed unnecesary brackets from lambda

* Removed unnecesary contains check before adding element to Set

* Fixed typo and changed non-english constant names
2018-10-27 16:39:16 +05:30
staillebois
70f6e54353 Fix blocker issues on Sonar #508 (#810)
* Fix blocker issues on Sonar

* Replace Assertj assertions with JUnit ones
2018-10-25 18:43:58 +05:30