35 Commits

Author SHA1 Message Date
Zhang WH
845da1fa16
add java 11 support (o) (#1222) 2020-04-26 15:06:09 +03:00
Anurag Agarwal
6ef840f3cf Resolves checkstyle errors for naked-objects null-object object-mother object-pool observer queue-load-leveling (#1082)
* Reduces checkstyle errors in naked-objects

* Reduces checkstyle errors in null-object

* Reduces checkstyle errors in object-mother

* Reduces checkstyle errors in object-pool

* Reduces checkstyle errors in observer

* Reduces checkstyle errors in queue-load-leveling
2019-11-12 21:26:15 +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
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
Ilkka Seppälä
c8fd0bc23d
Merge pull request #716 from baislsl/javadoc-fix
Improve Javadoc
2018-03-07 21:52:50 +02:00
baislsl
991ba320a6 Improve Javadoc 2018-02-19 22:01:14 +08:00
baislsl
36f5947cd7 Use the @TestInstance annotation 2018-02-08 03:00:55 +08:00
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
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
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
Joseph McCarthy
3d95696078 #358 Added license to all files using plugin 2016-01-27 22:20:42 +00:00
Jeroen Meulemeester
b3d1c2b2ed Added tests for generic observer pattern 2015-12-30 20:46:40 +01:00
Jeroen Meulemeester
3e20a2afa8 Added tests for observer pattern 2015-12-30 20:46:39 +01: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
Ankur Kaushal
44b7b94da6 Reformatting test case as well 2015-11-01 02:23:27 -05:00
Ankur Kaushal
87baa98d2b Reformat Code According to Google Style Guide #224 2015-11-01 02:05:54 -05:00
Ilkka Seppala
4d1aae21f7 Improve Observer Javadoc 2015-10-03 23:48:51 +03:00
Ilkka Seppala
520f81d62e #107 Improve JavaDoc for Observer example 2015-08-21 22:28:51 +03:00
Ilkka Seppala
8524c75ba6 Changed package naming across all examples. 2015-05-31 11:55:18 +03:00
Daniel
68cbcd0cd5 Update GHobbits.java
Make GWeather argument more clear.
2015-05-02 02:50:41 +03:00
ruslanpa
33cd28f7cd [refactor] Remove unnecessary declarations in observer pattern. 2015-02-10 10:06:22 +02:00
Ilkka Seppala
6301e0bc11 Added unit tests for each of the patterns. 2014-12-06 20:34:41 +02:00
Jon Ingi Sveinbjornsson
6b4e1c32bc Added message to observer app 2014-11-11 23:23:08 +00:00
Jon Ingi Sveinbjornsson
cb40f1cdbd Added example of generic observer 2014-11-11 23:15:13 +00:00
mafagafogigante
5109c8f462 Minor refactoring on the observer code. 2014-10-20 13:34:14 -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
3bc005f4b7 Comments for observer example. 2014-08-31 11:17:21 +03:00
Ilkka Seppala
b3d48cc4df added observer sample 2014-08-22 21:57:54 +03:00