Commit Graph

20 Commits

Author SHA1 Message Date
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
Dan Siwiec a3324a122c Make toString synchronized. Closes #621 2017-08-31 18:28:27 -07:00
kapinuss 798aee47b3 Update ObjectPool.java 2017-04-12 18:59:43 +03:00
Mudit Porwal 09585c3874 Removed AvoidStarImport Rule
Added JavaDocType Rule
2017-03-22 01:16:02 +08: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 0438811489 #502 Replaced usages of System.out with logger. 2016-10-23 19:59:03 +02:00
Joseph McCarthy 3d95696078 #358 Added license to all files using plugin 2016-01-27 22:20:42 +00:00
Jeroen Meulemeester 4c938ab8a5 Added tests for object-pool 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 306b1f3d31 Reformat rest of the design patterns - Issue #224 2015-11-01 21:29:13 -05:00
Ilkka Seppala 86c68f96e3 #107 Improve JavaDoc for Object Pool example 2015-08-21 22:24:53 +03:00
Ilkka Seppala 3d488ec15a #108 Consistent package naming throughout the examples 2015-07-24 11:32:22 +03:00
Ilkka Seppala 8524c75ba6 Changed package naming across all examples. 2015-05-31 11:55:18 +03:00
Ilkka Seppälä e0bf323c95 Added comments. 2015-05-24 22:19:52 +03:00
Ilkka Seppälä bff34cfd21 Finished example. 2015-05-24 21:47:57 +03:00
Ilkka Seppälä 9122c7f0e6 Work on Object Pool example. 2015-05-24 14:13:07 +03:00
Ilkka Seppälä ff4145dba5 Skeleton for Object Pool pattern. 2015-05-24 13:18:08 +03:00