8195064: LogCompilation: Chicken and egg startup problem with types

Removed extra null check that was causing the problem

Reviewed-by: thartmann, kvn
This commit is contained in:
Eric Caspole 2018-01-18 16:37:43 -05:00
parent 99725d3ea6
commit dcb4e73a38

View File

@ -723,9 +723,6 @@ public class LogParser extends DefaultHandler implements ErrorHandler {
*/
String type(String id) {
String result = types.get(id);
if (result == null) {
reportInternalError(id);
}
String remapped = type2printableMap.get(result);
if (remapped != null) {
return remapped;