commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject [commons-collections] branch master updated: [COLLECTIONS-746] Add org.apache.commons.collections4.properties.PropertiesFactory.EMPTY_PROPERTIES.
Date Tue, 11 Feb 2020 13:50:41 GMT
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 <garydgregory@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


Mime
View raw message