From 969d61a0dc653d9b68dc7adb7f330bc3c57d2b3e Mon Sep 17 00:00:00 2001 From: taka2233 Date: Tue, 28 Apr 2026 17:53:33 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=E3=83=A6=E3=83=BC=E3=82=B6=E3=81=8CDeco?= =?UTF-8?q?ded=E3=82=BF=E3=83=96=E3=82=92=E9=96=8B=E3=81=84=E3=81=A6?= =?UTF-8?q?=E3=81=84=E3=82=8B=E5=A0=B4=E5=90=88=E3=81=AB=E3=80=81Received?= =?UTF-8?q?=20Packet=E3=82=BF=E3=83=96=E3=81=AB=E3=83=87=E3=83=BC=E3=82=BF?= =?UTF-8?q?=E3=81=8C=E8=A8=AD=E5=AE=9A=E3=81=95=E3=82=8C=E3=81=A6=E3=81=84?= =?UTF-8?q?=E3=81=AA=E3=81=84=E3=81=9F=E3=82=81=E3=80=81diff=E3=81=8C?= =?UTF-8?q?=E5=8B=95=E4=BD=9C=E3=81=97=E3=81=A6=E3=81=84=E3=81=AA=E3=81=8B?= =?UTF-8?q?=E3=81=A3=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/core/packetproxy/gui/GUIData.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/core/packetproxy/gui/GUIData.java b/src/main/java/core/packetproxy/gui/GUIData.java index 3c3cd8fa..383f1fd0 100644 --- a/src/main/java/core/packetproxy/gui/GUIData.java +++ b/src/main/java/core/packetproxy/gui/GUIData.java @@ -571,7 +571,7 @@ private byte[] resolveDataForCopyBody() throws Exception { */ private byte[] resolveDataForDiff() throws Exception { if (!GUIHistory.getInstance().isSelectedRowMerged()) { - return tabs.getRaw().getData(); + return getActiveData(); } // macOS の JOptionPane はボタンを右から左に描画するため、 // 視覚的に左から「Request | Response」の順にするには逆順で定義する。 @@ -581,7 +581,7 @@ private byte[] resolveDataForDiff() throws Exception { if (choice == JOptionPane.CLOSED_OPTION) return null; if (choice == 0) - return GUIPacket.getInstance().getResponsePacket().getReceivedData(); - return tabs.getRaw().getData(); + return responseDataProvider != null ? responseDataProvider.get() : null; + return getActiveData(); } }