brianchandotcom/liferay-portal — pull request #20914 by shuyangzhou (2014-09-10 18:05:01+00:00)
Title: LPS-49970 allow redundant closes when deleteOnClose = true

ByteArrayFileInputStream allowed closing the stream multiple
time *except* when `deleteOnClose` was enabled.

It seems all Liferay custom InputStreams allow closing an already closed
stream; this commit makes ByteArrayFileInputStream follow that same
pattern also when `deleteOnClose` is enabled.