File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
src/main/java/edu/harvard/iq/dataverse/util/bagit Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -482,14 +482,6 @@ public static String getValidName(String bagName) {
482482 private void processContainer (JsonObject item , String currentPath ) throws IOException {
483483 JsonArray children = getChildren (item );
484484 HashSet <String > titles = new HashSet <String >();
485- String title = null ;
486- if (item .has (JsonLDTerm .dcTerms ("Title" ).getLabel ())) {
487- title = item .get ("Title" ).getAsString ();
488- } else if (item .has (JsonLDTerm .schemaOrg ("name" ).getLabel ())) {
489- title = item .get (JsonLDTerm .schemaOrg ("name" ).getLabel ()).getAsString ();
490- }
491- logger .fine ("Adding " + title + "/ to path " + currentPath );
492- currentPath = currentPath + title + "/" ;
493485 int containerIndex = -1 ;
494486 try {
495487 createDir (currentPath );
You can’t perform that action at this time.
0 commit comments