Ignore:
Timestamp:
2014-02-27T02:50:12+01:00 (10 years ago)
Author:
Don-vip
Message:

fix some Sonar issues (Constructor Calls Overridable Method)

Location:
trunk/src/org/openstreetmap/josm/plugins
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/plugins/PluginHandler.java

    r6883 r6890  
    13261326        private JCheckBox cbDontShowAgain;
    13271327
    1328         protected void build() {
     1328        protected final void build() {
    13291329            setLayout(new GridBagLayout());
    13301330            GridBagConstraints gc = new GridBagConstraints();
  • trunk/src/org/openstreetmap/josm/plugins/PluginInformation.java

    r6843 r6890  
    192192    }
    193193
    194     private void scanManifest(Manifest manifest, boolean oldcheck) {
     194    private final void scanManifest(Manifest manifest, boolean oldcheck) {
    195195        String lang = LanguageInfo.getLanguageCodeManifest();
    196196        Attributes attr = manifest.getMainAttributes();
     
    500500
    501501    @Override
    502     public String toString() {
     502    public final String toString() {
    503503        return getName();
    504504    }
  • trunk/src/org/openstreetmap/josm/plugins/ReadRemotePluginInformationTask.java

    r6883 r6890  
    5959    protected enum CacheType {PLUGIN_LIST, ICON_LIST}
    6060
    61     protected void init(Collection<String> sites, boolean displayErrMsg){
     61    protected final void init(Collection<String> sites, boolean displayErrMsg){
    6262        this.sites = sites;
    6363        if (sites == null) {
     
    8888        init(sites, displayErrMsg);
    8989    }
    90 
    9190
    9291    @Override
Note: See TracChangeset for help on using the changeset viewer.