GitHub user io7m opened a pull request:

    https://github.com/apache/felix/pull/103

    Use correct type of format strings when logging

    The existing code uses SLF4J style logging strings, where the
    string "{}" is expected to be formatted according to the given
    arguments. Unfortunately, the format string is actually passed directly
    to String.format() and therefore needs to use traditional Java style
    format strings.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/io7m/felix trunk

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/felix/pull/103.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #103
    
----
commit a92896e7466fc5b6574c16c65d7db4490b7a705b
Author: Mark Raynsford <[email protected]>
Date:   2017-04-13T10:35:30Z

    Use correct type of format strings when logging
    
    The existing code uses SLF4J style logging strings, where the
    string "{}" is expected to be formatted according to the given
    arguments. Unfortunately, the format string is actually passed directly
    to String.format() and therefore needs to use traditional Java style
    format strings.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to