2296 Commits

Author SHA1 Message Date
Azureyjt
1fa8a604eb Sharding Pattern (#1056)
* Create sharding module

* Add Unit Tests

* Fix readme hyperlink

* Fix check-style issue
2019-11-08 08:20:32 +02:00
Ilkka Seppälä
50986fa15b #590 arrange Layers into packages and add explanation 2019-11-05 20:07:50 +02:00
Ilkka Seppälä
8ecdee44c8 #1021 Checkstyle fixes for Layers 2019-11-05 17:38:05 +02:00
Ilkka Seppälä
47ae477a56 #1021 Checkstyle changes for Factory Method 2019-11-05 17:28:08 +02:00
Ilkka Seppälä
7dc47da131 #1021 Checkstyle fixes for Composite pattern 2019-11-05 17:22:53 +02:00
Ilkka Seppälä
0b17abdf11 #590 Add explanation for Specification pattern 2019-11-02 14:45:50 +02:00
Ilkka Seppälä
a8c7771784 #1021 style changes for Specification 2019-11-01 20:23:01 +02:00
Arpit Jain
1d4a7681e2 Fix for Issue #549 : Add Fallbacks in Aggregator Service (#971)
*  Fix for Issue##549

Catch ClientProtocolException and Update Error Logs

* Fix indentation, checkstyle errors

* Fix for Issue #549
Add fallbacks in Aggregator service when other microservices fail

* Make ProductInventoryClientImpl return null instead of zero in case of failure
2019-11-01 20:01:30 +02:00
Ilkka Seppälä
55b0341c8d Fix remaining Checkstyle errors for Singleton 2019-10-31 20:01:39 +02:00
Leonóra Dér
3b1a28149b decrease number of checkstyle errors in singleton, strategy and visitor patterns #1021 (#1054)
* fix checkstlye errors - visitor pattern

* fix checkstlye errors - strategy pattern

* fix checkstlye errors - singleton pattern
2019-10-31 19:54:13 +02:00
Ilkka Seppälä
1eb1961f1b Remove presentations 2019-10-30 21:12:10 +02:00
Ilkka Seppälä
cc85c73fbc Move faq.md to java-design-patterns-web repository 2019-10-30 19:52:25 +02:00
Hemant Bothra
cdb80b8ddd Issue 893 (#1014)
* Using static object to reduce memory foot prints

* Updating README along with name of static fields

* Updating code as per review comments

* Updating code as per review comments

* Updating doc as per new code
2019-10-30 08:27:24 +02:00
Ilkka Seppälä
a9dfd7e809 Update license header 2019-10-30 08:23:45 +02:00
adamski.pro
fca7e9c8c7 https://github.com/iluwatar/java-design-patterns/issues/1021 - decrease number of checkstyle errors in callback pattern (#1053) 2019-10-30 08:19:33 +02:00
Ilkka Seppälä
91a085d3d1 Update script 2019-10-30 08:15:43 +02:00
Ilkka Seppälä
ff52848481 Update script 2019-10-29 23:28:05 +02:00
Ilkka Seppälä
ccc1a6340b Update script 2019-10-29 23:02:24 +02:00
Ilkka Seppälä
a65a601835 Update web site logic 2019-10-29 22:11:27 +02:00
Leon Mak
c8a481bb77 Add java 11 support for #987 (o-t) (#1051)
* Use java 11

* Use .of
- Replace Arrays.asList with List.of
- Replace HashSet<>(List.of()) with Set.of

* Formatting
2019-10-29 08:37:40 +02:00
Leon Mak
dd971d8c19 Use java 11 (#1050) 2019-10-28 17:02:17 +02:00
Leon Mak
6bb3438965 Add java 11 (#1049) 2019-10-27 22:08:09 +02:00
Leon Mak
63fb8dc318 Add java 11 (#1048) 2019-10-27 22:05:10 +02:00
Ilkka Seppälä
b50189e283 Fix Role Object front matter 2019-10-26 21:26:42 +03:00
Ilkka Seppälä
9f7e3fe552 Update license headers 2019-10-26 21:09:19 +03:00
Boris
d1767bbb51 The pattern Role object (#1031)
* init repo for role object

* add to init

*  add to init

*  add first impl

*  add pattern

*  add license

*  add changes
2019-10-26 20:58:40 +03:00
Alexander Ivanov
5d47488fe9 Fix error when building from a submodule directory (#1045)
Add directory-maven-plugin to resolve the location of the
license-plugin-header-style.xml from a submodule directory
2019-10-26 20:43:28 +03:00
Ilkka Seppälä
d01a3a66b4 Update Github token 2019-10-26 20:32:50 +03:00
Anurag870
fadad43f8b #984 for unitofwork, tolerantreader, twin (#1044)
* #984 for unitofwork, tolerantreader, twin

* #984 for unitofwork, tolerantreader, twin

* #987 for visitor, value-object, unitofwork, typeobjectpattern, tolerantreader, twin, tranpoline
2019-10-26 18:58:56 +03:00
GVSharma
c7fee7bb07 local variable type inference changes (#1042)
* local variable type inference changes

local variable type inference changes for thread pool design pattern

* local variable type inference changes

local variable type inference changes for ThreadPool design pattern
2019-10-26 18:50:47 +03:00
GVSharma
954e7300e9 local variable type inference changes (#1043)
local variable type inference changes for throttling design pattern
2019-10-26 18:49:28 +03:00
GVSharma
03e1e92b52 local variable type inference changes (#1041)
local variable type inference changes for template method design pattern
2019-10-26 18:47:43 +03:00
GVSharma
af8c5ed0dd local variable type inference changes (#1040)
local variable type inference changes for strategy design pattern
2019-10-26 18:45:54 +03:00
GVSharma
349d8edebf local variable type inference changes (#1039)
local variable type inference changes for step builder design pattern
2019-10-26 18:43:52 +03:00
GVSharma
12f13a631e local variable infere changes (#1038)
local variable infere changes for STATE design pattern
2019-10-26 18:41:39 +03:00
GVSharma
0b8d78e4bf local variable type inference changes (#1036)
local variable type inference changes for design pattern singleton
2019-10-26 18:40:14 +03:00
GVSharma
58d8fa1758 local variable type inference changes (#1035)
local variable type inference changes for design pattern service locator
2019-10-26 18:38:09 +03:00
GVSharma
f7a53f2d17 service-layer local type inference changes (#1034)
local variable type inference for service-layer design patterns
2019-10-26 18:35:32 +03:00
Ilkka Seppälä
70ddeaa194
Create FUNDING.yml 2019-10-26 15:12:05 +03:00
adamski.pro
6aeafcf2aa https://github.com/iluwatar/java-design-patterns/issues/1016 - decrease number of checkstyle errors in adapter pattern (#1033) 2019-10-26 08:34:30 +03:00
adamski.pro
1cb1bdcb57 https://github.com/iluwatar/java-design-patterns/issues/1009 - remove child poms overhead information (#1030)
* https://github.com/iluwatar/java-design-patterns/issues/1009 - remove child versions

* https://github.com/iluwatar/java-design-patterns/issues/1009 - add custom jaxb version for cqrs
2019-10-25 06:58:33 +03:00
Ilkka Seppälä
1b6cecda19 Update keywords 2019-10-24 23:30:08 +03:00
GVSharma
acaa6cdc62 local variable type inference changes (#1028)
* local variable type inference changes

replacing type with var

* the type changed back to String

since it is initializing to null and later having different value, it is throwing error in Travis-CI.  Made changes.
2019-10-23 17:25:45 +03:00
Alexander Ivanov
4904d7eea0 #1021: Fix checkstyle warnings by changing the license header template (#1027)
* Add custom license header style in order to comply with Google's Checkstyle format

* Update license headers to comply with Google's Checkstyle format
2019-10-22 08:15:35 +03:00
Zack Beach
c81c3ff1c7 Use local variable type inference (#995)
* "visitor" pattern: Use local variable type inference

Update "visitor" pattern with local variable type inference.

* "value-object" pattern: Use local variable type inference

Update "value-object" pattern with local variable type inference.

* "unit-of-work" pattern: Use local variable type inference

Update "value-object" pattern with local variable type inference.

* "typeobjectpattern" pattern: Use local variable type inference

Update "value-object" pattern with local variable type inference.
2019-10-21 08:09:29 +03:00
Jonathan Lao-kan
5fc03ee9f8 improve grammar of README (#945)
* improve grammar of README

* Update README.md
2019-10-20 23:21:48 +03:00
Anurag870
f00ebe1a8d #984 local variable inference changes (#1025)
* #984 Fix for abstract-document, abstract-factory, acyclic-visitor, adapter, aggregator-microservices

* #984 Fix for abstract-document, abstract-factory, acyclic-visitor, adapter, aggregator-microservices
2019-10-20 19:01:02 +03:00
Azureyjt
2217fbc5ff Issue#550: double buffer pattern (#1024)
* Basic implementation

* implement double buffer

* add unit test

* add unit test

* Add Readme

* Change local value declaration to var

* Remove unused fields
2019-10-20 18:55:36 +03:00
Christopher O'Connell
82f9a6c232 1010: Fixed the two remaining SonarCloud errors (#1023)
The two remaining files were still creating a Random everytime the method
was called. These were missed in the previous commit because the previous
commit had fixed only one of the methods; in other words, there were
multiple methods that were creating the Random object on each call.
2019-10-20 09:02:36 +03:00
Ilkka Seppälä
f671f03d13 Update FAQ metadata 2019-10-19 22:14:01 +03:00