![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Assignee:
|
Logback dev list
|
|
Created:
|
01/Jan/13 10:42 PM
|
|
Description:
|
Static code analysis reveals not fully covered enum in ch.qos.logback.core.subst.Tokenizer
The DEFAULT_VAL_STATE is not being covered in
switch (state) {
case LITERAL_STATE:
addLiteralToken(tokenList, buf);
break;
case START_STATE:
throw new ScanException("Unexpected end of pattern string");
}
return tokenList;
}
Probably not a problem, but I suggest adding a
case DEFAULT_VAL_STATE:
throw new Error("Cannot happen");
break;
|
|
Project:
|
logback
|
|
Priority:
|
Minor
|
|
Reporter:
|
David Tonhofer
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
_______________________________________________
logback-dev mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/logback-dev