Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -94,26 +94,26 @@ private void determineDefaultPrefix() {
String value = v.getValue();
if (value == null || value.isEmpty()) {
if (log.isLoggable(Level.FINE)) {
log.fine(typeStr + varStr + " is unset");
log.fine(typeStr + " " + varStr + " is unset");
}
continue;
}

File fh = new File(value);

// Being a bit pessimistic here
msgPrefix = "Found " + typeStr + varStr + " set to " + value;
msgPrefix = "Found " + typeStr + " " + varStr + " set to " + value;

if (!fh.exists()) {
log.log(Level.SEVERE, msgPrefix + " , but this path does not exist");
log.log(Level.SEVERE, msgPrefix + ", but this path does not exist");
continue;
}
if (!fh.isDirectory()) {
log.log(Level.SEVERE, msgPrefix + " , which is not a directory");
log.log(Level.SEVERE, msgPrefix + ", which is not a directory");
continue;
}
if (!fh.canWrite()) {
log.log(Level.SEVERE, msgPrefix + " , which is not writeable");
log.log(Level.SEVERE, msgPrefix + ", which is not writeable");
continue;
}

Expand Down
Loading