Skip to content

Commit

Permalink
Fix raw type references in JhoveFileType and StringUtil IQSS#2574
Browse files Browse the repository at this point in the history
  • Loading branch information
bencomp committed Sep 24, 2015
1 parent 31a8bef commit e9bc894
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@ public RepInfo checkFileType(File file) {
* throw arbitrary files at it, so we'll skip it.
*/
//Iterator iter = _moduleList.iterator();
Iterator iter = jb.getModuleList().iterator();
Iterator<Module> iter = jb.getModuleList().iterator();
while (iter.hasNext()) {
Module mod = (Module) iter.next();
Module mod = iter.next();
RepInfo infc = (RepInfo) info.clone();

if (mod.hasFeature("edu.harvard.hul.ois.jhove.canValidate")) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public static String html2text(String html) {
* @return A list of clean strings or an empty list.
*/
public static List<String> htmlArray2textArray(List<String> htmlArray) {
List cleanTextArray = new ArrayList<>();
List<String> cleanTextArray = new ArrayList<>();
if (htmlArray == null) {
return cleanTextArray;
}
Expand Down

0 comments on commit e9bc894

Please sign in to comment.