Fixed NPE in request mapping hover provider
This commit is contained in:
@@ -211,7 +211,7 @@ public class RequestMappingHoverProvider implements HoverProvider {
|
||||
|
||||
}
|
||||
|
||||
return jsonKey.contains(mappingPath);
|
||||
return mappingPath != null ? jsonKey.contains(mappingPath) : false;
|
||||
}
|
||||
|
||||
public JSONObject[] getRequestMappingsFromProcesses(SpringBootApp[] runningApps) {
|
||||
|
||||
Reference in New Issue
Block a user