mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-20 07:26:49 +00:00
Work on #385, added documentation and class diagram. Made refactoring changes to pass checkstyle and PMD checks
This commit is contained in:
@@ -29,6 +29,9 @@ import java.io.IOException;
|
||||
* A utility class that allows you to utilize mute idiom.
|
||||
*/
|
||||
public final class Mute {
|
||||
|
||||
// The constructor is never meant to be called.
|
||||
private Mute() {}
|
||||
|
||||
/**
|
||||
* Executes the <code>runnable</code> and throws the exception occurred within a {@link AssertionError}.
|
||||
|
||||
Reference in New Issue
Block a user