void (String path) { final boolean changes = myHomePath == null ? path != null : !myHomePath.equals(path); myHomePath = path; if (changes) { resetVersionString(); // clear cached value if home path changed } }