Ignore:
Timestamp:
2016-05-11T02:44:10+02:00 (10 years ago)
Author:
Don-vip
Message:

sonar - squid:AssignmentInSubExpressionCheck - Assignments should not be made from within sub-expressions

File:
1 edited

Legend:

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

    r10173 r10179  
    3939    /** the text area and the scroll pane for the log */
    4040    private final JosmTextArea taLog = new JosmTextArea(5, 50);
    41     private  JScrollPane spLog;
     41    private final JScrollPane spLog = new JScrollPane(taLog);
    4242
    4343    private void initDialog() {
     
    6060        gc.weighty = 1.0;
    6161        gc.weightx = 1.0;
    62         pane.add(spLog = new JScrollPane(taLog), gc);
     62        pane.add(spLog, gc);
    6363        spLog.setVisible(false);
    6464        setContentPane(pane);
Note: See TracChangeset for help on using the changeset viewer.