Ignore:
Timestamp:
2016-04-10T23:53:54+02:00 (8 years ago)
Author:
Don-vip
Message:

sonar, javadoc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/plugin/PluginPreference.java

    r10035 r10137  
    270270        if (answer != 0 /* OK */)
    271271            return;
    272         List<String> sites = pnl.getUpdateSites();
    273         Main.pref.setPluginSites(sites);
     272        Main.pref.setPluginSites(pnl.getUpdateSites());
    274273    }
    275274
     
    497496
    498497    /**
    499      * Applies the current filter condition in the filter text field to the
    500      * model
     498     * Applies the current filter condition in the filter text field to the model.
    501499     */
    502500    class SearchFieldAdapter implements DocumentListener {
    503         public void filter() {
     501        private void filter() {
    504502            String expr = tfFilter.getText().trim();
    505503            if (expr.isEmpty()) {
     
    597595        }
    598596
    599         public List<String> getUpdateSites() {
     597        protected List<String> getUpdateSites() {
    600598            if (model.getSize() == 0)
    601599                return Collections.emptyList();
Note: See TracChangeset for help on using the changeset viewer.