Commit Graph

27 Commits

Author SHA1 Message Date
31471acb69 Fixed most reported issues by SonarCloud. 2020-08-15 21:47:39 +04:00
417f21ed3d Code cleanup (#1461)
* Code cleanup

* Fix flux tests

* Fix checkstyle errors

* Fix compile error
2020-07-30 20:28:47 +03:00
cd2a2e7711 Java 11 migrate all remaining s (#1120)
* Moves saga to Java 11

* Moves semaphore to Java 11

* Moves servant to Java 11

* Moves serverless to Java 11

* Moves service-layer to Java 11

* Moves service-locator to Java 11

* Moves sharding to Java 11

* Moves singleton to Java 11

* Moves spatial-partition to Java 11

* Moves specification to Java 11

* Moves state to Java 11

* Moves step-builder to Java 11

* Moves strategy to Java 11

* Moves subclass-sandbox to Java 11

* Fixes checkstyle issues
2020-01-04 18:36:08 +02:00
390795154f Resolves checkstyle issues for semaphore servant serverless service-layer service-locator (#1079)
* Reduces checkstyle errors in semaphore

* Reduces checkstyle errors in servant

* Reduces checkstyle errors in serverless

* Reduces checkstyle errors in service-layer

* Reduces checkstyle errors in service-locator
2019-11-11 22:27:43 +02:00
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
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
9ebbc421dd Update license headers 2019-10-12 20:05:54 +03:00
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
6694d742a3 Migrate to JUnit5 2017-12-31 16:29:48 +09:00
d6fc28e120 Changing code to use interfaces instead of implementations. 2017-01-21 15:47:54 -07:00
faa29f8025 Update license headers 2016-11-27 14:34:20 +02:00
0438811489 #502 Replaced usages of System.out with logger. 2016-10-23 19:59:03 +02:00
e4c34b1e22 squid:S1319 - Declarations should use Java collection interfaces such as List rather than specific implementation classes such as LinkedList 2016-02-23 12:32:23 +02:00
3d95696078 #358 Added license to all files using plugin 2016-01-27 22:20:42 +00:00
52c483f1d0 Added tests for servant pattern 2015-12-30 20:46:40 +01:00
5f033be54f Fix PMD violations #327 2015-12-27 21:21:57 +02:00
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
306b1f3d31 Reformat rest of the design patterns - Issue #224 2015-11-01 21:29:13 -05:00
8db2bb2ac8 Improve Servant Javadoc 2015-10-04 00:13:08 +03:00
1b2a1fd19f #107 JavaDoc for Servant 2015-08-21 22:54:18 +03:00
8524c75ba6 Changed package naming across all examples. 2015-05-31 11:55:18 +03:00
4b432a79d9 [refactor] Remove unnecessary declarations in servant pattern. 2015-02-10 09:57:22 +02:00
6301e0bc11 Added unit tests for each of the patterns. 2014-12-06 20:34:41 +02:00
f37997e357 adding jpg 2014-12-01 14:52:47 +01:00
686367d04e adding diagram files 2014-12-01 14:46:50 +01:00
ee0f5f709f changing method names in Royalty to make Servant relation clearer 2014-12-01 14:29:52 +01:00
187cccca99 Adding Servant Design pattern classes 2014-12-01 14:23:08 +01:00