From ea7a99cf38c27a0117df28a0a2b0ddd0b1182631 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 25 Aug 2010 21:11:05 +0200 Subject: [PATCH] =?utf8?q?Don=E2=80=99t=20warn=20about=20no=20files=20to?= =?utf8?q?=20insert=20when=20there=20are=20actually=20just=20no=20file=20o?= =?utf8?q?ptions.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/de/todesbaum/jsite/application/ProjectInserter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/todesbaum/jsite/application/ProjectInserter.java b/src/de/todesbaum/jsite/application/ProjectInserter.java index 756e121..9373fa4 100644 --- a/src/de/todesbaum/jsite/application/ProjectInserter.java +++ b/src/de/todesbaum/jsite/application/ProjectInserter.java @@ -439,7 +439,7 @@ public class ProjectInserter implements FileScannerListener, Runnable { } Map fileOptions = project.getFileOptions(); Set> fileOptionEntries = fileOptions.entrySet(); - boolean insert = false; + boolean insert = fileOptionEntries.isEmpty(); for (Entry fileOptionEntry : fileOptionEntries) { String fileName = fileOptionEntry.getKey(); FileOption fileOption = fileOptionEntry.getValue(); -- 2.7.4