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

added search initial #85

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

added search initial #85

wants to merge 2 commits into from

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 {
Copy link

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)) {
Copy link

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.

1 participant