diff src/main/java/de/mpiwg/web/jsp/BranchPage.java @ 66:f106f2487ac1

fix connection not close
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Wed, 03 Aug 2016 16:19:31 +0200
parents 824b808a7481
children
line wrap: on
line diff
--- a/src/main/java/de/mpiwg/web/jsp/BranchPage.java	Tue Jul 26 11:52:54 2016 +0200
+++ b/src/main/java/de/mpiwg/web/jsp/BranchPage.java	Wed Aug 03 16:19:31 2016 +0200
@@ -220,6 +220,9 @@
 			try {
 				this.branch = (LGBranch)branch.clone();
 				this.lastFile = DataProvider.getInstance().getFile(branch.getCurrentLastFileId());
+				// TODO the currentLastFileId of branch is not updated from the saving?
+				
+				
 				this.allFiles = DataProvider.getInstance().getAllFiles(branch.getId());
 				this.text = FileManager.getFileAsText(this.lastFile);
 				this.contributors = new ArrayList<VDCUser>();