Replace Statement with Expression lambda

This commit is contained in:
Fuzzlemann 2017-08-11 18:19:26 +02:00
parent b91ff72f55
commit a7b27d7b0b

View File

@ -72,9 +72,7 @@ public class ExportUtility {
Log.debug("Export", "Player html files.");
Log.debug("Export", "Player Page Folder: " + playersFolder.getAbsolutePath());
String playerHtml = HtmlUtils.getStringFromResource("player.html");
rawData.forEach(userData -> {
writeInspectHtml(userData, playersFolder, playerHtml);
});
rawData.forEach(userData -> writeInspectHtml(userData, playersFolder, playerHtml));
} catch (IOException ex) {
Log.toLog("ExportUtils.export", ex);
} finally {