37 Commits

Author SHA1 Message Date
Ilkka Seppälä
417f21ed3d
Code cleanup (#1461)
* Code cleanup

* Fix flux tests

* Fix checkstyle errors

* Fix compile error
2020-07-30 20:28:47 +03:00
Anurag Agarwal
f04fc3c0dc Java 11 migration: patterns starting with a (#1084)
* Moves abstract-factory pattern to java 11

* Moves abstract-document pattern to java 11

* Moves acyclic-visitor pattern to java 11

* Moves adapter pattern to java 11

* Moves aggregator-microservices pattern to java 11

* Moves api-gateway pattern to java 11
2019-11-13 18:04:51 +02:00
Anurag Agarwal
1e76d91929 Resolves checkstyle errors for abstract-document abstract-factory acyclic-visitor adapter aggregator-microservices (#1080)
* Reduces checkstyle errors in abstract-document

* Reduces checkstyle errors in abstract-factory

* Reduces checkstyle errors in acyclic-visitor

* Reduces checkstyle errors in adapter

* Reduces checkstyle errors in aggregator-microservices
2019-11-11 22:30:08 +02:00
Ilkka Seppälä
9f7e3fe552 Update license headers 2019-10-26 21:09:19 +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
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
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
Ilkka Seppälä
9ebbc421dd Update license headers 2019-10-12 20:05:54 +03:00
Juan Manuel Suárez
87cb33f69b
Fixed tests 2018-03-07 17:43:03 -03:00
Juan Manuel Suárez
915a1f3eb0
Forgot to delete row's @Override
My bad, sorry. It should compile now.
2018-03-07 17:26:39 -03:00
Juan Manuel Suárez
696ed86aff
Captain is implementing RowingBoat - Adapter pattern
Captain and RowingBoat aren't interchangable. 
Captain, as a client, may have a method to use the boat, but it isn't needed that they share the same interface, as it makes the code more confusing.
2018-03-07 00:19:33 -03:00
Artur Mogozov
6694d742a3 Migrate to JUnit5 2017-12-31 16:29:48 +09:00
Ilkka Seppälä
5db6776971 #590 Fix PMD issue 2017-08-19 10:10:49 +03:00
Ilkka Seppälä
fbf5ffe67a #590 Add explanation for Adapter 2017-08-19 10:00:18 +03:00
Ilkka Seppälä
faa29f8025 Update license headers 2016-11-27 14:34:20 +02:00
daniel-bryla
0438811489 #502 Replaced usages of System.out with logger. 2016-10-23 19:59:03 +02:00
Ilkka Seppälä
59c32d3937 Add tests that run the examples 2016-01-31 12:09:09 +02:00
Joseph McCarthy
3d95696078 #358 Added license to all files using plugin 2016-01-27 22:20:42 +00:00
Ilkka Seppala
5f033be54f Fix PMD violations #327 2015-12-27 21:21:57 +02:00
JuhoKang
e2d8079b36 Fixed code to follow coding conventions 2015-12-07 10:35:32 +09:00
JuhoKang
33b41f872e The new java files was not added.. #292 2015-12-02 18:45:08 +09:00
JuhoKang
119d264779 issue #292 2015-12-01 16:00:31 +09:00
mfarid
b577890db4 Added UnitTest cases for adapter. 2015-11-22 05:44:45 +05:30
Ankur Kaushal
95c16200e7 Reformat Adapter Pattern - Issue #224 2015-11-01 17:26:57 -05:00
Ilkka Seppala
8c6caa29b7 Improve Adapter Javadoc 2015-10-03 11:56:59 +03:00
Ilkka Seppala
1dc2d8d0c7 #107 JavaDoc improvements 2015-08-18 21:28:23 +03:00
Ilkka Seppala
ef6a34ef74 #107 JavaDoc improvements for the Adapter example 2015-08-17 23:11:15 +03:00
Ilkka Seppala
8524c75ba6 Changed package naming across all examples. 2015-05-31 11:55:18 +03:00
jack.zhang
c5da37a16d change the adapter pattern, manager class type to Interface 2015-04-15 15:33:36 +08:00
Ilkka Seppala
6301e0bc11 Added unit tests for each of the patterns. 2014-12-06 20:34:41 +02:00
matthew
3da9ad5469 Formatted all files to the same standard 2014-10-08 13:42:12 +01:00
Matthew
bde5b343d0 Just formatting App classes to be like the other class files on the project 2014-10-07 16:23:37 +01:00
Ilkka Seppala
f7c2cad971 Added explanation about class adapter vs. object adapter in the adapter
example.
2014-09-07 15:20:52 +03:00
Ilkka Seppala
b8365e9e4c Improved the adapter pattern example. Updated the class diagram. 2014-09-07 15:08:43 +03:00
Ilkka Seppala
37d58d31d0 Updated the adapter example. 2014-08-31 19:19:28 +03:00
Ilkka Seppala
c5b57c86bd Comments for adapter example. 2014-08-31 08:46:10 +03:00
Ilkka Seppala
13e6589471 added adapter sample 2014-08-11 22:07:16 +03:00