yurkom commented on code in PR #2275: URL: https://github.com/apache/cxf/pull/2275#discussion_r1963743820
########## core/src/main/java/org/apache/cxf/io/DelayedCachedOutputStreamCleaner.java: ########## @@ -167,7 +167,8 @@ public boolean equals(Object obj) { } final DelayedCloseable other = (DelayedCloseable) obj; - return Objects.equals(closeable, other.closeable); + // because of the broken Liskov Substitution Principle, check in two ways to find equal streams + return Objects.equals(other.closeable, closeable) || Objects.equals(closeable, other.closeable); Review Comment: Hi @reta Of course you can. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@cxf.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org