src/main/java/com/groupdocs/ui/conversion/ConversionServiceImpl.java
Method download
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public ResponseEntity download(String path) throws IOException {
if(path != null && !path.isEmpty()){
String destinationPath = FilenameUtils.concat(conversionConfiguration.getResultDirectory(),path);
String ext = FilenameUtils.getExtension(destinationPath);