diff --git a/source/net/filebot/Logging.java b/source/net/filebot/Logging.java index 463f5e47..757050e6 100644 --- a/source/net/filebot/Logging.java +++ b/source/net/filebot/Logging.java @@ -107,7 +107,7 @@ public final class Logging { return () -> getMessage(null, t); } - public static Supplier cause(Object... elements) { + public static Supplier message(Object... elements) { return () -> getMessage(elements); } diff --git a/source/net/filebot/media/XattrMetaInfo.java b/source/net/filebot/media/XattrMetaInfo.java index 2c434e2a..4e4dbeee 100644 --- a/source/net/filebot/media/XattrMetaInfo.java +++ b/source/net/filebot/media/XattrMetaInfo.java @@ -78,9 +78,9 @@ public class XattrMetaInfo { // make file writable if necessary if (!f.canWrite()) { if (f.setWritable(true)) { - debug.fine(cause("Grant write permissions", f)); + debug.fine(message("Grant write permissions", f)); } else { - debug.warning(cause("Failed to grant write permissions", f)); + debug.warning(message("Failed to grant write permissions", f)); } } return f;