You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2020/02/11 13:50:41 UTC
[commons-collections] branch master updated: [COLLECTIONS-746] Add
org.apache.commons.collections4.properties.PropertiesFactory.EMPTY_PROPERTIES.
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 7b1a908 [COLLECTIONS-746] Add org.apache.commons.collections4.properties.PropertiesFactory.EMPTY_PROPERTIES.
7b1a908 is described below
commit 7b1a908a8c527ad4f830e83344860fc09f353fce
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Feb 11 08:50:37 2020 -0500
[COLLECTIONS-746] Add
org.apache.commons.collections4.properties.PropertiesFactory.EMPTY_PROPERTIES.
Suppress deprecation warning since we are delegating.
---
.../org/apache/commons/collections4/properties/PropertiesFactory.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/main/java/org/apache/commons/collections4/properties/PropertiesFactory.java b/src/main/java/org/apache/commons/collections4/properties/PropertiesFactory.java
index baa9a45..5f40c43 100644
--- a/src/main/java/org/apache/commons/collections4/properties/PropertiesFactory.java
+++ b/src/main/java/org/apache/commons/collections4/properties/PropertiesFactory.java
@@ -254,6 +254,7 @@ public class PropertiesFactory extends AbstractPropertiesFactory<Properties> {
throw new UnsupportedOperationException();
}
+ @SuppressWarnings("deprecation")
@Override
public void save(final OutputStream out, final String comments) {
// Implement as super