Ilkka Seppälä
7460e46f9c
docs: update layers
2024-05-04 09:11:27 +03:00
Ilkka Seppälä
7c1889b8e5
refactor: update layers parent, reformat code, update license headers
2024-03-30 08:34:54 +02:00
Jakub Klimek
0f39267a19
refactor: #2366 Change h2 database usage to in mem ( #2776 )
...
* fix: Change h2 database usage to in mem (#2366 )
* #2366 Add delay option
2024-01-27 13:07:10 +02:00
JabezBrew
edbb59a982
refactor: Refactored Layers Architecture To Be A Spring Boot Application. Issue #2450 ( #2469 )
...
* #2450 1. Refactored Layers Architecture to be a Spring boot app. 2. Changed the xml-based configuration to annotation-based. 3. Used spring's constructor injection to pass around needed objects. 4. Implemented deleteAll() methods for the CakeBakingServiceImpl to be used during testing 5. Implemented a CommandLineRunner to run the spring boot app. And others.
* #2450 added the contents of the etc directory and a README.md
* #2450 made corrections in response to the PR tests
* #2450 made corrections in response to requested changes
* #2450 made corrections in response to requested changes
---------
Co-authored-by: Ilkka Seppälä <iluwatar@users.noreply.github.com >
2023-07-11 12:57:16 +03:00
Rahul Raj
fb7ec9b375
dependencies: #2449 bump maven-checkstyle-plugin from 3.1.0 to 3.2.0 + resolve chec… ( #2464 )
...
* #2449 bump maven-checkstyle-plugin from 3.1.0 to 3.2.0 + resolve checkstyle issues
* remove FileSelectorJFrame.java to resolve checkstyle issue
* remove FileSelectorJFrame.java to resolve checkstyle issue
* remove FileSelectorJFrame.java to resolve checkstyle issue
* add refactored file with correct filename to resolve checkstyle issue
* add the test data
* change filenames from JFrame to Jframe for checkstyle
* fix code smell from sonar report
* add new testcases to improve the test coverage
* remove code smell
2023-02-04 19:20:54 +02:00
Aparna
147e2e681a
feature: added code refactoring changes for 2378 ( #2379 )
...
* fix:added code refactoring changes for 2378
* fix:added code refactoring changes for 2378
* build fix for 2378
* fix: updated pom.xml files for 2378 issue
* fix:build fix for 2378 issue
Co-authored-by: aparna <aparna@aparnas-MacBook-Air.local >
2022-12-10 16:55:37 +02:00
Robert Volkmann
4cd8149502
refactor: remove code smell java:S5786 ( #2159 )
...
https://sonarcloud.io/organizations/iluwatar/rules?open=java%3AS5786&rule_key=java%3AS5786
2022-10-30 18:21:21 +02:00
Robert Volkmann
ae64433211
dependencies: update spring-boot-dependencies 2.0.9 to 2.7.5 ( #2156 )
...
Remove explicit dependencies that are covered by spring-boot-dependencies
hibernate 5.4.24 -> 5.6.12
spring-webmvc 5.0.17 -> 5.3.23
spring-data-jpa 2.0.14 -> 2.7.5
junit 4.12 -> 4.13.2
junit-jupiter 5.7.1 -> 5.8.2
slf4j 1.7.30 -> 1.7.36
logback 1.2.9 -> 1.2.11
jackson 2.12.3 -> 2.13.4
lombok 1.18.22 -> 1.18.24
byte-buddy 1.11.5 -> 1.12.8
jaxb-impl 2.3.2 -> 2.3.7
2022-10-30 17:32:42 +02:00
Ilkka Seppälä
932836f68b
Update license plugin ( #2020 )
...
* update license plugin
* suppress linelength and emptylineseparator rules
* fix checkstyle error
Co-authored-by: Subhrodip Mohanta <hello@subho.xyz >
2022-09-14 23:22:24 +05:30
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