You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2017/08/15 06:39:00 UTC

[jira] [Commented] (TOMEE-2114) Collection added to itself

    [ https://issues.apache.org/jira/browse/TOMEE-2114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16126860#comment-16126860 ] 

Romain Manni-Bucau commented on TOMEE-2114:
-------------------------------------------

Looks accurate. This method is not supposed to be called but doesnt cost much to fix it.

> 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)