Changeset 32926

Show
Ignore:
Timestamp:
26.03.2019 15:53:49 (7 months ago)
Author:
ak19
Message:

Only the older Java versions we use to build nightlies seemed to trip over local variables declared outside private inner Runnable class invokedLater by SwingUtilities? not being final

Location:
main/trunk/gli/src/org/greenstone/gatherer
Files:
2 modified

Legend:

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

    r32925 r32926  
    14741474 
    14751475        /** Prints a message informing the user where they can get PDFBox from to process PDF files of v1.5 and greater */ 
    1476     static private void missingPDFBox(String zipExtension, String extFolder) { 
     1476    static private void missingPDFBox(final String zipExtension, final String extFolder) { 
    14771477     try { 
    14781478      SwingUtilities.invokeAndWait(new Runnable() { 
     
    15131513 
    15141514    /** Prints a message informing the user that their collecthome is non-standard (not inside GS installation) */ 
    1515     static private void nonStandardCollectHomeMessage(String open_collection_file_path, String defaultColDir) { 
     1515    static private void nonStandardCollectHomeMessage(final String open_collection_file_path, final String defaultColDir) { 
    15161516     try { 
    15171517      SwingUtilities.invokeAndWait(new Runnable() { 
  • main/trunk/gli/src/org/greenstone/gatherer/GathererProg.java

    r32923 r32926  
    7575     
    7676    // Create an instance of the Gatherer class, which will parse the args and prepare the rest of the GLI 
    77     Gatherer gatherer = new Gatherer(args); 
     77    final Gatherer gatherer = new Gatherer(args); 
    7878         
    7979    // TESTING circumventing the old GUI event dispatch thread exceptions in GLI. Follows