projects
/
jSite.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Deep copy all file options when cloning project
[jSite.git]
/
src
/
main
/
java
/
de
/
todesbaum
/
jsite
/
application
/
Project.java
diff --git
a/src/main/java/de/todesbaum/jsite/application/Project.java
b/src/main/java/de/todesbaum/jsite/application/Project.java
index
9982fac
..
d9146a1
100644
(file)
--- a/
src/main/java/de/todesbaum/jsite/application/Project.java
+++ b/
src/main/java/de/todesbaum/jsite/application/Project.java
@@
-1,5
+1,5
@@
/*
/*
- * jSite - Project.java - Copyright © 2006–201
2
David Roden
+ * jSite - Project.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 the Free Software
*
* 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 the Free Software
@@
-94,7
+94,9
@@
public class Project implements Comparable<Project> {
lastInsertionTime = project.lastInsertionTime;
alwaysForceInserts = project.alwaysForceInserts;
ignoreHiddenFiles = project.ignoreHiddenFiles;
lastInsertionTime = project.lastInsertionTime;
alwaysForceInserts = project.alwaysForceInserts;
ignoreHiddenFiles = project.ignoreHiddenFiles;
- fileOptions = new HashMap<String, FileOption>(project.fileOptions);
+ for (Entry<String, FileOption> fileOption : fileOptions.entrySet()) {
+ fileOptions.put(fileOption.getKey(), new FileOption(fileOption.getValue()));
+ }
}
/**
}
/**