From ff0e46af6dad8c609bcc28a4a13b3119fb49d7eb Mon Sep 17 00:00:00 2001 From: Javen O'Neal Date: Sun, 3 Jul 2016 07:20:47 +0000 Subject: bug 59773: move loop invariants outside of loop or change for loops to for-each loops git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1751131 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/poi/ss/util/AreaReference.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/java/org/apache/poi/ss/util/AreaReference.java') diff --git a/src/java/org/apache/poi/ss/util/AreaReference.java b/src/java/org/apache/poi/ss/util/AreaReference.java index 52e6d4aff5..8576511a2b 100644 --- a/src/java/org/apache/poi/ss/util/AreaReference.java +++ b/src/java/org/apache/poi/ss/util/AreaReference.java @@ -101,7 +101,7 @@ public class AreaReference { } } - private boolean isPlainColumn(String refPart) { + private static boolean isPlainColumn(String refPart) { for(int i=refPart.length()-1; i>=0; i--) { int ch = refPart.charAt(i); if (ch == '$' && i==0) { -- cgit v1.2.3