aboutsummaryrefslogtreecommitdiffstats
path: root/src/integrationtest/org/apache/poi/stress
diff options
context:
space:
mode:
Diffstat (limited to 'src/integrationtest/org/apache/poi/stress')
-rw-r--r--src/integrationtest/org/apache/poi/stress/AbstractFileHandler.java2
-rw-r--r--src/integrationtest/org/apache/poi/stress/HPSFFileHandler.java2
-rw-r--r--src/integrationtest/org/apache/poi/stress/HSSFFileHandler.java2
-rw-r--r--src/integrationtest/org/apache/poi/stress/XSSFFileHandler.java2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/integrationtest/org/apache/poi/stress/AbstractFileHandler.java b/src/integrationtest/org/apache/poi/stress/AbstractFileHandler.java
index c4e453e580..ad2150c7f2 100644
--- a/src/integrationtest/org/apache/poi/stress/AbstractFileHandler.java
+++ b/src/integrationtest/org/apache/poi/stress/AbstractFileHandler.java
@@ -38,7 +38,7 @@ import org.apache.poi.util.IOUtils;
import org.apache.xmlbeans.XmlException;
public abstract class AbstractFileHandler implements FileHandler {
- public static final Set<String> EXPECTED_EXTRACTOR_FAILURES = new HashSet<String>();
+ public static final Set<String> EXPECTED_EXTRACTOR_FAILURES = new HashSet<>();
static {
// password protected files without password
// ... currently none ...
diff --git a/src/integrationtest/org/apache/poi/stress/HPSFFileHandler.java b/src/integrationtest/org/apache/poi/stress/HPSFFileHandler.java
index d726e2647f..2bad961bdb 100644
--- a/src/integrationtest/org/apache/poi/stress/HPSFFileHandler.java
+++ b/src/integrationtest/org/apache/poi/stress/HPSFFileHandler.java
@@ -63,7 +63,7 @@ public class HPSFFileHandler extends POIFSFileHandler {
private static final Set<String> unmodifiableHashSet(String... a) {
- return Collections.unmodifiableSet(new HashSet<String>(Arrays.asList(a)));
+ return Collections.unmodifiableSet(new HashSet<>(Arrays.asList(a)));
}
diff --git a/src/integrationtest/org/apache/poi/stress/HSSFFileHandler.java b/src/integrationtest/org/apache/poi/stress/HSSFFileHandler.java
index 0f6f65d0b7..871311f114 100644
--- a/src/integrationtest/org/apache/poi/stress/HSSFFileHandler.java
+++ b/src/integrationtest/org/apache/poi/stress/HSSFFileHandler.java
@@ -54,7 +54,7 @@ public class HSSFFileHandler extends SpreadsheetHandler {
// TODO: still fails on some records... RecordsStresser.handleWorkbook(wb);
}
- private static final Set<String> EXPECTED_ADDITIONAL_FAILURES = new HashSet<String>();
+ private static final Set<String> EXPECTED_ADDITIONAL_FAILURES = new HashSet<>();
static {
// encrypted
EXPECTED_ADDITIONAL_FAILURES.add("spreadsheet/35897-type4.xls");
diff --git a/src/integrationtest/org/apache/poi/stress/XSSFFileHandler.java b/src/integrationtest/org/apache/poi/stress/XSSFFileHandler.java
index 7ba697f231..b8bb0b57b0 100644
--- a/src/integrationtest/org/apache/poi/stress/XSSFFileHandler.java
+++ b/src/integrationtest/org/apache/poi/stress/XSSFFileHandler.java
@@ -157,7 +157,7 @@ public class XSSFFileHandler extends SpreadsheetHandler {
}
}
- private static final Set<String> EXPECTED_ADDITIONAL_FAILURES = new HashSet<String>();
+ private static final Set<String> EXPECTED_ADDITIONAL_FAILURES = new HashSet<>();
static {
// expected sheet-id not found
// EXPECTED_ADDITIONAL_FAILURES.add("spreadsheet/52348.xlsx");