Skip to content

Commit

Permalink
Merge pull request #183 from jamezp/LOGMGR-194
Browse files Browse the repository at this point in the history
[LOGMGR-194] Handle null values in the pattern formatter segments.
  • Loading branch information
jamezp authored Apr 20, 2018
2 parents cb40202 + f7088e8 commit ce01d12
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ private static String applySegments(final int count, final String subject) {
* @return the substring
*/
private static String applySegments(final String precision, final String subject) {
if (precision == null) {
if (precision == null || subject == null) {
return subject;
}

Expand Down

0 comments on commit ce01d12

Please sign in to comment.