You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by "coheigea (via GitHub)" <gi...@apache.org> on 2023/04/04 03:14:35 UTC
[GitHub] [cxf] coheigea commented on a diff in pull request #978: Fix Content ID and attachment ID equality check
coheigea commented on code in PR #978:
URL: https://github.com/apache/cxf/pull/978#discussion_r1156682618
##########
core/src/main/java/org/apache/cxf/attachment/LazyDataSource.java:
##########
@@ -47,7 +50,13 @@ public LazyDataSource(String id, Collection<Attachment> attachments) {
private synchronized void load() {
if (dataSource == null) {
for (Attachment a : attachments) {
- if (a.getId().equals(id)) {
+ String attachmentId = a.getId();
Review Comment:
@reta Did you ever look into this again?
--
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-unsubscribe@cxf.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org