From 321cebbc5d04114c2dc3e89ed8fad55377182846 Mon Sep 17 00:00:00 2001 From: Nadya Zabrodina Date: Fri, 31 Jan 2014 18:27:40 +0400 Subject: [PATCH] style --- plugins/hg4idea/src/org/zmlx/hg4idea/util/HgUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/hg4idea/src/org/zmlx/hg4idea/util/HgUtil.java b/plugins/hg4idea/src/org/zmlx/hg4idea/util/HgUtil.java index cacf3257335a..921d4cf9fbc5 100644 --- a/plugins/hg4idea/src/org/zmlx/hg4idea/util/HgUtil.java +++ b/plugins/hg4idea/src/org/zmlx/hg4idea/util/HgUtil.java @@ -353,7 +353,7 @@ public abstract class HgUtil { //get file name in target revision if it was moved/renamed HgStatusCommand statCommand = new HgStatusCommand.Builder(false).copySource(true).baseRevision(vcsRevisionNumber).build(project); - Set changes = statCommand.execute(localHgFile.getRepo(), Arrays.asList(localHgFile.toFilePath())); + Set changes = statCommand.execute(localHgFile.getRepo(), Collections.singletonList(localHgFile.toFilePath())); for (HgChange change : changes) { if (change.afterFile().equals(localHgFile)) {