mirror of https://github.com/apache/maven.git
d362690a82
Multiple optimizations : - renderLevel() method use static constants instead of rebuilding the strings on each call - replace + operator usage with more PrintStream.print() calls to reduce temporary strings creation - reduce usage of MessageBuilder.a() method usage with more PrintStream.print() calls to reduce temporary strings creation - replace the builder() method with a static import - replace String.format with a simple string concat to reduce memory allocation (garbage) - change static constants to class member in MavenSimpleLogger - add a setLength(int) method in MessageBuilder to enable reuse |
||
---|---|---|
.. | ||
main/java/org/slf4j/impl | ||
site | ||
test/java/org/slf4j/impl |