Commit Graph

44 Commits

Author SHA1 Message Date
kongleong86 2d309b8928 dependencies: Refactor unit tests without depending on Guava (#2181)
* Refactor unit tests without depending on Guava

* Remove redundant casts.

* Move import up

* Update repository/src/test/java/com/iluwatar/repository/RepositoryTest.java

Co-authored-by: Robert Volkmann <20912167+robertvolkmann@users.noreply.github.com>

* Update repository/src/test/java/com/iluwatar/repository/AnnotationBasedRepositoryTest.java

Co-authored-by: Robert Volkmann <20912167+robertvolkmann@users.noreply.github.com>

Co-authored-by: Ilkka Seppälä <iluwatar@users.noreply.github.com>
Co-authored-by: Robert Volkmann <20912167+robertvolkmann@users.noreply.github.com>
2022-12-04 11:25:57 +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 8aac45ab69 maintenance: Update Spacing of XML (#1866)
PR Set 4 of 4
2021-10-19 20:56:44 +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ä 3f4d637510 Update README.md 2020-09-01 20:18:10 +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
Anurag Agarwal 20ea465b7f Java 11 migrate remaining q-r (#1121)
* Moves queue-load-leveling to Java 11

* Moves reactor to Java 11

* Moves reader-writer-lock to Java 11

* Moves repository to Java 11

* Moves resource-acquisition-is-initialization to Java 11

* Moves retry to Java 11

* Moves role-object to Java 11
2020-01-04 18:43:12 +02:00
Anurag Agarwal 9c8ad4485b Resolves checkstyle errors for patterns starting with letter r (#1072)
* Reduces checkstyle errors in reactor

* Reduces checkstyle errors in reader-writer-lock

* Reduces checkstyle errors in repository

* Reduces checkstyle errors in resource-acquisition-is-initialization

* Reduces checkstyle errors in retry
2019-11-10 19:42:26 +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
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
erikgajdos1997 41b8d80479 Close #969 (#972) 2019-10-08 18:08:56 +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
Mudit Porwal 09585c3874 Removed AvoidStarImport Rule
Added JavaDocType Rule
2017-03-22 01:16:02 +08: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 0438811489 #502 Replaced usages of System.out with logger. 2016-10-23 19:59:03 +02:00
Ilkka Seppälä 2f5a2be27a Fix missing table error 2016-03-25 22:00:08 +02:00
Ilkka Seppälä 984bf552ce Merge pull request #390 from DevFactory/release/private-methods-that-don't-access-instance-data-should-be-static-fix-1
squid:S2325 - private methods that don't access instance data should …
2016-03-09 18:33:17 +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 3791a80978 squid:S2325 - private methods that don't access instance data should be static 2016-02-22 19:15:51 +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 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 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
Ilkka Seppala 507b89d5e4 Apply project coding conventions to Repository example 2015-12-05 21:26:30 +02:00
neonds 9a85dfe9df Annotation Config was added. Now AppConfig contains a Main Method (same logic in App.java) to execute 2015-11-27 21:23:55 -06:00
hoswey 9d4fff6029 Fix #216 Repository vs DAO 2015-11-27 11:22:33 +08:00
Ankur Kaushal 306b1f3d31 Reformat rest of the design patterns - Issue #224 2015-11-01 21:29:13 -05:00
Ilkka Seppala 57a271d4fe #107 Improve Repository example's JavaDoc 2015-08-21 22:49:53 +03:00
Ilkka Seppala 0d2df99013 #216 Improve naming in Repository example 2015-08-17 18:34:17 +03:00
Ilkka Seppala 3d488ec15a #108 Consistent package naming throughout the examples 2015-07-24 11:32:22 +03:00
Ilkka Seppala 1c24f80f05 #55 Commented the Repository example code 2015-07-22 00:58:22 +03:00
Ilkka Seppala c6cf96b641 #55 Changed Hibernate to create-drop mode 2015-07-22 00:31:50 +03:00
Ilkka Seppala 9b4db0a503 #55 H2 database taken to use in the example code 2015-07-21 23:23:36 +03:00
Ilkka Seppala b22d2ddf89 #55 Repository example skeleton 2015-07-21 21:11:22 +03:00
Ilkka Seppala cd07c5cf60 #55 Added skeleton for Repository example 2015-07-20 19:11:19 +03:00