[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: New behaviour of AbstractMetaDataContext.isEmpty()

alesj do-not-reply at jboss.com
Thu Nov 15 18:04:18 EST 2007


"adrian at jboss.org" wrote : It looks redundant to me, but it does no harm. ;-)
  | 
So you're saying this is the same - for AbstractMetaDataLoader:

  |       if (getScope().getScopeLevel(level) != null)
  |          return new AbstractMetaDataContext(this);
  | 
and

  |       if (getScope().getScopeLevel(level) != null)
  |          return this;
  | 

OK, no real harm, but the second one leaves AbstractMetaDataLoader clean from importing un-spi, un-retrieval packages. :-)

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105271#4105271

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4105271



More information about the jboss-dev-forums mailing list