Replaced all java.util patterns