Code review:
- cleaned up the code to use more recent Java constructs, such as foreach
loops;
- cleaned up the test cases to make them a bit more readable and easier to
maintain by folding some duplicate code into helper methods;
- fixed a corner case in which an AutoConf resource drops a configuration while
updating existing ones at the same time. A NPE could be thrown in this
situation due ConfigurationAdmin not being present;
- fixed a corner case in which a resource is dropped twice. A IOException could
be thrown;
- moved some really specific MetaType code to a utility class;
- added some test cases for PersistencyManager;
- applied the code formatting guidelines for Apache Felix.
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1724802 13f79535-47bb-0310-9956-ffa450edef68
10 files changed