diff --git a/plugins/IntentionPowerPak/src/com/siyeh/ipp/concatenation/MakeCallChainIntoCallSequenceIntention.java b/plugins/IntentionPowerPak/src/com/siyeh/ipp/concatenation/MakeCallChainIntoCallSequenceIntention.java index 9645f3f3c3d4..afa7d074fe96 100644 --- a/plugins/IntentionPowerPak/src/com/siyeh/ipp/concatenation/MakeCallChainIntoCallSequenceIntention.java +++ b/plugins/IntentionPowerPak/src/com/siyeh/ipp/concatenation/MakeCallChainIntoCallSequenceIntention.java @@ -131,7 +131,10 @@ public class MakeCallChainIntoCallSequenceIntention extends Intention { } @Nullable - public PsiVariable appendStatements(PsiStatement anchor, CommentTracker tracker, boolean introduceVariable, String replacementBlock) { + private static PsiVariable appendStatements(PsiStatement anchor, + CommentTracker tracker, + boolean introduceVariable, + String replacementBlock) { PsiElement parent = anchor.getParent(); Project project = anchor.getProject(); final PsiElementFactory factory = JavaPsiFacade.getElementFactory(project); @@ -150,7 +153,7 @@ public class MakeCallChainIntoCallSequenceIntention extends Intention { } @NotNull - public String generateReplacementBlock(List calls, String target, String firstStatement) { + private static String generateReplacementBlock(List calls, String target, String firstStatement) { final StringBuilder builder = new StringBuilder("{\n"); if (firstStatement != null) { builder.append(firstStatement);