JAVA-27804: Remove explicit logging dependency (#15448)
This commit is contained in:
+3
-2
@@ -1,11 +1,12 @@
|
||||
package com.baeldung.numberofdigits;
|
||||
|
||||
import org.apache.log4j.Logger;
|
||||
|
||||
import java.util.logging.Logger;
|
||||
|
||||
public class NumberOfDigitsDriver {
|
||||
private static NumberOfDigits numberOfDigits;
|
||||
|
||||
private static Logger LOG = Logger.getLogger(NumberOfDigitsDriver.class);
|
||||
private static Logger LOG = Logger.getLogger(NumberOfDigitsDriver.class.getName());
|
||||
|
||||
static {
|
||||
numberOfDigits = new NumberOfDigits();
|
||||
|
||||
Reference in New Issue
Block a user