Skip to content

Commit

Permalink
Sealed internal api
Browse files Browse the repository at this point in the history
  • Loading branch information
Hakky54 committed Jun 18, 2024
1 parent 4dbc165 commit ff4e131
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/nl/altindag/log/util/ValidationUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
*
* @author Hakan Altindag
*/
public final class ValidationUtils {
final class ValidationUtils {

private ValidationUtils() {}

public static <T extends Logger, U extends Logger> void requireLoggerOfType(T actualLogger, Class<U> requiredLogger) {
static <T extends Logger, U extends Logger> void requireLoggerOfType(T actualLogger, Class<U> requiredLogger) {
if (actualLogger == null || !requiredLogger.getCanonicalName().equals(actualLogger.getClass().getCanonicalName())) {
String actualLoggerType = actualLogger != null ? actualLogger.getClass().getName() : "nothing";

Expand Down

0 comments on commit ff4e131

Please sign in to comment.