[MOBY-guts] biomoby commit
Eddie Kawas
kawas at dev.open-bio.org
Thu Aug 5 14:53:58 UTC 2010
kawas
Thu Aug 5 10:53:58 EDT 2010
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/client
In directory dev.open-bio.org:/tmp/cvs-serv15391/src/main/org/biomoby/client
Modified Files:
CentralDigestCachedSimpleImpl.java
Log Message:
moby-live/Java/src/main/org/biomoby/client CentralDigestCachedSimpleImpl.java,1.5,1.6
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/CentralDigestCachedSimpleImpl.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/CentralDigestCachedSimpleImpl.java 2009/08/13 21:26:26 1.5
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/CentralDigestCachedSimpleImpl.java 2010/08/05 14:53:58 1.6
@@ -324,7 +324,6 @@
fileout =
new PrintWriter (new BufferedOutputStream (new FileOutputStream (outputFile)));
fileout.write (data);
- fileout.close();
} catch (IOException e) {
throw new MobyException ("Cannot write to '" + outputFile.getAbsolutePath() + ". " + e.toString());
} finally {
@@ -363,13 +362,12 @@
} catch (Throwable e) { // be prepare for "out-of-memory" error
throw new MobyException ("Serious error when reading from cache. " + e.toString());
-
} finally {
- if (in != null)
- try {
- in.close();
- } catch (IOException e) {}
- }
+ try {
+ if (in != null)
+ in.close();
+ } catch (IOException e) {}
+ }
}
/**************************************************************************
More information about the MOBY-guts
mailing list