Skip to content
This repository has been archived by the owner on Feb 5, 2019. It is now read-only.

BUG 24845087 ISSUE WAS REPRODUCED-code formatted #1197

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,15 @@ protected ServerMUTube(ServerMUTube that, TubeCloner cloner) {
*/
@Override
public NextAction processRequest(Packet request) {
Set<QName> misUnderstoodHeaders=null;
lock.lock();
try{
misUnderstoodHeaders = getMisUnderstoodHeaders(request.getMessage().getHeaders(),roles, handlerKnownHeaders);
}finally{
lock.unlock();
}
if((misUnderstoodHeaders == null) || misUnderstoodHeaders.isEmpty()) {
Set<QName> misUnderstoodHeaders=null;
lock.lock();
try{
misUnderstoodHeaders = getMisUnderstoodHeaders(request.getMessage().getHeaders(),roles, handlerKnownHeaders);
}
finally{
lock.unlock();
}
if((misUnderstoodHeaders == null) || misUnderstoodHeaders.isEmpty()) {
return doInvoke(super.next, request);
}
return doReturnWith(request.createServerResponse(createMUSOAPFaultMessage(misUnderstoodHeaders),
Expand Down