System.getProperty(str) and suggests a fix in 2 cases:
System.getProperty("path.separator") -> File.pathSeparatorSystem.getProperty("line.separator") -> System.lineSeparator()System.lineSeparator() returns cached value, while System.getProperty("line.separator") each time calls to Properties (Hashtable or CHM depending on implementation).