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

added search initial#85

Open
koleslena wants to merge 2 commits intomasterfrom
search
Open

added search initial#85
koleslena wants to merge 2 commits intomasterfrom
search

Conversation

@koleslena
Copy link
Copy Markdown
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
Copy Markdown

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
Copy Markdown

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