diff options
author | Dominik Stadler <centic@apache.org> | 2023-08-24 08:53:01 +0000 |
---|---|---|
committer | Dominik Stadler <centic@apache.org> | 2023-08-24 08:53:01 +0000 |
commit | 29990737157a4af2e2462252a44db665671e2a6e (patch) | |
tree | 6c786386001dd094b690e5fa100372f5919fd509 /poi-scratchpad | |
parent | cdb2ba13989badf60d88c75daf69c94ae6ac2e13 (diff) | |
download | poi-29990737157a4af2e2462252a44db665671e2a6e.tar.gz poi-29990737157a4af2e2462252a44db665671e2a6e.zip |
Apply some IDE suggestions, add tests, set unit-test to isolated
Without Isolation, one test did change static settings
and thus could cause flaky tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1911891 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-scratchpad')
-rw-r--r-- | poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlideShowImpl.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlideShowImpl.java b/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlideShowImpl.java index 7fa5162a14..9f55214ee5 100644 --- a/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlideShowImpl.java +++ b/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFSlideShowImpl.java @@ -1085,17 +1085,17 @@ public final class HSLFSlideShowImpl extends POIDocument implements Closeable { int count; @Override - public void write(int b) throws IOException { + public void write(int b) { count++; } @Override - public void write(byte[] b) throws IOException { + public void write(byte[] b) { count += b.length; } @Override - public void write(byte[] b, int off, int len) throws IOException { + public void write(byte[] b, int off, int len) { count += len; } |