diff options
Diffstat (limited to 'dozentenmodulserver/src/main/java/server/ServerHandler.java')
| -rw-r--r-- | dozentenmodulserver/src/main/java/server/ServerHandler.java | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/dozentenmodulserver/src/main/java/server/ServerHandler.java b/dozentenmodulserver/src/main/java/server/ServerHandler.java index 179c2c1c..5676339a 100644 --- a/dozentenmodulserver/src/main/java/server/ServerHandler.java +++ b/dozentenmodulserver/src/main/java/server/ServerHandler.java @@ -84,7 +84,6 @@ public class ServerHandler implements Server.Iface { try { Runtime.getRuntime().exec("chmod 777 " + path); } catch (IOException e) { - // TODO Auto-generated catch block e.printStackTrace(); } log.info("folder '" + path + "' successfully created"); @@ -119,7 +118,6 @@ public class ServerHandler implements Server.Iface { try { Runtime.getRuntime().exec("chmod 777 " + path); } catch (IOException e) { - // TODO Auto-generated catch block e.printStackTrace(); } log.info("folder '" + path @@ -194,7 +192,6 @@ public class ServerHandler implements Server.Iface { imagePath, filesize, mode, pk_os); log.info("written VLdata"); - // TODO Auto-generated method stub return true; } @@ -271,13 +268,10 @@ public class ServerHandler implements Server.Iface { xml.create(name); log.info("XML created."); } catch (SQLException e) { - // TODO Auto-generated catch block e.printStackTrace(); } catch (ParserConfigurationException e) { - // TODO Auto-generated catch block e.printStackTrace(); } catch (TransformerException e) { - // TODO Auto-generated catch block e.printStackTrace(); } @@ -303,7 +297,6 @@ public class ServerHandler implements Server.Iface { } } catch (IOException e) { - // TODO Auto-generated catch block log.info("Failed to move file."); e.printStackTrace(); } @@ -383,7 +376,6 @@ public class ServerHandler implements Server.Iface { try { FileUtils.forceDelete(tmpFile); } catch (IOException e1) { - // TODO Auto-generated catch block e1.printStackTrace(); } XMLCreator xml = new XMLCreator(sql.getConnection(), newName); @@ -391,7 +383,6 @@ public class ServerHandler implements Server.Iface { xml.create(newName); } catch (SQLException | ParserConfigurationException | TransformerException e) { - // TODO Auto-generated catch block e.printStackTrace(); } @@ -436,7 +427,6 @@ public class ServerHandler implements Server.Iface { @Override public boolean connectedToLecture(String id, String version) throws TException { - // TODO Auto-generated method stub return sql.connectedToLecture(id, version); } @@ -678,5 +668,10 @@ public class ServerHandler implements Server.Iface { return sql.getOsNameForGuestOs(guestOS); } + @Override + public Map<String, String> getItemOwner(String itemID) throws TException { + return sql.getItemOwner(itemID); + } + }// end class |
