BAEL-4986: Replacing Sys logs with comments
This commit is contained in:
parent
a75cc22181
commit
c86d0e7e0a
|
@ -3,6 +3,6 @@ package com.baeldung.privateconstructors;
|
|||
public class PrivateConstructorClass {
|
||||
|
||||
private PrivateConstructorClass() {
|
||||
System.out.println("In the private constructor");
|
||||
// in the private constructor
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@ package com.baeldung.privateconstructors;
|
|||
public class StringUtils {
|
||||
|
||||
private StringUtils() {
|
||||
System.out.println("This class cannot be instantiated");
|
||||
// this class cannot be instantiated
|
||||
}
|
||||
|
||||
public static String toUpperCase(String s) {
|
||||
|
|
Loading…
Reference in New Issue