diff --git a/src/main/java/com/welovecoding/nbeditorconfig/filetype/FilenameResolver.java b/src/main/java/com/welovecoding/nbeditorconfig/filetype/FilenameResolver.java index e21fdbe..9c4f03a 100644 --- a/src/main/java/com/welovecoding/nbeditorconfig/filetype/FilenameResolver.java +++ b/src/main/java/com/welovecoding/nbeditorconfig/filetype/FilenameResolver.java @@ -9,7 +9,7 @@ @ServiceProvider(service = MIMEResolver.class, position = 3214328) public class FilenameResolver extends MIMEResolver { - private static final Logger LOG = Logger.getLogger(FilenameResolver.class.getSimpleName()); + private static final Logger LOG = Logger.getLogger(FilenameResolver.class.getName()); public FilenameResolver() { super(MIME_TYPE); diff --git a/src/main/java/com/welovecoding/nbeditorconfig/io/writer/FileObjectWriter.java b/src/main/java/com/welovecoding/nbeditorconfig/io/writer/FileObjectWriter.java index e8e2b19..3266091 100644 --- a/src/main/java/com/welovecoding/nbeditorconfig/io/writer/FileObjectWriter.java +++ b/src/main/java/com/welovecoding/nbeditorconfig/io/writer/FileObjectWriter.java @@ -23,7 +23,7 @@ public class FileObjectWriter { - private static final Logger LOG = Logger.getLogger(FileObjectWriter.class.getSimpleName()); + private static final Logger LOG = Logger.getLogger(FileObjectWriter.class.getName()); public static synchronized void writeWithAtomicAction(DataObject dataObject, Charset cs, String content) { try { diff --git a/src/main/java/com/welovecoding/nbeditorconfig/io/writer/StyledDocumentWriter.java b/src/main/java/com/welovecoding/nbeditorconfig/io/writer/StyledDocumentWriter.java index 7fdfa8b..0494c61 100644 --- a/src/main/java/com/welovecoding/nbeditorconfig/io/writer/StyledDocumentWriter.java +++ b/src/main/java/com/welovecoding/nbeditorconfig/io/writer/StyledDocumentWriter.java @@ -34,7 +34,7 @@ public class StyledDocumentWriter { - private static final Logger LOG = Logger.getLogger(StyledDocumentWriter.class.getSimpleName()); + private static final Logger LOG = Logger.getLogger(StyledDocumentWriter.class.getName()); private static EditorCookie getEditorCookie(DataObject dataObject) { return dataObject.getLookup().lookup(EditorCookie.class); diff --git a/src/main/java/com/welovecoding/nbeditorconfig/listener/EditorConfigChangeListener.java b/src/main/java/com/welovecoding/nbeditorconfig/listener/EditorConfigChangeListener.java index bec3956..c9ad0cc 100644 --- a/src/main/java/com/welovecoding/nbeditorconfig/listener/EditorConfigChangeListener.java +++ b/src/main/java/com/welovecoding/nbeditorconfig/listener/EditorConfigChangeListener.java @@ -18,7 +18,7 @@ */ public class EditorConfigChangeListener extends FileChangeAdapter { - private static final Logger LOG = Logger.getLogger(EditorConfigChangeListener.class.getSimpleName()); + private static final Logger LOG = Logger.getLogger(EditorConfigChangeListener.class.getName()); private final Project project; private final FileObject editorConfigFileObject; private final FileChangeListener subsequentFilesListener; diff --git a/src/main/java/com/welovecoding/nbeditorconfig/listener/FileChangeListener.java b/src/main/java/com/welovecoding/nbeditorconfig/listener/FileChangeListener.java index dd38698..0248343 100644 --- a/src/main/java/com/welovecoding/nbeditorconfig/listener/FileChangeListener.java +++ b/src/main/java/com/welovecoding/nbeditorconfig/listener/FileChangeListener.java @@ -19,7 +19,7 @@ */ public class FileChangeListener extends FileChangeAdapter { - private static final Logger LOG = Logger.getLogger(FileChangeListener.class.getSimpleName()); + private static final Logger LOG = Logger.getLogger(FileChangeListener.class.getName()); private final Project project; private final FileObject editorConfigFileObject; diff --git a/src/main/java/com/welovecoding/nbeditorconfig/listener/ListenerAttacher.java b/src/main/java/com/welovecoding/nbeditorconfig/listener/ListenerAttacher.java index e4548ad..c010d4c 100644 --- a/src/main/java/com/welovecoding/nbeditorconfig/listener/ListenerAttacher.java +++ b/src/main/java/com/welovecoding/nbeditorconfig/listener/ListenerAttacher.java @@ -9,7 +9,7 @@ public class ListenerAttacher { - private static final Logger LOG = Logger.getLogger(ListenerAttacher.class.getSimpleName()); + private static final Logger LOG = Logger.getLogger(ListenerAttacher.class.getName()); static { LOG.setLevel(Level.INFO); diff --git a/src/main/java/com/welovecoding/nbeditorconfig/listener/ProjectChangeListener.java b/src/main/java/com/welovecoding/nbeditorconfig/listener/ProjectChangeListener.java index 8a9666b..1715f5d 100644 --- a/src/main/java/com/welovecoding/nbeditorconfig/listener/ProjectChangeListener.java +++ b/src/main/java/com/welovecoding/nbeditorconfig/listener/ProjectChangeListener.java @@ -13,7 +13,7 @@ */ public class ProjectChangeListener extends FileChangeAdapter { - private static final Logger LOG = Logger.getLogger(ProjectChangeListener.class.getSimpleName()); + private static final Logger LOG = Logger.getLogger(ProjectChangeListener.class.getName()); private final Project project; static { diff --git a/src/main/java/com/welovecoding/nbeditorconfig/listener/ProjectHookLookup.java b/src/main/java/com/welovecoding/nbeditorconfig/listener/ProjectHookLookup.java index f82edeb..a666440 100644 --- a/src/main/java/com/welovecoding/nbeditorconfig/listener/ProjectHookLookup.java +++ b/src/main/java/com/welovecoding/nbeditorconfig/listener/ProjectHookLookup.java @@ -29,7 +29,7 @@ */ public class ProjectHookLookup implements LookupProvider { - private static final Logger LOG = Logger.getLogger(ProjectHookLookup.class.getSimpleName()); + private static final Logger LOG = Logger.getLogger(ProjectHookLookup.class.getName()); static { LOG.setLevel(Level.INFO); diff --git a/src/main/java/com/welovecoding/nbeditorconfig/listener/ProjectOpenCloseListener.java b/src/main/java/com/welovecoding/nbeditorconfig/listener/ProjectOpenCloseListener.java index ab943a4..cf578ae 100644 --- a/src/main/java/com/welovecoding/nbeditorconfig/listener/ProjectOpenCloseListener.java +++ b/src/main/java/com/welovecoding/nbeditorconfig/listener/ProjectOpenCloseListener.java @@ -8,7 +8,7 @@ public class ProjectOpenCloseListener extends ProjectOpenedHook { - private static final Logger LOG = Logger.getLogger(ProjectOpenCloseListener.class.getSimpleName()); + private static final Logger LOG = Logger.getLogger(ProjectOpenCloseListener.class.getName()); private Project project; static { diff --git a/src/main/java/com/welovecoding/nbeditorconfig/mapper/EditorConfigPropertyMapper.java b/src/main/java/com/welovecoding/nbeditorconfig/mapper/EditorConfigPropertyMapper.java index 46a62a5..2468d9e 100644 --- a/src/main/java/com/welovecoding/nbeditorconfig/mapper/EditorConfigPropertyMapper.java +++ b/src/main/java/com/welovecoding/nbeditorconfig/mapper/EditorConfigPropertyMapper.java @@ -16,7 +16,7 @@ public class EditorConfigPropertyMapper { - private static final Logger LOG = Logger.getLogger(EditorConfigPropertyMapper.class.getSimpleName()); + private static final Logger LOG = Logger.getLogger(EditorConfigPropertyMapper.class.getName()); public static synchronized MappedEditorConfig createEditorConfig(String filePath) { return createEditorConfig(filePath, null); diff --git a/src/main/java/com/welovecoding/nbeditorconfig/processor/EditorConfigProcessor.java b/src/main/java/com/welovecoding/nbeditorconfig/processor/EditorConfigProcessor.java index 6b94534..bcbd0f3 100644 --- a/src/main/java/com/welovecoding/nbeditorconfig/processor/EditorConfigProcessor.java +++ b/src/main/java/com/welovecoding/nbeditorconfig/processor/EditorConfigProcessor.java @@ -31,7 +31,7 @@ public class EditorConfigProcessor { - private static final Logger LOG = Logger.getLogger(EditorConfigProcessor.class.getSimpleName()); + private static final Logger LOG = Logger.getLogger(EditorConfigProcessor.class.getName()); public static final Level OPERATION_LOG_LEVEL = Level.INFO; private String filePath; diff --git a/src/main/java/com/welovecoding/nbeditorconfig/processor/FileInfo.java b/src/main/java/com/welovecoding/nbeditorconfig/processor/FileInfo.java index 59ec45e..af8681d 100644 --- a/src/main/java/com/welovecoding/nbeditorconfig/processor/FileInfo.java +++ b/src/main/java/com/welovecoding/nbeditorconfig/processor/FileInfo.java @@ -13,7 +13,7 @@ public class FileInfo { - private static final Logger LOG = Logger.getLogger(FileInfo.class.getSimpleName()); + private static final Logger LOG = Logger.getLogger(FileInfo.class.getName()); private Caret currentCaret; diff --git a/src/main/java/com/welovecoding/nbeditorconfig/processor/WriteFileTask.java b/src/main/java/com/welovecoding/nbeditorconfig/processor/WriteFileTask.java index 4dff5b7..242fc60 100644 --- a/src/main/java/com/welovecoding/nbeditorconfig/processor/WriteFileTask.java +++ b/src/main/java/com/welovecoding/nbeditorconfig/processor/WriteFileTask.java @@ -15,7 +15,7 @@ public abstract class WriteFileTask implements Runnable { - private static final Logger LOG = Logger.getLogger(WriteFileTask.class.getSimpleName()); + private static final Logger LOG = Logger.getLogger(WriteFileTask.class.getName()); private final FileObject fileObject; private final Charset charset; diff --git a/src/main/java/com/welovecoding/nbeditorconfig/processor/WriteStringToFileTask.java b/src/main/java/com/welovecoding/nbeditorconfig/processor/WriteStringToFileTask.java index c746e06..8cd986e 100644 --- a/src/main/java/com/welovecoding/nbeditorconfig/processor/WriteStringToFileTask.java +++ b/src/main/java/com/welovecoding/nbeditorconfig/processor/WriteStringToFileTask.java @@ -9,7 +9,7 @@ public class WriteStringToFileTask extends WriteFileTask { - private static final Logger LOG = Logger.getLogger(WriteStringToFileTask.class.getSimpleName()); + private static final Logger LOG = Logger.getLogger(WriteStringToFileTask.class.getName()); private final String content; public WriteStringToFileTask(FileInfo info) { diff --git a/src/main/java/com/welovecoding/nbeditorconfig/processor/operation/CodeStyleOperation.java b/src/main/java/com/welovecoding/nbeditorconfig/processor/operation/CodeStyleOperation.java index 47ab1ad..0aed6b1 100644 --- a/src/main/java/com/welovecoding/nbeditorconfig/processor/operation/CodeStyleOperation.java +++ b/src/main/java/com/welovecoding/nbeditorconfig/processor/operation/CodeStyleOperation.java @@ -9,7 +9,7 @@ public abstract class CodeStyleOperation { - private static final Logger LOG = Logger.getLogger(IndentSizeOperation.class.getSimpleName()); + private static final Logger LOG = Logger.getLogger(IndentSizeOperation.class.getName()); protected FileObject file; public CodeStyleOperation() { diff --git a/src/main/java/com/welovecoding/nbeditorconfig/processor/operation/FinalNewLineOperation.java b/src/main/java/com/welovecoding/nbeditorconfig/processor/operation/FinalNewLineOperation.java index 3e9dca5..e16f788 100644 --- a/src/main/java/com/welovecoding/nbeditorconfig/processor/operation/FinalNewLineOperation.java +++ b/src/main/java/com/welovecoding/nbeditorconfig/processor/operation/FinalNewLineOperation.java @@ -7,7 +7,7 @@ public class FinalNewLineOperation { - private static final Logger LOG = Logger.getLogger(FinalNewLineOperation.class.getSimpleName()); + private static final Logger LOG = Logger.getLogger(FinalNewLineOperation.class.getName()); static { LOG.setLevel(OPERATION_LOG_LEVEL); diff --git a/src/main/java/com/welovecoding/nbeditorconfig/processor/operation/LineEndingOperation.java b/src/main/java/com/welovecoding/nbeditorconfig/processor/operation/LineEndingOperation.java index 565b101..bc1222e 100644 --- a/src/main/java/com/welovecoding/nbeditorconfig/processor/operation/LineEndingOperation.java +++ b/src/main/java/com/welovecoding/nbeditorconfig/processor/operation/LineEndingOperation.java @@ -10,7 +10,7 @@ public class LineEndingOperation { - private static final Logger LOG = Logger.getLogger(LineEndingOperation.class.getSimpleName()); + private static final Logger LOG = Logger.getLogger(LineEndingOperation.class.getName()); static { LOG.setLevel(OPERATION_LOG_LEVEL); diff --git a/src/main/java/com/welovecoding/nbeditorconfig/processor/operation/TrimTrailingWhiteSpaceOperation.java b/src/main/java/com/welovecoding/nbeditorconfig/processor/operation/TrimTrailingWhiteSpaceOperation.java index 23c2745..254d6e9 100644 --- a/src/main/java/com/welovecoding/nbeditorconfig/processor/operation/TrimTrailingWhiteSpaceOperation.java +++ b/src/main/java/com/welovecoding/nbeditorconfig/processor/operation/TrimTrailingWhiteSpaceOperation.java @@ -10,7 +10,7 @@ public class TrimTrailingWhiteSpaceOperation { - private static final Logger LOG = Logger.getLogger(TrimTrailingWhiteSpaceOperation.class.getSimpleName()); + private static final Logger LOG = Logger.getLogger(TrimTrailingWhiteSpaceOperation.class.getName()); static { LOG.setLevel(OPERATION_LOG_LEVEL); diff --git a/src/main/java/com/welovecoding/nbeditorconfig/processor/operation/tobedone/CharsetOperation.java b/src/main/java/com/welovecoding/nbeditorconfig/processor/operation/tobedone/CharsetOperation.java index 576ea70..8a24618 100644 --- a/src/main/java/com/welovecoding/nbeditorconfig/processor/operation/tobedone/CharsetOperation.java +++ b/src/main/java/com/welovecoding/nbeditorconfig/processor/operation/tobedone/CharsetOperation.java @@ -11,7 +11,7 @@ public class CharsetOperation { - private static final Logger LOG = Logger.getLogger(CharsetOperation.class.getSimpleName()); + private static final Logger LOG = Logger.getLogger(CharsetOperation.class.getName()); static { LOG.setLevel(OPERATION_LOG_LEVEL);