diff options
author | Andreas Beeker <kiwiwings@apache.org> | 2014-02-14 01:00:45 +0000 |
---|---|---|
committer | Andreas Beeker <kiwiwings@apache.org> | 2014-02-14 01:00:45 +0000 |
commit | 2e6de07eb1cf1495d6fd739ef85aec810d6cea1d (patch) | |
tree | 9c65d6c912d01074ede8d07ce3cedfdd1dd32517 /src/java/org | |
parent | 334aaad728c7e526383f63b0a0f806d266e41880 (diff) | |
download | poi-2e6de07eb1cf1495d6fd739ef85aec810d6cea1d.tar.gz poi-2e6de07eb1cf1495d6fd739ef85aec810d6cea1d.zip |
FindBugs fix
- fixed "Should be a static inner class"
- see http://findbugs.sourceforge.net/bugDescriptions.html#SIC_INNER_SHOULD_BE_STATIC
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1568178 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org')
-rw-r--r-- | src/java/org/apache/poi/hpsf/Section.java | 2 | ||||
-rw-r--r-- | src/java/org/apache/poi/ss/util/cellwalk/CellWalk.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/poi/hpsf/Section.java b/src/java/org/apache/poi/hpsf/Section.java index 2c49f02231..945cdf567c 100644 --- a/src/java/org/apache/poi/hpsf/Section.java +++ b/src/java/org/apache/poi/hpsf/Section.java @@ -294,7 +294,7 @@ public class Section * <p>Represents an entry in the property list and holds a property's ID and * its offset from the section's beginning.</p> */ - class PropertyListEntry implements Comparable<PropertyListEntry> + static class PropertyListEntry implements Comparable<PropertyListEntry> { int id; int offset; diff --git a/src/java/org/apache/poi/ss/util/cellwalk/CellWalk.java b/src/java/org/apache/poi/ss/util/cellwalk/CellWalk.java index 4efd80d60c..667fb03c53 100644 --- a/src/java/org/apache/poi/ss/util/cellwalk/CellWalk.java +++ b/src/java/org/apache/poi/ss/util/cellwalk/CellWalk.java @@ -108,7 +108,7 @@ public class CellWalk { * * @author Roman Kashitsyn */ - private class SimpleCellWalkContext implements CellWalkContext { + private static class SimpleCellWalkContext implements CellWalkContext { public long ordinalNumber = 0; public int rowNumber = 0; public int colNumber = 0; |