This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-collections.git
The following commit(s) were added to refs/heads/master by this push:
new 1f297c969 Remove unused
1f297c969 is described below
commit 1f297c969c774a97bf72bc710c5e1e8a3e039f79
Author: Gary Gregory <[email protected]>
AuthorDate: Fri Feb 10 08:51:55 2023 -0500
Remove unused
---
.../apache/commons/collections4/properties/EmptyPropertiesTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/src/test/java/org/apache/commons/collections4/properties/EmptyPropertiesTest.java
b/src/test/java/org/apache/commons/collections4/properties/EmptyPropertiesTest.java
index d1d265a3b..0bac00821 100644
---
a/src/test/java/org/apache/commons/collections4/properties/EmptyPropertiesTest.java
+++
b/src/test/java/org/apache/commons/collections4/properties/EmptyPropertiesTest.java
@@ -206,13 +206,13 @@ public class EmptyPropertiesTest {
}
@Test
- public void testLoadFromXML() throws IOException {
+ public void testLoadFromXML() {
assertThrows(UnsupportedOperationException.class,
() -> PropertiesFactory.EMPTY_PROPERTIES.loadFromXML(new
ByteArrayInputStream(ArrayUtils.EMPTY_BYTE_ARRAY)));
}
@Test
- public void testLoadInputStream() throws IOException {
+ public void testLoadInputStream() {
assertThrows(UnsupportedOperationException.class, () ->
PropertiesFactory.EMPTY_PROPERTIES.load(new
ByteArrayInputStream(ArrayUtils.EMPTY_BYTE_ARRAY)));
}