/[Apache-SVN]
ViewVC logotype

Revision 1653464


Jump to revision: Previous Next
Author: jawi
Date: Wed Jan 21 09:35:35 2015 UTC (9 years, 9 months ago)
Changed paths: 3
Log Message:
FELIX-4771 - Avoid NPE in Attribute#getContent:

- no longer clone the content field, as it is already a local
  clone, and this pattern isn't used in the other parts of the
  API (such as AD);
- added small test case to verify this behaviour.



Changed paths

Path Details
Directoryfelix/trunk/metatype/src/main/java/org/apache/felix/metatype/Attribute.java modified , text changed
Directoryfelix/trunk/metatype/src/test/java/org/apache/felix/metatype/ADTest.java modified , text changed
Directoryfelix/trunk/metatype/src/test/java/org/apache/felix/metatype/AttributeTest.java added

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26