From b2bbf8b3f85e8ba5d6b4a2b2e44feef72f7ffc62 Mon Sep 17 00:00:00 2001 From: Andrey Vlasovskikh Date: Thu, 6 Mar 2014 15:54:14 +0400 Subject: [PATCH] Typo --- .../codeInsight/liveTemplates/CollectionElementNameMacro.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/src/com/jetbrains/python/codeInsight/liveTemplates/CollectionElementNameMacro.java b/python/src/com/jetbrains/python/codeInsight/liveTemplates/CollectionElementNameMacro.java index 84f1a7c32caa..7277d83aeadd 100644 --- a/python/src/com/jetbrains/python/codeInsight/liveTemplates/CollectionElementNameMacro.java +++ b/python/src/com/jetbrains/python/codeInsight/liveTemplates/CollectionElementNameMacro.java @@ -61,11 +61,11 @@ public class CollectionElementNameMacro extends Macro { param = param.substring(0, lastParen); } } - final String result = smartUnpluralize(param); + final String result = smartUnPluralize(param); return result != null && PyUtil.isPythonIdentifier(result) ? new TextResult(result) : null; } - private static String smartUnpluralize(String param) { + private static String smartUnPluralize(String param) { if (param.endsWith("_list")) { return param.substring(0, param.length()-5); }