diff options
| author | Andrei Aiordachioaie <a.aiordachioaie@jacobs-university.de> | 2009-10-19 11:21:34 +0200 |
|---|---|---|
| committer | Andrei Aiordachioaie <a.aiordachioaie@jacobs-university.de> | 2009-10-19 10:48:49 +0200 |
| commit | edc94183dc0579f46b37e9d1c8bbd24d752416f2 (patch) | |
| tree | 7c0ef9f49de5b3fe7ab27d69facb0b3d4c5cf69e /src/petascope/PetascopeInterface.java | |
| parent | 89cb43f228733bcbbdd751651aabf1ac41153b64 (diff) | |
Removed unnecessary code from interface servlet
Diffstat (limited to 'src/petascope/PetascopeInterface.java')
| -rw-r--r-- | src/petascope/PetascopeInterface.java | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/petascope/PetascopeInterface.java b/src/petascope/PetascopeInterface.java index 6c636b5..e03f46f 100644 --- a/src/petascope/PetascopeInterface.java +++ b/src/petascope/PetascopeInterface.java @@ -431,29 +431,6 @@ public class PetascopeInterface extends HttpServlet else log("WCPS: Warning! No result returned from rasql query."); - /* TODO: remove CCIP hack */ - if (ConfigManager.hack) - { - try - { - String dir = getServletContext().getRealPath("/"); - File f = new File(dir + "image.jpeg"); - - log("HACK: Writing image to: " + f.getAbsolutePath()); -// if (f.exists()) - { - OutputStream os = new DataOutputStream(new FileOutputStream(f, false)); - os.write(results.get(0)); - os.close(); - log("HACK: Wrote image successfully !"); - } - } - catch (Exception e) - { - e.printStackTrace(); - } - } - log("WCPS: done"); } catch (InvalidRequestException e) |
