Ignore:
Timestamp:
2016-05-11T02:44:10+02:00 (8 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/widgets/HistoryComboBox.java

    r9484 r10179  
    2222    public HistoryComboBox() {
    2323        int maxsize = Main.pref.getInteger("search.history-size", DEFAULT_SEARCH_HISTORY_SIZE);
    24         setModel(model = new ComboBoxHistory(maxsize));
     24        model = new ComboBoxHistory(maxsize);
     25        setModel(model);
    2526        setEditable(true);
    2627    }
Note: See TracChangeset for help on using the changeset viewer.