Details
-
Improvement
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
1.1.4
-
None
-
None
-
OWB trunk
Description
methods like org.apache.webbeans.component.ProducerMethodBean.checkNullInstance(Object) or org.apache.webbeans.component.ProducerMethodBean.checkScopeType() create StringBuilder instance in every invocation, but that String is useful only in a buggy application
Improve check* method with support of
{0}{1}
placeholders (like java.util.logging has) or/and combine those checks with production/development project stage check.