aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/poi/ss/util/AreaReference.java
diff options
context:
space:
mode:
authorJaven O'Neal <onealj@apache.org>2016-07-03 07:20:47 +0000
committerJaven O'Neal <onealj@apache.org>2016-07-03 07:20:47 +0000
commitff0e46af6dad8c609bcc28a4a13b3119fb49d7eb (patch)
tree476a980a968d46a751433a7dfde968f5dd4b74b6 /src/java/org/apache/poi/ss/util/AreaReference.java
parent8fda0dc9292bfb87042c4239080e069e074414b8 (diff)
downloadpoi-ff0e46af6dad8c609bcc28a4a13b3119fb49d7eb.tar.gz
poi-ff0e46af6dad8c609bcc28a4a13b3119fb49d7eb.zip
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
Diffstat (limited to 'src/java/org/apache/poi/ss/util/AreaReference.java')
-rw-r--r--src/java/org/apache/poi/ss/util/AreaReference.java2
1 files changed, 1 insertions, 1 deletions
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) {