aboutsummaryrefslogtreecommitdiffstats
path: root/src/examples
diff options
context:
space:
mode:
authorAndreas Beeker <kiwiwings@apache.org>2016-06-12 00:12:22 +0000
committerAndreas Beeker <kiwiwings@apache.org>2016-06-12 00:12:22 +0000
commite425cd4f14ee8ee74de54ac3efe445057bced45a (patch)
tree032b5d210c238e4446b843bc9570369290d156c4 /src/examples
parent6da9c4514d396d23cb0b3882d5f958b267e0962e (diff)
downloadpoi-e425cd4f14ee8ee74de54ac3efe445057bced45a.tar.gz
poi-e425cd4f14ee8ee74de54ac3efe445057bced45a.zip
findbugs fixes
changed UDFFinder to abstract class and moved DEFAULT constant to factory method git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1747942 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/src/org/apache/poi/ss/examples/formula/SettingExternalFunction.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/examples/src/org/apache/poi/ss/examples/formula/SettingExternalFunction.java b/src/examples/src/org/apache/poi/ss/examples/formula/SettingExternalFunction.java
index ae70794368..df79f5a354 100644
--- a/src/examples/src/org/apache/poi/ss/examples/formula/SettingExternalFunction.java
+++ b/src/examples/src/org/apache/poi/ss/examples/formula/SettingExternalFunction.java
@@ -48,7 +48,7 @@ public class SettingExternalFunction {
/**
* wrap external functions in a plugin
*/
- public static class BloombergAddIn implements UDFFinder {
+ public static class BloombergAddIn extends UDFFinder {
private final Map<String, FreeRefFunction> _functionsByName;
public BloombergAddIn() {
@@ -89,6 +89,7 @@ public class SettingExternalFunction {
wb.write(out);
out.close();
+ wb.close();
}
}