projects
/
jSite.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update year in copyright headers.
[jSite.git]
/
src
/
main
/
java
/
de
/
todesbaum
/
jsite
/
application
/
ProjectInserter.java
diff --git
a/src/main/java/de/todesbaum/jsite/application/ProjectInserter.java
b/src/main/java/de/todesbaum/jsite/application/ProjectInserter.java
index
df09ff0
..
709f557
100644
(file)
--- a/
src/main/java/de/todesbaum/jsite/application/ProjectInserter.java
+++ b/
src/main/java/de/todesbaum/jsite/application/ProjectInserter.java
@@
-1,5
+1,5
@@
/*
/*
- * jSite - ProjectInserter.java - Copyright © 2006–201
2
David Roden
+ * jSite - ProjectInserter.java - Copyright © 2006–201
4
David Roden
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@
-206,12
+206,10
@@
public class ProjectInserter implements FileScannerListener, Runnable {
* {@link ClientPutComplexDir#addFileEntry(FileEntry)}.
*
* @param file
* {@link ClientPutComplexDir#addFileEntry(FileEntry)}.
*
* @param file
- * The name and hash of the file to insert
- * @param edition
- * The current edition
+ * The name and hash of the file to insert
* @return A file entry for the given file
*/
* @return A file entry for the given file
*/
- private FileEntry createFileEntry(ScannedFile file
, int edition
) {
+ private FileEntry createFileEntry(ScannedFile file) {
String filename = file.getFilename();
FileOption fileOption = project.getFileOption(filename);
if (fileOption.isInsert()) {
String filename = file.getFilename();
FileOption fileOption = project.getFileOption(filename);
if (fileOption.isInsert()) {
@@
-375,7
+373,7
@@
public class ProjectInserter implements FileScannerListener, Runnable {
putDir.setPriorityClass(priority);
putDir.setManifestPutter(manifestPutter);
for (ScannedFile file : files) {
putDir.setPriorityClass(priority);
putDir.setManifestPutter(manifestPutter);
for (ScannedFile file : files) {
- FileEntry fileEntry = createFileEntry(file
, edition
);
+ FileEntry fileEntry = createFileEntry(file);
if (fileEntry != null) {
try {
putDir.addFileEntry(fileEntry);
if (fileEntry != null) {
try {
putDir.addFileEntry(fileEntry);