[slf4j-dev] [Bug 317] New: erroneous migration turns returned Logger into LoggerFactory

bugzilla-daemon at qos.ch bugzilla-daemon at qos.ch
Sun May 4 01:35:22 CEST 2014


http://bugzilla.slf4j.org/show_bug.cgi?id=317

          Priority: P5
            Bug ID: 317
          Assignee: slf4j-dev at qos.ch
           Summary: erroneous migration turns returned Logger into
                    LoggerFactory
          Severity: normal
    Classification: Unclassified
                OS: Windows 2000
          Reporter: garret at globalmentor.com
          Hardware: PC
            Status: NEW
           Version: 1.7.x
         Component: slf4j-migrator
           Product: SLF4J

The migrator turns this:

public Logger getLogger() {
  return logger;
}

into this:

public LoggerFactory.getLogger() {
  return logger;
}

I guess the migrator must be using some naive regex---but I would have thought
it would have at least prevented whitespace in matching "Logger.getLogger(".

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/slf4j-dev/attachments/20140503/3c4a3126/attachment.html>


More information about the slf4j-dev mailing list