Ignore:
Timestamp:
2014-04-26T17:39:23+02:00 (10 years ago)
Author:
Don-vip
Message:

see #8465 - use diamond operator where applicable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/validator/ValidatorTestsPreference.java

    r6670 r7005  
    100100    @Override
    101101    public boolean ok() {
    102         Collection<String> tests = new LinkedList<String>();
    103         Collection<String> testsBeforeUpload = new LinkedList<String>();
     102        Collection<String> tests = new LinkedList<>();
     103        Collection<String> testsBeforeUpload = new LinkedList<>();
    104104
    105105        for (Test test : allTests) {
     
    115115        // later in ValidatorTagCheckerRulesPreference.ok(),
    116116        // after its list of rules has been saved to preferences
    117         List<Test> testsToInitialize = new ArrayList<Test>(allTests);
     117        List<Test> testsToInitialize = new ArrayList<>(allTests);
    118118        testsToInitialize.remove(OsmValidator.getTest(MapCSSTagChecker.class));
    119119        OsmValidator.initializeTests(testsToInitialize);
Note: See TracChangeset for help on using the changeset viewer.