Skip to content

Commit f141f29

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents a71b1a5 + ae31420 commit f141f29

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/com/bruce/intellijplugin/generatesetter/actions/GenerateAllGetterAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ private static String extractSplitText(PsiMethod method, Document document) {
5656
}
5757
String methodStartToLastLineText = document
5858
.getText(new TextRange(lastLine, startOffset));
59-
String splitText = null;
59+
String splitText = "";
6060
if (isTable) {
6161
splitText += methodStartToLastLineText + "\t";
6262
} else {

src/main/java/com/bruce/intellijplugin/generatesetter/actions/GenerateAllSetterBase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ protected static String extractSplitText(PsiMethod method,
383383
}
384384
String methodStartToLastLineText = document
385385
.getText(new TextRange(lastLine, startOffset));
386-
String splitText = null;
386+
String splitText = "";
387387
if (isTable) {
388388
splitText += methodStartToLastLineText + "\t";
389389
} else {

0 commit comments

Comments
 (0)