aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/poi/poifs
diff options
context:
space:
mode:
authorAndreas Beeker <kiwiwings@apache.org>2016-03-21 23:42:56 +0000
committerAndreas Beeker <kiwiwings@apache.org>2016-03-21 23:42:56 +0000
commit8b1b768114a823229493b2e29b21b50576df6961 (patch)
treef889f5b9b79310a73c13638bdd21bc689e673efc /src/java/org/apache/poi/poifs
parent3dfbdc46e5354b0233810ef57d9548858de4994e (diff)
downloadpoi-8b1b768114a823229493b2e29b21b50576df6961.tar.gz
poi-8b1b768114a823229493b2e29b21b50576df6961.zip
findbugs fixes - SE_COMPARATOR_SHOULD_BE_SERIALIZABLE
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1736114 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/poi/poifs')
-rw-r--r--src/java/org/apache/poi/poifs/property/DirectoryProperty.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/java/org/apache/poi/poifs/property/DirectoryProperty.java b/src/java/org/apache/poi/poifs/property/DirectoryProperty.java
index d86e73ada1..ef4ff3499c 100644
--- a/src/java/org/apache/poi/poifs/property/DirectoryProperty.java
+++ b/src/java/org/apache/poi/poifs/property/DirectoryProperty.java
@@ -18,6 +18,7 @@
package org.apache.poi.poifs.property;
import java.io.IOException;
+import java.io.Serializable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Comparator;
@@ -119,8 +120,8 @@ public class DirectoryProperty extends Property implements Parent, Iterable<Prop
return result;
}
- public static class PropertyComparator implements Comparator<Property> {
-
+ public static class PropertyComparator implements Comparator<Property>, Serializable {
+
/**
* compare method. Assumes both parameters are non-null
* instances of Property. One property is less than another if