[slf4j-dev] [Bug 272] New: NOPLogger should use varargs

bugzilla-daemon at qos.ch bugzilla-daemon at qos.ch
Sat Sep 15 23:39:19 CEST 2012


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

           Summary: NOPLogger should use varargs
           Product: SLF4J
           Version: unspecified
          Platform: Macintosh
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Core API
        AssignedTo: slf4j-dev at qos.ch
        ReportedBy: thorsten.Moeller at unibas.ch


Now that SLF4J makes use of varargs in the source code,
org.slf4j.helpers.NOPLogger should be aligned rather than still using arrays,
which produces compiler warnings for me in Eclipse.

On a related point, there are also a few JavaDoc warnings; e.g.
org.slf4j.Marker.contains(String name) does not declare a parameter named
"other" (but this is used in the JavaDoc);
org.slf4j.helpers.MessageFormatter.format(String, Object). I recommend
configuring Eclipse (or any other static source code analyzer) to also warn
about JavaDoc problems.

-- 
Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the slf4j-dev mailing list