Ignore:
Timestamp:
2013-12-11T00:51:08+01:00 (10 years ago)
Author:
Don-vip
Message:

Sonar - remove warnings related to the static preferences initialization in instance methods

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/tools/template_engine/TemplateEngineTest.java

    r6289 r6471  
    11// License: GPL. For details, see LICENSE file.
    22package org.openstreetmap.josm.tools.template_engine;
    3 
    43
    54import java.util.Arrays;
     
    1211import org.openstreetmap.josm.actions.search.SearchCompiler;
    1312import org.openstreetmap.josm.actions.search.SearchCompiler.Match;
    14 import org.openstreetmap.josm.data.Preferences;
    1513import org.openstreetmap.josm.data.osm.DatasetFactory;
    1614import org.openstreetmap.josm.data.osm.Node;
     
    2321    @BeforeClass
    2422    public static void before() {
    25         Main.pref = new Preferences();
     23        Main.initApplicationPreferences();
    2624    }
    2725
Note: See TracChangeset for help on using the changeset viewer.