From: David ‘Bombe’ Roden Date: Sat, 17 Mar 2012 13:07:00 +0000 (+0100) Subject: Don’t remove the last insert hash when not inserting a file. X-Git-Tag: 0.10-rc1~26 X-Git-Url: https://git.pterodactylus.net/?p=jSite.git;a=commitdiff_plain;h=6f266954d6e92764d372c8d2d2a153e3a582a337 Don’t remove the last insert hash when not inserting a file. --- diff --git a/src/de/todesbaum/jsite/application/ProjectInserter.java b/src/de/todesbaum/jsite/application/ProjectInserter.java index 158a0bb..c8cc0a2 100644 --- a/src/de/todesbaum/jsite/application/ProjectInserter.java +++ b/src/de/todesbaum/jsite/application/ProjectInserter.java @@ -297,8 +297,6 @@ public class ProjectInserter implements FileScannerListener, Runnable { } else { if (fileOption.isInsertRedirect()) { fileEntry = new RedirectFileEntry(filename, fileOption.getMimeType(), fileOption.getCustomKey()); - } else { - fileOption.setLastInsertHash(""); } } return fileEntry;