[FIXED JENKINS-16499] Assuming that:

- save() is not strictly necessary here. config.xml might be saved later or not - doesn't really matter
- this else branch should only be entered when migrating from very old Hudson instances
This commit is contained in:
Christoph Kutzinski committed 2013-02-02 18:27:13 +01:00
1 parent 7d422e60d9
commit 12efbc3a9b
1 file changed
-1
-1
View File
@@ -189,7 +189,6 @@ public abstract class Job<JobT extends Job<JobT, RunT>, RunT extends Run<JobT, R
} else {
// From the old Hudson, or doCreateItem. Create this file now.
saveNextBuildNumber();
save(); // and delete it from the config.xml
}
if (properties == null) // didn't exist < 1.72