53 Commits

Author SHA1 Message Date
Subhrodip Mohanta
656b441e29
maintenance: Update Spacing of XML (#1864)
PR Set 2 of 4
2021-10-19 20:51:43 +03:00
va1m
5cf2fe009b
📍Use lombok, reformat, and optimize the code (#1560)
* Use lombok, reformat, and optimize the code

* Fix merge conflicts and some sonar issues

Co-authored-by: va1m <va1m@email.com>
2021-03-13 14:19:21 +02:00
Subhrodip Mohanta
7891c2b117
update inception year to 2021 (#1653) 2021-02-14 11:57:57 +02:00
Ilkka Seppälä
3544a8366f Update README.md 2020-08-29 21:38:58 +03:00
Toxic Dreamz
31471acb69 Fixed most reported issues by SonarCloud. 2020-08-15 21:47:39 +04:00
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
Zhang WH
67edeb806d
Java 11 support for #984 #987 (l) (#1190)
* Java 11 support: lazy-loading pattern

* Java 11 support: layers pattern

* Java 11 support: leader-election/lazy-loading patterns
2020-03-22 20:02:45 +02:00
Ilkka Seppälä
8747f1fd7a #1021 enforce Checkstyle rules in the build 2019-11-16 16:00:24 +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
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
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
Ilkka Seppälä
9ebbc421dd Update license headers 2019-10-12 20:05:54 +03:00
Gaurav Deshpande
84c4b034a9 Fix: Github reports security vulnerabilities #933 (#960)
* Fix: Github reports security vulnerabilities  #933

Upgrade camel and spring-data

* -Fix github security vulnerabilities in spring-data and camel

* -Code changes for review comments
2019-10-08 07:42:54 +03:00
Narendra Pathai
2aa9e78ddd
Minor refactorings and code style changes (#807)
* Made minor changes in some patterns such as removed throws clause where not needed, changed incorrect order of arguments in assertEquals

* Minor refactorings and code style changes. 1) Removed several use of raw types 2) Removed unnecessary throws clauses 3) Used lambda expressions wherever applicable 4) Used apt assertion methods for readability 5) Use of try with resources wherever applicable 6) Corrected incorrect order of assertXXX arguments

* Removed unused import from Promise

* Addressed review comments

* Addressed checkstyle issue
2018-10-23 13:45:41 +05:30
Artur Mogozov
6694d742a3 Migrate to JUnit5 2017-12-31 16:29:48 +09:00
leogtzr
d6fc28e120 Changing code to use interfaces instead of implementations. 2017-01-21 15:47:54 -07:00
Ilkka Seppälä
faa29f8025 Update license headers 2016-11-27 14:34:20 +02:00
daniel-bryla
3091ff21b0 #502 Reduced amount of information logged 2016-11-17 09:54:10 +01:00
daniel-bryla
e138163c4f #502 Adjusted tests for logger introduction 2016-11-04 11:47:06 +01:00
daniel-bryla
0438811489 #502 Replaced usages of System.out with logger. 2016-10-23 19:59:03 +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
50310aaeaf squid:S1699 - Constructors should only call non-overridable methods 2016-02-19 11:02:49 +02:00
Ilkka Seppälä
f08af14555 Merge pull request #364 from DevFactory/release/The-diamond-operator-should-be-used-fix-1
squid:S2293 - The diamond operator should be used
2016-02-01 22:26:43 +02:00
Mohammed Ezzat
409ff027b8 squid:S2293 - The diamond operator should be used 2016-01-29 07:33:34 +02:00
Joseph McCarthy
3d95696078 #358 Added license to all files using plugin 2016-01-27 22:20:42 +00:00
Ilkka Seppala
8b020837ea Checkstyle corrections 2015-12-29 21:34:27 +02:00
Ilkka Seppala
5f033be54f Fix PMD violations #327 2015-12-27 21:21:57 +02:00
Ilkka Seppala
30bc25b5bf Merge branch 'master' of https://github.com/fluxw42/java-design-patterns into fluxw42-master
Conflicts:
	monostate/src/main/java/com/iluwatar/monostate/LoadBalancer.java
2015-12-26 12:36:38 +02:00
Ilkka Seppala
cec9a99410 Adjust checkstyle rules. Make checkstyle fail the build when violations are found. Correct all current checkstyle violations. 2015-12-25 23:49:28 +02:00
Jeroen Meulemeester
5948a82cf2 Added tests for layers pattern 2015-12-19 21:44:50 +01:00
Ankur Kaushal
306b1f3d31 Reformat rest of the design patterns - Issue #224 2015-11-01 21:29:13 -05:00
Ilkka Seppala
48cb04f98a #107 JavaDoc improvements for Layers example 2015-08-19 22:03:03 +03:00
Ilkka Seppala
5295ad6c2f #107 Added missing test for Layers example 2015-08-19 22:00:36 +03:00
Ilkka Seppala
39e10d7502 #84 Added pattern description 2015-08-15 21:44:08 +03:00
Ilkka Seppala
61b1c426ef #84 Fix merge errors 2015-08-15 21:06:31 +03:00
Ilkka Seppala
072a885ec8 Merge branch 'master' into layers
Conflicts:
	layers/src/main/java/com/iluwatar/layers/App.java
	layers/src/main/java/com/iluwatar/layers/Cake.java
	layers/src/main/java/com/iluwatar/layers/CakeBakingException.java
	layers/src/main/java/com/iluwatar/layers/CakeBakingService.java
	layers/src/main/java/com/iluwatar/layers/CakeBakingServiceImpl.java
	layers/src/main/java/com/iluwatar/layers/CakeDao.java
	layers/src/main/java/com/iluwatar/layers/CakeInfo.java
	layers/src/main/java/com/iluwatar/layers/CakeLayer.java
	layers/src/main/java/com/iluwatar/layers/CakeLayerDao.java
	layers/src/main/java/com/iluwatar/layers/CakeLayerInfo.java
	layers/src/main/java/com/iluwatar/layers/CakeTopping.java
	layers/src/main/java/com/iluwatar/layers/CakeToppingDao.java
	layers/src/main/java/com/iluwatar/layers/CakeToppingInfo.java
	layers/src/main/resources/applicationContext.xml
2015-08-15 20:47:34 +03:00
Ilkka Seppala
db9a00ebb1 #84 Documented the Layers example 2015-08-15 19:27:53 +03:00
Ilkka Seppala
9aa831d688 #84 Example improvements. Instead of all toppings and all layers the
service returns available toppings and layers.
2015-08-15 18:35:16 +03:00
Ilkka Seppala
89cb234be9 #84 Added interface for view layer 2015-08-15 18:05:35 +03:00
Ilkka Seppala
84d14edc4a #84 Added view layer 2015-08-13 21:51:25 +03:00
Ilkka Seppala
2a46b69178 #84 Changed database name 2015-08-13 21:11:09 +03:00
Ilkka Seppala
ea524ee2c0 #84 Removed Layers stuff accidentally pushed to master 2015-08-13 20:48:29 +03:00
Ilkka Seppala
aa04e7c856 #84 More work on cake baking 2015-08-13 20:35:13 +03:00
Ilkka Seppala
913b4fa30c #84 Work on cake baking 2015-08-12 23:13:10 +03:00
Ilkka Seppala
2ca8ab09e0 #84 Started work on cake baking 2015-08-09 23:38:02 +03:00
Ilkka Seppala
981c5b31e1 #84 Added DTOs 2015-08-09 21:35:51 +03:00
Ilkka Seppala
8c48d9a972 #84 Work on Service Layer 2015-08-09 19:34:34 +03:00
Ilkka Seppala
6ed145c6ab #84 Added Repositories 2015-08-09 19:01:25 +03:00