aboutsummaryrefslogtreecommitdiffstats
path: root/src/examples
diff options
context:
space:
mode:
authorAndreas Beeker <kiwiwings@apache.org>2016-06-13 21:18:50 +0000
committerAndreas Beeker <kiwiwings@apache.org>2016-06-13 21:18:50 +0000
commit821f94a3dcf2ed02629966340ddae7584ffe348a (patch)
treef5c5172eae5057b9785bcf19df043168f0f8716a /src/examples
parentefc5404731489e8b8ee05d06961f7887a541822b (diff)
downloadpoi-821f94a3dcf2ed02629966340ddae7584ffe348a.tar.gz
poi-821f94a3dcf2ed02629966340ddae7584ffe348a.zip
reverted changes of r1747942 and deprecated instead
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1748313 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, 1 insertions, 2 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 df79f5a354..ae70794368 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 extends UDFFinder {
+ public static class BloombergAddIn implements UDFFinder {
private final Map<String, FreeRefFunction> _functionsByName;
public BloombergAddIn() {
@@ -89,7 +89,6 @@ public class SettingExternalFunction {
wb.write(out);
out.close();
- wb.close();
}
}