Changeset 14345 in josm


Ignore:
Timestamp:
2018-10-18T15:20:14+02:00 (4 weeks ago)
Author:
Don-vip
Message:

fix #16853 - increase osm-server.upload-strategy.chunk-size default value from 1 to 1000

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/io/UploadStrategySelectionPanel.java

    r14214 r14345  
    323323        UploadStrategy strategy = UploadStrategy.getFromPreferences();
    324324        rbStrategy.get(strategy).setSelected(true);
    325         int chunkSize = Config.getPref().getInt("osm-server.upload-strategy.chunk-size", 1);
     325        int chunkSize = Config.getPref().getInt("osm-server.upload-strategy.chunk-size", 1000);
    326326        tfChunkSize.setText(Integer.toString(chunkSize));
    327327        updateNumRequestsLabels();
     
    462462
    463463        @Override
    464         public void changedUpdate(DocumentEvent arg0) {
     464        public void changedUpdate(DocumentEvent e) {
    465465            validateChunkSize();
    466466        }
    467467
    468468        @Override
    469         public void insertUpdate(DocumentEvent arg0) {
     469        public void insertUpdate(DocumentEvent e) {
    470470            validateChunkSize();
    471471        }
    472472
    473473        @Override
    474         public void removeUpdate(DocumentEvent arg0) {
     474        public void removeUpdate(DocumentEvent e) {
    475475            validateChunkSize();
    476476        }
     
    510510
    511511        @Override
    512         public void focusLost(FocusEvent arg0) {
     512        public void focusLost(FocusEvent e) {
    513513            notifyStrategy();
    514514        }
    515515
    516516        @Override
    517         public void actionPerformed(ActionEvent arg0) {
     517        public void actionPerformed(ActionEvent e) {
    518518            notifyStrategy();
    519519        }
Note: See TracChangeset for help on using the changeset viewer.