mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
the out.close() is redundant at this point. the stream will be closed automatically since Java 7 (not 9) new feature try-with-resource
This commit is contained in:
@@ -43,7 +43,6 @@ public class CMISUtils
|
||||
{
|
||||
out.writeObject(source);
|
||||
out.flush();
|
||||
out.close();
|
||||
|
||||
ObjectInputStream in = new ObjectInputStream(cos.getInputStream());
|
||||
target = (T) in.readObject();
|
||||
|
Reference in New Issue
Block a user