Exclude every EI_EXPOSE_REP and EI_EXPOSE_REP2 in DefaultOSGIKillbill. I have mixed feeling because if in the future we have business method, it wont be scanned, but then again I doubt we will put any business method in this class.
Several EI_EXPOSE_REP that affected collections replaced by <XXX>.copyOf()
Attempt to fix https://github.com/killbill/killbill-platform/issues/88 for
killbill-platform-osgi
. Some notes:Use
foreach
instead ofkeySet().iterator()
here.Exclude every
EI_EXPOSE_REP
andEI_EXPOSE_REP2
in DefaultOSGIKillbill. I have mixed feeling because if in the future we have business method, it wont be scanned, but then again I doubt we will put any business method in this class.Several
EI_EXPOSE_REP
that affected collections replaced by<XXX>.copyOf()