Ignore:
Timestamp:
2015-05-17T03:06:35+02:00 (9 years ago)
Author:
Don-vip
Message:

code style - Method stores return result in local before immediately returning it

File:
1 edited

Legend:

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

    r8332 r8375  
    286286
    287287    protected int getChunkSize() {
    288         int chunkSize;
    289288        try {
    290             chunkSize = Integer.parseInt(tfChunkSize.getText().trim());
    291             return chunkSize;
     289            return Integer.parseInt(tfChunkSize.getText().trim());
    292290        } catch(NumberFormatException e) {
    293291            return UploadStrategySpecification.UNSPECIFIED_CHUNK_SIZE;
Note: See TracChangeset for help on using the changeset viewer.