Skip to content
Snippets Groups Projects
Commit 6babb352 authored by millmanorama's avatar millmanorama
Browse files

move extension to end of prop list

parent b6993a25
No related branches found
No related tags found
No related merge requests found
......@@ -280,7 +280,6 @@ public static void fillPropertyMap(Map<String, Object> map, AbstractFile content
}
map.put(AbstractFilePropertyType.NAME.toString(), getContentDisplayName(content));
map.put(AbstractFilePropertyType.EXTENSION.toString(), content.getNameExtension());
map.put(AbstractFilePropertyType.LOCATION.toString(), path);
map.put(AbstractFilePropertyType.MOD_TIME.toString(), ContentUtils.getStringTime(content.getMtime(), content));
map.put(AbstractFilePropertyType.CHANGED_TIME.toString(), ContentUtils.getStringTime(content.getCtime(), content));
......@@ -301,6 +300,7 @@ public static void fillPropertyMap(Map<String, Object> map, AbstractFile content
map.put(AbstractFilePropertyType.MD5HASH.toString(), StringUtils.defaultString(content.getMd5Hash()));
map.put(AbstractFilePropertyType.ObjectID.toString(), content.getId());
map.put(AbstractFilePropertyType.MIMETYPE.toString(), StringUtils.defaultString(content.getMIMEType()));
map.put(AbstractFilePropertyType.EXTENSION.toString(), content.getNameExtension());
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment