mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-14 20:58:35 +00:00
deps: Refactor dependencies (#3224)
* remove spring dep move junit, logging, mockito under dep mgmt * upgrade anti-corruption-layer deps * async method invocation * balking, bloc * bridge to bytecode * caching * callback - cqrs * component - health check * hexagonal - metadata mapping * rest of the patterns * remove checkstyle, take spotless into use
This commit is contained in:
@@ -30,13 +30,13 @@ import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* The Reducer class is responsible for aggregating word counts from the shuffled data.
|
||||
*/
|
||||
/** The Reducer class is responsible for aggregating word counts from the shuffled data. */
|
||||
public class Reducer {
|
||||
private Reducer() {
|
||||
throw new UnsupportedOperationException("Reducer is a utility class and cannot be instantiated.");
|
||||
throw new UnsupportedOperationException(
|
||||
"Reducer is a utility class and cannot be instantiated.");
|
||||
}
|
||||
|
||||
/**
|
||||
* Sums the occurrences of each word and sorts the results in descending order.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user