diff options
author | Dominik Stadler <centic@apache.org> | 2014-12-28 09:06:12 +0000 |
---|---|---|
committer | Dominik Stadler <centic@apache.org> | 2014-12-28 09:06:12 +0000 |
commit | ca12a2116332340fc4c268f5ec1f87808e4e07d7 (patch) | |
tree | 41e4542f85879bf5475ac6d5d6bbd3567c2fe75c /src/scratchpad/testcases/org/apache/poi/hwpf/model/TestDocumentProperties.java | |
parent | 29f23904bb408061a23366086b5ba3a50cece897 (diff) | |
download | poi-ca12a2116332340fc4c268f5ec1f87808e4e07d7.tar.gz poi-ca12a2116332340fc4c268f5ec1f87808e4e07d7.zip |
Fix Eclipse warnings, unnecessary casts, use generics, static access...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1648156 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/scratchpad/testcases/org/apache/poi/hwpf/model/TestDocumentProperties.java')
-rw-r--r-- | src/scratchpad/testcases/org/apache/poi/hwpf/model/TestDocumentProperties.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/scratchpad/testcases/org/apache/poi/hwpf/model/TestDocumentProperties.java b/src/scratchpad/testcases/org/apache/poi/hwpf/model/TestDocumentProperties.java index cca2022a79..317ea8bf00 100644 --- a/src/scratchpad/testcases/org/apache/poi/hwpf/model/TestDocumentProperties.java +++ b/src/scratchpad/testcases/org/apache/poi/hwpf/model/TestDocumentProperties.java @@ -22,7 +22,9 @@ import java.lang.reflect.Field; import java.util.Arrays; import junit.framework.TestCase; + import org.apache.poi.hwpf.HWPFDocFixture; +import org.apache.poi.hwpf.model.types.DOPAbstractType; public final class TestDocumentProperties extends TestCase @@ -33,7 +35,7 @@ public final class TestDocumentProperties public void testReadWrite() throws Exception { - int size = _documentProperties.getSize(); + int size = DOPAbstractType.getSize(); byte[] buf = new byte[size]; _documentProperties.serialize(buf, 0); |