[CXF-5614] CachedOutputStream may fail to read the encrypted data
pmd build fix for CXF-5614