From 75181eea97ecf1d19a814ac96f11bb76c5955694 Mon Sep 17 00:00:00 2001 From: caleb_liu Date: Mon, 6 May 2024 16:30:16 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B3=A8=E9=87=8Anpe?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/foxsteps/gsonformat/ConvertBridge.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/foxsteps/gsonformat/ConvertBridge.java b/src/main/java/com/foxsteps/gsonformat/ConvertBridge.java index e6b3b01..2cdc568 100644 --- a/src/main/java/com/foxsteps/gsonformat/ConvertBridge.java +++ b/src/main/java/com/foxsteps/gsonformat/ConvertBridge.java @@ -285,6 +285,7 @@ public String getPackName(PsiClass psiClass) { * @return */ public String removeComment(String str) { + if (str == null) return ""; String temp = str.replaceAll("/\\*" + "[\\S\\s]*?" + "\\*/", ""); From d8ef707466519a21c3fcd5fde67561b40b282455 Mon Sep 17 00:00:00 2001 From: caleb_liu Date: Mon, 6 May 2024 16:39:47 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/META-INF/plugin.xml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/main/resources/META-INF/plugin.xml b/src/main/resources/META-INF/plugin.xml index a89507d..cee343a 100644 --- a/src/main/resources/META-INF/plugin.xml +++ b/src/main/resources/META-INF/plugin.xml @@ -57,6 +57,11 @@ which is base on GsonFormat and more flexible and convenient. Welcome to issue a

 

Version Info

+

1.6.1 by wangzhejun

+ +

1.6.0 by wangzhejun