Преглед изворни кода

updated logger in PhoneNumberFactory

Leon пре 7 година
родитељ
комит
0589333962
1 измењених фајлова са 4 додато и 4 уклоњено
  1. 4
    4
      src/main/java/com/zipcodewilmington/phone/PhoneNumberFactory.java

+ 4
- 4
src/main/java/com/zipcodewilmington/phone/PhoneNumberFactory.java Прегледај датотеку

1
 package com.zipcodewilmington.phone;
1
 package com.zipcodewilmington.phone;
2
 
2
 
3
+import com.sun.javafx.binding.Logging;
3
 import com.zipcodewilmington.exceptions.InvalidPhoneNumberFormatException;
4
 import com.zipcodewilmington.exceptions.InvalidPhoneNumberFormatException;
4
-import com.zipcodewilmington.tools.RandomNumberFactory;
5
-import org.slf4j.Logger;
6
-import org.slf4j.LoggerFactory;
5
+
6
+import java.util.logging.Logger;
7
 
7
 
8
 /**
8
 /**
9
  * Created by leon on 5/1/17.
9
  * Created by leon on 5/1/17.
10
  */
10
  */
11
 public final class PhoneNumberFactory {
11
 public final class PhoneNumberFactory {
12
-    private static final Logger logger = LoggerFactory.getLogger(PhoneNumberFactory.class);
12
+    private static final Logger logger = Logger.getGlobal();
13
 
13
 
14
     private PhoneNumberFactory() {
14
     private PhoneNumberFactory() {
15
         /** This constructor is private
15
         /** This constructor is private