Changeset 34414


Ignore:
Timestamp:
2020-09-18T19:29:12+12:00 (4 years ago)
Author:
ak19
Message:

Minor improvement to existing code to deal with slowdown when selecting multiple files in GLI's Enrich panel. This improvement can be committed while I'm still trying out other solutions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/gli/src/org/greenstone/gatherer/metadata/MetadataXMLFile.java

    r34264 r34414  
    285285        file_relative_path = file_relative_path.substring(FilenameEncoding.URL_FILE_SEPARATOR.length());
    286286    }
     287    String hexdecoded_regexed_file_relative_path = FilenameEncoding.decodeStringContainingHexEntities(file_relative_path);
    287288
    288289    // Build up a list of metadata assigned to this file
     
    304305
    305306        //System.err.println("\n  Original TAIL filename was: " + Utility.debugUnicodeString(file.getName()));
    306         String hexdecoded_regexed_file_relative_path = FilenameEncoding.decodeStringContainingHexEntities(file_relative_path);
    307307        //System.err.println("Looking in meta.xml for hexdecoded_regexed_file_RELATIVE_path: " + hexdecoded_regexed_file_relative_path
    308308            //+ " - debug version: " + Utility.debugUnicodeString(hexdecoded_regexed_file_relative_path));     
Note: See TracChangeset for help on using the changeset viewer.