Skip to content

Potential NPE in TomcatMetricsBinder.findContext() #27576

@liulixiang1988

Description

@liulixiang1988

In this line(

), it directly return the context.getManager() without check if the context is null or not. So is it because it will return Context in all the cases?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions