Ignore:
Timestamp:
2020-01-19T23:02:10+01:00 (5 years ago)
Author:
simon04
Message:

Java 8: replace .stream().forEach() with .forEach()

Location:
trunk/test/unit/org/openstreetmap/josm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSParserTest.java

    r15591 r15735  
    278278
    279279        tagRegex(way1, "way[ref][count(tag_regex(\"ref\")) > 1] {}", new Boolean[] {true, false, false, true, false});
    280         way1.keySet().stream().forEach(key -> way1.put(key, null));
     280        way1.keySet().forEach(key -> way1.put(key, null));
    281281        way1.put("old_ref", "A1");
    282282        way1.put("ref", "A2");
  • trunk/test/unit/org/openstreetmap/josm/testutils/PluginServer.java

    r14179 r15735  
    8080                try {
    8181                    jarFile = new JarFile(srcJar, false);
    82                     jarFile.getManifest().getMainAttributes().entrySet().stream().forEach(
     82                    jarFile.getManifest().getMainAttributes().entrySet().forEach(
    8383                        entry -> attrs.put(entry.getKey().toString(), entry.getValue().toString())
    8484                    );
Note: See TracChangeset for help on using the changeset viewer.