[weld-commits] [weld/core] b82362: Beans.removeDisabledBeans() - don't use the live v...

GitHub noreply at github.com
Thu Sep 18 10:38:44 EDT 2014


  Branch: refs/heads/2.2
  Home:   https://github.com/weld/core
  Commit: b823628e56b3f3f53751f8d7f222a4938851a745
      https://github.com/weld/core/commit/b823628e56b3f3f53751f8d7f222a4938851a745
  Author: Martin Kouba <mkouba at redhat.com>
  Date:   2014-09-18 (Thu, 18 Sep 2014)

  Changed paths:
    M impl/src/main/java/org/jboss/weld/resolution/NameBasedResolver.java
    M impl/src/main/java/org/jboss/weld/util/Beans.java

  Log Message:
  -----------
  Beans.removeDisabledBeans() - don't use the live view but immutable set

There's no need to use the live view. Note that some Collections2.FilteredCollection operations require some additional overhead. For example size() must always iterate through the unfiltered collection and apply the filter predicate on each element.


  Commit: 8bed980a4871702c29cc046e2f26a556f09f8168
      https://github.com/weld/core/commit/8bed980a4871702c29cc046e2f26a556f09f8168
  Author: Martin Kouba <mkouba at redhat.com>
  Date:   2014-09-18 (Thu, 18 Sep 2014)

  Changed paths:
    M impl/src/main/java/org/jboss/weld/bean/builtin/InstanceImpl.java

  Log Message:
  -----------
  InstanceImpl - perform typesafe resolution only once, when the instance
is created


Compare: https://github.com/weld/core/compare/f1c14ac41af7...8bed980a4871


More information about the weld-commits mailing list