chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From f...@apache.org
Subject svn commit: r1785678 - in /chemistry/portcmis/trunk: NOTICE PortCMIS/binding/IOUtils.cs
Date Mon, 06 Mar 2017 16:11:57 GMT
Author: fmui
Date: Mon Mar  6 16:11:57 2017
New Revision: 1785678

URL: http://svn.apache.org/viewvc?rev=1785678&view=rev
Log:
PortCMIS: clean up

Modified:
    chemistry/portcmis/trunk/NOTICE
    chemistry/portcmis/trunk/PortCMIS/binding/IOUtils.cs

Modified: chemistry/portcmis/trunk/NOTICE
URL: http://svn.apache.org/viewvc/chemistry/portcmis/trunk/NOTICE?rev=1785678&r1=1785677&r2=1785678&view=diff
==============================================================================
--- chemistry/portcmis/trunk/NOTICE (original)
+++ chemistry/portcmis/trunk/NOTICE Mon Mar  6 16:11:57 2017
@@ -1,2 +1,2 @@
 Apache Chemistry PortCMIS
-Copyright 2016 The Apache Software Foundation
\ No newline at end of file
+Copyright 2016-2017 The Apache Software Foundation
\ No newline at end of file

Modified: chemistry/portcmis/trunk/PortCMIS/binding/IOUtils.cs
URL: http://svn.apache.org/viewvc/chemistry/portcmis/trunk/PortCMIS/binding/IOUtils.cs?rev=1785678&r1=1785677&r2=1785678&view=diff
==============================================================================
--- chemistry/portcmis/trunk/PortCMIS/binding/IOUtils.cs (original)
+++ chemistry/portcmis/trunk/PortCMIS/binding/IOUtils.cs Mon Mar  6 16:11:57 2017
@@ -17,6 +17,7 @@
 * under the License.
 */
 
+using System;
 using System.IO;
 
 namespace PortCMIS.Binding
@@ -42,6 +43,10 @@ namespace PortCMIS.Binding
             {
                 // ignore
             }
+            catch (ObjectDisposedException)
+            {
+                // ignore
+            }
             finally
             {
                 reader.Dispose();
@@ -67,6 +72,10 @@ namespace PortCMIS.Binding
             {
                 // ignore
             }
+            catch (ObjectDisposedException)
+            {
+                // ignore
+            }
             finally
             {
                 stream.Dispose();



Mime
View raw message