Skip to content
This repository was archived by the owner on Jul 26, 2021. It is now read-only.

Conversation

@koleslena
Copy link
Contributor

No description provided.

@koleslena koleslena requested a review from bobkovalex February 21, 2020 14:48
if (StringUtils.isEmpty(path)) {
path = searchConfiguration.getFilesDirectory();
}
try {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Identical blocks of code found in 2 locations. Consider refactoring.

for (File file : filesList) {
String guid = file.getAbsolutePath();
String extension = FilenameUtils.getExtension(guid);
if (file.isDirectory() || !StringUtils.isEmpty(extension)) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Identical blocks of code found in 2 locations. Consider refactoring.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants