Changeset 38873 for main/trunk


Ignore:
Timestamp:
2024-03-25T23:09:04+13:00 (3 months ago)
Author:
anupama
Message:

Minor changes, adding override javadoc tags and proper calculation of HashMap initial capacity after extra starting parameter had been added.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/applet/phind/JPhind.java

    r38848 r38873  
    246246    }
    247247
    248     appParams = new HashMap<String,String>(args.length/2);
     248    appParams = new HashMap<String,String>((args.length+1)/2);
    249249
    250250    String key = null;
     
    637637    area.repaint();
    638638    }
    639 
     639   
     640    @Override
    640641    public void showStatus(String msg) {
    641642    // Either firefox doesn't provide a status bar window for applets any more or webswing
     
    651652    }
    652653   
     654    @Override
    653655    public URL getDocumentBase() {
    654656    if(!isRunAsApplet) { // launched as application
Note: See TracChangeset for help on using the changeset viewer.