BAEL #4987 - Java Constructors vs Static Factory Methods (#4987)

* Initial Commit

* Update User.java

* Update UserUnitTest.java

* Update User.java - UserUnitTest.java

* Update User.java
This commit is contained in:
Alejandro Gervasio 2018-08-17 19:50:13 -03:00 committed by KevinGilmore
parent 061d1191f1
commit 65fa376887
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ import java.util.logging.SimpleFormatter;
public class User {
private static User instance = null;
private static volatile User instance = null;
private static final Logger LOGGER = Logger.getLogger(User.class.getName());
private final String name;
private final String email;