You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devicemap.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2014/07/22 17:08:38 UTC
[jira] [Commented] (DMAP-51) classify() returns a mutable map
[ https://issues.apache.org/jira/browse/DMAP-51?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14070363#comment-14070363 ]
Bertrand Delacretaz commented on DMAP-51:
-----------------------------------------
Collections.unmodifiableMap might also be good, without requiring a specific interface?
> classify() returns a mutable map
> --------------------------------
>
> Key: DMAP-51
> URL: https://issues.apache.org/jira/browse/DMAP-51
> Project: DeviceMap
> Issue Type: Bug
> Components: Java API
> Reporter: Reza Naghibi
> Assignee: Reza Naghibi
>
> classify() returns a mutable map. Change it to a more secure Device object with proper accessor methods. See DMAP-50.
--
This message was sent by Atlassian JIRA
(v6.2#6252)