You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could you please help how to compile this project. As i have gone through your instrictions, but it seems this method is not available in Optional class.
Hi,
Could you please help how to compile this project. As i have gone through your instrictions, but it seems this method is not available in Optional class.
I am using jdk 1.8-144 and IDE is eclipse.
changed the copiler to 1.8.144.
OpenApiRoutePublisher.java
Optional spec = Optional.ofNullable(generatedSpecs.get(path)).or(() -> {
OpenAPI openAPI = OpenApiSpecGenerator.generateOpenApiSpecFromRouter(router, title, version, serverUrl);
generatedSpecs.put(path, openAPI);
return Optional.of(openAPI);
});
HeadHandler.java
uploadManager.findUploadInfo(uploadID).or(() -> {
response.setStatusCode(404);
return Optional.empty();
}).ifPresent(info -> {
The text was updated successfully, but these errors were encountered: