tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "JC (JIRA)" <j...@apache.org>
Subject [jira] [Created] (TOMEE-2114) Collection added to itself
Date Mon, 14 Aug 2017 21:03:00 GMT
JC created TOMEE-2114:
-------------------------

             Summary: Collection added to itself
                 Key: TOMEE-2114
                 URL: https://issues.apache.org/jira/browse/TOMEE-2114
             Project: TomEE
          Issue Type: Bug
            Reporter: JC
            Priority: Trivial


Hi

In a recent github mirror, I've found suspicious code.
Branch: master
Path: container/openejb-core/src/main/java/org/apache/openejb/util/PropertiesService.java

{code:java}
 42     private final Properties props = new Properties();
...
 91     public void putAll(final Properties props) {
 92         props.putAll(props);
 93     }
{code}

In Line 92,  props.putAll should be this.props.putAll? This might not be an issue but I wanted
to report just in case.

Thanks!



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message