Ignore:
Timestamp:
2016-05-11T05:02:01+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/oauth/OAuthAuthorizationWizard.java

    r10173 r10183  
    6464    private final String apiUrl;
    6565
    66     private AuthorizationProcedureComboBox cbAuthorisationProcedure;
     66    private final AuthorizationProcedureComboBox cbAuthorisationProcedure = new AuthorizationProcedureComboBox();
    6767    private FullyAutomaticAuthorizationUI pnlFullyAutomaticAuthorisationUI;
    6868    private SemiAutomaticAuthorizationUI pnlSemiAutomaticAuthorisationUI;
     
    150150        gc.gridwidth = 1;
    151151        gc.weightx = 1.0;
    152         pnl.add(cbAuthorisationProcedure = new AuthorizationProcedureComboBox(), gc);
     152        pnl.add(cbAuthorisationProcedure, gc);
    153153        cbAuthorisationProcedure.addItemListener(new AuthorisationProcedureChangeListener());
    154154        lbl.setLabelFor(cbAuthorisationProcedure);
Note: See TracChangeset for help on using the changeset viewer.