불필요 조건문 제거

This commit is contained in:
cho
2026-01-28 15:45:01 +09:00
parent f2697abaa1
commit 4adad4f2e0
@@ -462,25 +462,23 @@ public class SocketProcess extends DefaultProcess {
String returnType = getReturnType(this.reqEaiMsg);
if( STDMessageKeys.SEND_RECV_CD_RECV.equals(returnType) ) { //소켓이고 비동기Outbound인데, 표준메세지 요청구분가 R은 A-S 패턴의 응답 일떄만, 아래 로직(메세지부를 제거하고 보냄.)
if (STDMessageKeys.SEND_RECV_CD_RECV.equals(returnType)) { // 소켓이고 비동기Outbound인데, 표준메세지 요청구분가 R은 A-S 패턴의 응답
// 일떄만, 아래 로직(메세지부를 제거하고 보냄.)
StandardMessage standardMessage = this.reqEaiMsg.getStandardMessage();
final String MESSAGE_PART = "Message";
final String MESSAGE_PART_HEADER_PART = "Message.Msg_Header";
final String MESSAGE_PART_BODY_PART = "Message.Msg_Body";
if (com.eactive.eai.adapter.Keys.IF_STANDARD.equals(this.adptrMsgPtrnCd)) {
StandardItem messagePart = standardMessage.findItem(MESSAGE_PART);
messagePart.setHidden(true);
messagePart.setSize(0);
StandardItem messageHeaderPart = standardMessage.findItem(MESSAGE_PART_HEADER_PART);
messageHeaderPart.setSize(0);
StandardItem messageBodyPart = standardMessage.findItem(MESSAGE_PART_BODY_PART);
messageBodyPart.setSize(0);
}
StandardItem messagePart = standardMessage.findItem(MESSAGE_PART);
messagePart.setHidden(true);
messagePart.setSize(0);
StandardItem messageHeaderPart = standardMessage.findItem(MESSAGE_PART_HEADER_PART);
messageHeaderPart.setSize(0);
StandardItem messageBodyPart = standardMessage.findItem(MESSAGE_PART_BODY_PART);
messageBodyPart.setSize(0);
}
this.reqObject = makeStandardMessageData(this.reqEaiMsg, this.adptrMsgType, this.reqObject, this.outboundCharset);