diff options
author | Dominik Stadler <centic@apache.org> | 2017-09-16 08:27:23 +0000 |
---|---|---|
committer | Dominik Stadler <centic@apache.org> | 2017-09-16 08:27:23 +0000 |
commit | 0cfa1ede4cbc9c00d2f5d3946ae9f57a6dd74d48 (patch) | |
tree | b7f6385f47dbeda7309986def1a4450c64499eb0 /src/scratchpad/testcases/org/apache/poi/hemf | |
parent | 3e70d75cfb84a6eb6ddb06d1028e636cf03914d1 (diff) | |
download | poi-0cfa1ede4cbc9c00d2f5d3946ae9f57a6dd74d48.tar.gz poi-0cfa1ede4cbc9c00d2f5d3946ae9f57a6dd74d48.zip |
Remove unnecessary type arguments (Java 8)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808516 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/scratchpad/testcases/org/apache/poi/hemf')
-rw-r--r-- | src/scratchpad/testcases/org/apache/poi/hemf/extractor/HemfExtractorTest.java | 2 | ||||
-rw-r--r-- | src/scratchpad/testcases/org/apache/poi/hemf/hemfplus/extractor/HemfPlusExtractorTest.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/scratchpad/testcases/org/apache/poi/hemf/extractor/HemfExtractorTest.java b/src/scratchpad/testcases/org/apache/poi/hemf/extractor/HemfExtractorTest.java index 0cc33fdaa2..8d32b21a5e 100644 --- a/src/scratchpad/testcases/org/apache/poi/hemf/extractor/HemfExtractorTest.java +++ b/src/scratchpad/testcases/org/apache/poi/hemf/extractor/HemfExtractorTest.java @@ -135,7 +135,7 @@ public class HemfExtractorTest { long lastX = -1; long fudgeFactorX = 1000;//derive this from the font or frame/bounds information StringBuilder sb = new StringBuilder(); - Set<String> expectedParts = new HashSet<String>(); + Set<String> expectedParts = new HashSet<>(); expectedParts.add("C:\\Users\\tallison\\"); expectedParts.add("testPDF.pdf"); int foundExpected = 0; diff --git a/src/scratchpad/testcases/org/apache/poi/hemf/hemfplus/extractor/HemfPlusExtractorTest.java b/src/scratchpad/testcases/org/apache/poi/hemf/hemfplus/extractor/HemfPlusExtractorTest.java index c42233ab7e..f3bdbf7b4f 100644 --- a/src/scratchpad/testcases/org/apache/poi/hemf/hemfplus/extractor/HemfPlusExtractorTest.java +++ b/src/scratchpad/testcases/org/apache/poi/hemf/hemfplus/extractor/HemfPlusExtractorTest.java @@ -54,7 +54,7 @@ public class HemfPlusExtractorTest { //test that the HemfCommentEMFPlus record at offset 1 //contains 6 HemfCommentEMFPlus records within it - List<HemfPlusRecordType> expected = new ArrayList<HemfPlusRecordType>(); + List<HemfPlusRecordType> expected = new ArrayList<>(); expected.add(HemfPlusRecordType.setPixelOffsetMode); expected.add(HemfPlusRecordType.setAntiAliasMode); expected.add(HemfPlusRecordType.setCompositingQuality); |