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

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


  Branch: refs/heads/master
  Home:   https://github.com/weld/core
  Commit: bd6b9e9ee9d2ea2e7132fa9dc0f3abe775a5b85f
      https://github.com/weld/core/commit/bd6b9e9ee9d2ea2e7132fa9dc0f3abe775a5b85f
  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: 77040bb740cb503e219d6e98d31e48bb105e9bb0
      https://github.com/weld/core/commit/77040bb740cb503e219d6e98d31e48bb105e9bb0
  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/47dfd8711d83...77040bb740cb


More information about the weld-commits mailing list