Skip to content
This repository has been archived by the owner on Apr 10, 2021. It is now read-only.

Commit

Permalink
Explicit logging with package name.
Browse files Browse the repository at this point in the history
  • Loading branch information
bennycode committed Mar 29, 2015
1 parent 0ed78e6 commit 98b2fef
Show file tree
Hide file tree
Showing 19 changed files with 19 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 98b2fef

Please sign in to comment.