mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-16 20:59:07 +00:00
Checkstyle Fixes
This commit is contained in:
+1
-2
@@ -84,8 +84,7 @@ public class ImperativeProgramming {
|
||||
* Method to group cars by category using for loops
|
||||
*
|
||||
* @param cars {@link List} of {@link Car} to be used for grouping
|
||||
* @return {@link Map} of {@link String} and {@link List} of {@link Car} with
|
||||
* category as key and cars belonging to that category as value
|
||||
* @return {@link Map} with category as key and cars belonging to that category as value
|
||||
*/
|
||||
public static Map<String, List<Car>> getGroupingOfCarsByCategory(List<Car> cars) {
|
||||
Map<String, List<Car>> groupingByCategory = new HashMap<>();
|
||||
|
||||
Reference in New Issue
Block a user