BAEL-4986: Replacing Sys logs with comments

This commit is contained in:
Thomas Duxbury 2021-06-06 23:36:59 +01:00
parent a75cc22181
commit c86d0e7e0a
2 changed files with 2 additions and 2 deletions

View File

@ -3,6 +3,6 @@ package com.baeldung.privateconstructors;
public class PrivateConstructorClass { public class PrivateConstructorClass {
private PrivateConstructorClass() { private PrivateConstructorClass() {
System.out.println("In the private constructor"); // in the private constructor
} }
} }

View File

@ -3,7 +3,7 @@ package com.baeldung.privateconstructors;
public class StringUtils { public class StringUtils {
private StringUtils() { private StringUtils() {
System.out.println("This class cannot be instantiated"); // this class cannot be instantiated
} }
public static String toUpperCase(String s) { public static String toUpperCase(String s) {