Navigation Menu

Skip to content

Commit

Permalink
Revert "TEIID-4726 catching concurrent modification exceptions"
Browse files Browse the repository at this point in the history
This reverts commit 10dd175.
  • Loading branch information
shawkins committed Jan 31, 2017
1 parent 10dd175 commit 861a4d4
Showing 1 changed file with 0 additions and 5 deletions.
Expand Up @@ -28,7 +28,6 @@
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.OutputStream;
import java.util.ConcurrentModificationException;

import org.jboss.logging.Logger;
import org.teiid.adminapi.impl.VDBMetaData;
Expand Down Expand Up @@ -77,10 +76,6 @@ public boolean saveAttachment(File attachmentsStore, Object attachment, boolean
oos = new ObjectOutputStream(new FileOutputStream(attachmentsStore));
oos.writeObject(attachment);
return true;
} catch (ConcurrentModificationException e) {
if (log.isDebugEnabled()) {
log.debug("saveAttachment failed, attachmentsStore=" + attachmentsStore + ", attachment=" + attachment, e); //$NON-NLS-1$ //$NON-NLS-2$
}
} finally {
if (oos != null) {
oos.close();
Expand Down

0 comments on commit 861a4d4

Please sign in to comment.