Author: hasan
Date: Thu Jan 7 14:08:04 2010
New Revision: 896887
URL: http://svn.apache.org/viewvc?rev=896887&view=rev
Log:
CLEREZZA-60: improved RemoteConceptProvider (closing InputStream after read)
Modified:
incubator/clerezza/issues/CLEREZZA-60/org.apache.clerezza.platform.concept/org.apache.clerezza.platform.concept.core/src/main/java/org/apache/clerezza/platform/concept/core/RemoteConceptProvider.java
Modified:
incubator/clerezza/issues/CLEREZZA-60/org.apache.clerezza.platform.concept/org.apache.clerezza.platform.concept.core/src/main/java/org/apache/clerezza/platform/concept/core/RemoteConceptProvider.java
URL:
http://svn.apache.org/viewvc/incubator/clerezza/issues/CLEREZZA-60/org.apache.clerezza.platform.concept/org.apache.clerezza.platform.concept.core/src/main/java/org/apache/clerezza/platform/concept/core/RemoteConceptProvider.java?rev=896887&r1=896886&r2=896887&view=diff
==============================================================================
---
incubator/clerezza/issues/CLEREZZA-60/org.apache.clerezza.platform.concept/org.apache.clerezza.platform.concept.core/src/main/java/org/apache/clerezza/platform/concept/core/RemoteConceptProvider.java
(original)
+++
incubator/clerezza/issues/CLEREZZA-60/org.apache.clerezza.platform.concept/org.apache.clerezza.platform.concept.core/src/main/java/org/apache/clerezza/platform/concept/core/RemoteConceptProvider.java
Thu Jan 7 14:08:04 2010
@@ -114,6 +114,7 @@
for (int ch = es.read(); ch != -1; ch =
es.read()) {
baos.write(ch);
}
+ es.close();
throw new
RuntimeException(baos.toString());
}
} catch (ProtocolException ex) {