diff src/main/java/de/mpiwg/web/SearchBean.java @ 10:5610250d021a default tip

SectionsIndex, we added a method to print the setting of the VM
author "jurzua <jurzua@mpiwg-berlin.mpg.de>"
date Thu, 19 Mar 2015 11:46:33 +0100
parents 5316e79f9a27
children
line wrap: on
line diff
--- a/src/main/java/de/mpiwg/web/SearchBean.java	Wed Mar 18 17:23:45 2015 +0100
+++ b/src/main/java/de/mpiwg/web/SearchBean.java	Thu Mar 19 11:46:33 2015 +0100
@@ -114,11 +114,12 @@
 		}
 		
 		for(DBSection section : this.currentSectionList){
+			/*
 			try {
-				section.setBook(DBService.getBook(section.getBookId()));
+				section.setBook(DBService.getInstance().getBook(section.getBookId()));
 			} catch (SQLException e) {
 				e.printStackTrace();
-			}
+			}*/
 			section.setBranches(this.branchesMap.get(section.getId()));
 		}
 	}