deleted system.out.println

This commit is contained in:
frosch95
2013-09-29 12:34:51 +02:00
parent c73f6476a2
commit 025949de9a
2 changed files with 0 additions and 2 deletions

View File

@@ -78,7 +78,6 @@ public class GeoFroggerFXMain extends Application {
@Override @Override
public void stop() throws Exception { public void stop() throws Exception {
System.out.println("stop");
ServiceManager.getInstance().getDatabaseService().getEntityManager().close(); ServiceManager.getInstance().getDatabaseService().getEntityManager().close();
super.stop(); super.stop();
} }

View File

@@ -81,7 +81,6 @@ public class CacheServiceImpl implements CacheService {
try { try {
EntityManager em = dbService.getEntityManager(); EntityManager em = dbService.getEntityManager();
String query = "select c from Cache c order by c."+sortField.getFieldName()+" "+direction.toString(); String query = "select c from Cache c order by c."+sortField.getFieldName()+" "+direction.toString();
System.out.println("query: "+query);
List<Cache> result = em.createQuery(query).getResultList(); List<Cache> result = em.createQuery(query).getResultList();
if (result != null) { if (result != null) {
caches = result; caches = result;