Fix NullPointerException in SimpleLog#write(StringBuffer) on null input
This commit is contained in:
@@ -48,6 +48,7 @@ The <action> type attribute can be add,update,fix,remove.
|
|||||||
<action dev="ggregory" type="fix" due-to="Gary Gregory">Fix PMD UnnecessaryFullyQualifiedName in SimpleLog.</action>
|
<action dev="ggregory" type="fix" due-to="Gary Gregory">Fix PMD UnnecessaryFullyQualifiedName in SimpleLog.</action>
|
||||||
<action dev="ggregory" type="fix" issue="LOGGING-193" due-to="Philippe Marschall">Update Log4j 2 Imports #268.</action>
|
<action dev="ggregory" type="fix" issue="LOGGING-193" due-to="Philippe Marschall">Update Log4j 2 Imports #268.</action>
|
||||||
<action dev="ggregory" type="fix" due-to="Gary Gregory">Fix NullPointerException in SimpleLog#write(Object) on null input.</action>
|
<action dev="ggregory" type="fix" due-to="Gary Gregory">Fix NullPointerException in SimpleLog#write(Object) on null input.</action>
|
||||||
|
<action dev="ggregory" type="fix" due-to="Gary Gregory">Fix NullPointerException in SimpleLog#write(StringBuffer) on null input.</action>
|
||||||
<!-- ADD -->
|
<!-- ADD -->
|
||||||
<!-- UPDATE -->
|
<!-- UPDATE -->
|
||||||
<action dev="ggregory" type="update" due-to="Dependabot">Bump org.apache.commons:commons-parent from 69 to 71 #267.</action>
|
<action dev="ggregory" type="update" due-to="Dependabot">Bump org.apache.commons:commons-parent from 69 to 71 #267.</action>
|
||||||
|
|||||||
@@ -653,7 +653,7 @@ public class SimpleLog implements Log, Serializable {
|
|||||||
* text to be logged
|
* text to be logged
|
||||||
*/
|
*/
|
||||||
protected void write(final StringBuffer buffer) {
|
protected void write(final StringBuffer buffer) {
|
||||||
System.err.println(buffer.toString());
|
System.err.println(Objects.toString(buffer));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user