Skip to content
Snippets Groups Projects
Commit 7da13901 authored by William Schaefer's avatar William Schaefer
Browse files

4270 fix short circuiting of filter logic and improve comment

parent b57ae905
No related branches found
No related tags found
No related merge requests found
......@@ -161,7 +161,10 @@ private Map<Integer, CommonAttributeValueList> getMetadata(int maximumPercentage
toRemove.add(value);
itemsToRemove.put(key, toRemove);
}
break; //will be removed do not need to check
//value will be removed as the mime type existed and was not in the set to be included
//because value is removed this value does not need to be checked further
mimeTypeToRemove = true;
break;
}
}
if (mimeTypeToRemove) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment