Modified:
websites/production/commons/content/proper/commons-beanutils/jacoco/org.apache.commons.beanutils2/MethodUtils.java.html
==============================================================================
---
websites/production/commons/content/proper/commons-beanutils/jacoco/org.apache.commons.beanutils2/MethodUtils.java.html
(original)
+++
websites/production/commons/content/proper/commons-beanutils/jacoco/org.apache.commons.beanutils2/MethodUtils.java.html
Tue Jan 7 19:57:26 2025
@@ -70,13 +70,13 @@ import org.apache.commons.logging.LogFac
* @param paramTypes the array of classes representing the parameter
types
* @param exact whether the match has to be exact.
*/
-<span class="nc" id="L73"> public MethodDescriptor(final Class<?>
cls, final String methodName, final Class<?>[] paramTypes, final boolean
exact) {</span>
-<span class="nc" id="L74"> this.cls = Objects.requireNonNull(cls,
"cls");</span>
-<span class="nc" id="L75"> this.methodName =
Objects.requireNonNull(methodName, "methodName");</span>
-<span class="nc bnc" id="L76" title="All 2 branches missed.">
this.paramTypes = paramTypes != null ? paramTypes :
BeanUtils.EMPTY_CLASS_ARRAY;</span>
-<span class="nc" id="L77"> this.exact = exact;</span>
-<span class="nc" id="L78"> this.hashCode =
methodName.length();</span>
-<span class="nc" id="L79"> }</span>
+<span class="fc" id="L73"> public MethodDescriptor(final Class<?>
cls, final String methodName, final Class<?>[] paramTypes, final boolean
exact) {</span>
+<span class="fc" id="L74"> this.cls = Objects.requireNonNull(cls,
"cls");</span>
+<span class="fc" id="L75"> this.methodName =
Objects.requireNonNull(methodName, "methodName");</span>
+<span class="pc bpc" id="L76" title="1 of 2 branches missed.">
this.paramTypes = paramTypes != null ? paramTypes :
BeanUtils.EMPTY_CLASS_ARRAY;</span>
+<span class="fc" id="L77"> this.exact = exact;</span>
+<span class="fc" id="L78"> this.hashCode =
methodName.length();</span>
+<span class="fc" id="L79"> }</span>
/**
* Checks for equality.
@@ -86,12 +86,12 @@ import org.apache.commons.logging.LogFac
*/
@Override
public boolean equals(final Object obj) {
-<span class="nc bnc" id="L89" title="All 2 branches missed."> if
(!(obj instanceof MethodDescriptor)) {</span>
+<span class="pc bpc" id="L89" title="1 of 2 branches missed."> if
(!(obj instanceof MethodDescriptor)) {</span>
<span class="nc" id="L90"> return false;</span>
}
-<span class="nc" id="L92"> final MethodDescriptor md =
(MethodDescriptor) obj;</span>
+<span class="fc" id="L92"> final MethodDescriptor md =
(MethodDescriptor) obj;</span>
-<span class="nc bnc" id="L94" title="All 8 branches missed.">
return exact == md.exact && methodName.equals(md.methodName) &&
cls.equals(md.cls) && Arrays.equals(paramTypes, md.paramTypes);</span>
+<span class="fc bfc" id="L94" title="All 8 branches covered.">
return exact == md.exact && methodName.equals(md.methodName) &&
cls.equals(md.cls) && Arrays.equals(paramTypes, md.paramTypes);</span>
}
/**
@@ -102,11 +102,11 @@ import org.apache.commons.logging.LogFac
*/
@Override
public int hashCode() {
-<span class="nc" id="L105"> return hashCode;</span>
+<span class="fc" id="L105"> return hashCode;</span>
}
}
-<span class="nc" id="L109"> private static final Log LOG =
LogFactory.getLog(MethodUtils.class);</span>
+<span class="fc" id="L109"> private static final Log LOG =
LogFactory.getLog(MethodUtils.class);</span>
/**
* Only log warning about accessibility work around once.
@@ -124,7 +124,7 @@ import org.apache.commons.logging.LogFac
* Note that when this class is deployed via a shared classloader in a
container, this will affect all webapps. However making this configurable per
webapp
* would mean having a map keyed by context classloader which may
introduce memory-leak problems.
*/
-<span class="nc" id="L127"> private static boolean CACHE_METHODS =
true;</span>
+<span class="fc" id="L127"> private static boolean CACHE_METHODS =
true;</span>
/**
* Stores a cache of MethodDescriptor -> Method in a WeakHashMap.
@@ -138,7 +138,7 @@ import org.apache.commons.logging.LogFac
* as one of its members and that member is used in the
MethodDescriptor.equals method. So two components that load the same class via
different class
* loaders will generate non-equal MethodDescriptor objects and hence end
up with different entries in the map.
*/
-<span class="nc" id="L141"> private static final Map<MethodDescriptor,
Reference<Method>> cache = Collections.synchronizedMap(new
WeakHashMap<>());</span>
+<span class="fc" id="L141"> private static final Map<MethodDescriptor,
Reference<Method>> cache = Collections.synchronizedMap(new
WeakHashMap<>());</span>
/**
* Add a method to the cache.
@@ -147,10 +147,10 @@ import org.apache.commons.logging.LogFac
* @param method The method to cache
*/
private static void cacheMethod(final MethodDescriptor md, final Method
method) {
-<span class="nc bnc" id="L150" title="All 4 branches missed."> if
(CACHE_METHODS && method != null) {</span>
-<span class="nc" id="L151"> cache.put(md, new
WeakReference<>(method));</span>
+<span class="pc bpc" id="L150" title="1 of 4 branches missed."> if
(CACHE_METHODS && method != null) {</span>
+<span class="fc" id="L151"> cache.put(md, new
WeakReference<>(method));</span>
}
-<span class="nc" id="L153"> }</span>
+<span class="fc" id="L153"> }</span>
/**
* Clear the method cache.
@@ -159,9 +159,9 @@ import org.apache.commons.logging.LogFac
* @since 1.8.0
*/
public static synchronized int clearCache() {
-<span class="nc" id="L162"> final int size = cache.size();</span>
-<span class="nc" id="L163"> cache.clear();</span>
-<span class="nc" id="L164"> return size;</span>
+<span class="fc" id="L162"> final int size = cache.size();</span>
+<span class="fc" id="L163"> cache.clear();</span>
+<span class="fc" id="L164"> return size;</span>
}
/**
@@ -177,45 +177,45 @@ import org.apache.commons.logging.LogFac
*/
public static Method getAccessibleMethod(Class<?> clazz, Method
method) {
// Make sure we have a method to check
-<span class="nc bnc" id="L180" title="All 2 branches missed."> if
(method == null) {</span>
-<span class="nc" id="L181"> return null;</span>
+<span class="fc bfc" id="L180" title="All 2 branches covered."> if
(method == null) {</span>
+<span class="fc" id="L181"> return null;</span>
}
// If the requested method is not public we cannot call it
-<span class="nc bnc" id="L185" title="All 2 branches missed."> if
(!Modifier.isPublic(method.getModifiers())) {</span>
+<span class="pc bpc" id="L185" title="1 of 2 branches missed."> if
(!Modifier.isPublic(method.getModifiers())) {</span>
<span class="nc" id="L186"> return null;</span>
}
-<span class="nc" id="L189"> boolean sameClass = true;</span>
-<span class="nc bnc" id="L190" title="All 2 branches missed."> if
(clazz == null) {</span>
+<span class="fc" id="L189"> boolean sameClass = true;</span>
+<span class="pc bpc" id="L190" title="1 of 2 branches missed."> if
(clazz == null) {</span>
<span class="nc" id="L191"> clazz =
method.getDeclaringClass();</span>
-<span class="nc" id="L192"> } else {</span>
-<span class="nc bnc" id="L193" title="All 2 branches missed."> if
(!method.getDeclaringClass().isAssignableFrom(clazz)) {</span>
+ } else {
+<span class="pc bpc" id="L193" title="1 of 2 branches missed."> if
(!method.getDeclaringClass().isAssignableFrom(clazz)) {</span>
<span class="nc" id="L194"> throw new
IllegalArgumentException(clazz.getName() + " is not assignable from "
+ method.getDeclaringClass().getName());</span>
}
-<span class="nc" id="L196"> sameClass =
clazz.equals(method.getDeclaringClass());</span>
+<span class="fc" id="L196"> sameClass =
clazz.equals(method.getDeclaringClass());</span>
}
// If the class is public, we are done
-<span class="nc bnc" id="L200" title="All 2 branches missed."> if
(Modifier.isPublic(clazz.getModifiers())) {</span>
-<span class="nc bnc" id="L201" title="All 4 branches missed."> if
(!sameClass &&
!Modifier.isPublic(method.getDeclaringClass().getModifiers())) {</span>
+<span class="fc bfc" id="L200" title="All 2 branches covered."> if
(Modifier.isPublic(clazz.getModifiers())) {</span>
+<span class="pc bpc" id="L201" title="1 of 4 branches missed."> if
(!sameClass &&
!Modifier.isPublic(method.getDeclaringClass().getModifiers())) {</span>
<span class="nc" id="L202"> setMethodAccessible(method); //
Default access superclass workaround</span>
}
-<span class="nc" id="L204"> return method;</span>
+<span class="fc" id="L204"> return method;</span>
}
-<span class="nc" id="L207"> final String methodName =
method.getName();</span>
-<span class="nc" id="L208"> final Class<?>[] parameterTypes =
method.getParameterTypes();</span>
+<span class="fc" id="L207"> final String methodName =
method.getName();</span>
+<span class="fc" id="L208"> final Class<?>[] parameterTypes =
method.getParameterTypes();</span>
// Check the implemented interfaces and subinterfaces
-<span class="nc" id="L211"> method =
getAccessibleMethodFromInterfaceNest(clazz, methodName, parameterTypes);</span>
+<span class="fc" id="L211"> method =
getAccessibleMethodFromInterfaceNest(clazz, methodName, parameterTypes);</span>
// Check the superclass chain
-<span class="nc bnc" id="L214" title="All 2 branches missed."> if
(method == null) {</span>
-<span class="nc" id="L215"> method =
getAccessibleMethodFromSuperclass(clazz, methodName, parameterTypes);</span>
+<span class="fc bfc" id="L214" title="All 2 branches covered."> if
(method == null) {</span>
+<span class="fc" id="L215"> method =
getAccessibleMethodFromSuperclass(clazz, methodName, parameterTypes);</span>
}
-<span class="nc" id="L218"> return method;</span>
+<span class="fc" id="L218"> return method;</span>
}
/**
@@ -230,8 +230,8 @@ import org.apache.commons.logging.LogFac
* @return The accessible method
*/
public static Method getAccessibleMethod(final Class<?> clazz, final
String methodName, final Class<?> parameterType) {
-<span class="nc" id="L233"> final Class<?>[] parameterTypes = {
parameterType };</span>
-<span class="nc" id="L234"> return getAccessibleMethod(clazz,
methodName, parameterTypes);</span>
+<span class="fc" id="L233"> final Class<?>[] parameterTypes = {
parameterType };</span>
+<span class="fc" id="L234"> return getAccessibleMethod(clazz,
methodName, parameterTypes);</span>
}
/**
@@ -247,18 +247,18 @@ import org.apache.commons.logging.LogFac
*/
public static Method getAccessibleMethod(final Class<?> clazz, final
String methodName, final Class<?>[] parameterTypes) {
try {
-<span class="nc" id="L250"> final MethodDescriptor md = new
MethodDescriptor(clazz, methodName, parameterTypes, true);</span>
+<span class="fc" id="L250"> final MethodDescriptor md = new
MethodDescriptor(clazz, methodName, parameterTypes, true);</span>
// Check the cache first
-<span class="nc" id="L252"> Method method =
getCachedMethod(md);</span>
-<span class="nc bnc" id="L253" title="All 2 branches missed."> if
(method != null) {</span>
-<span class="nc" id="L254"> return method;</span>
+<span class="fc" id="L252"> Method method =
getCachedMethod(md);</span>
+<span class="fc bfc" id="L253" title="All 2 branches covered."> if
(method != null) {</span>
+<span class="fc" id="L254"> return method;</span>
}
-<span class="nc" id="L257"> method = getAccessibleMethod(clazz,
clazz.getMethod(methodName, parameterTypes));</span>
-<span class="nc" id="L258"> cacheMethod(md, method);</span>
-<span class="nc" id="L259"> return method;</span>
-<span class="nc" id="L260"> } catch (final NoSuchMethodException e)
{</span>
-<span class="nc" id="L261"> return null;</span>
+<span class="fc" id="L257"> method = getAccessibleMethod(clazz,
clazz.getMethod(methodName, parameterTypes));</span>
+<span class="fc" id="L258"> cacheMethod(md, method);</span>
+<span class="fc" id="L259"> return method;</span>
+<span class="fc" id="L260"> } catch (final NoSuchMethodException e)
{</span>
+<span class="fc" id="L261"> return null;</span>
}
}
@@ -273,11 +273,11 @@ import org.apache.commons.logging.LogFac
*/
public static Method getAccessibleMethod(final Method method) {
// Make sure we have a method to check
-<span class="nc bnc" id="L276" title="All 2 branches missed."> if
(method == null) {</span>
+<span class="pc bpc" id="L276" title="1 of 2 branches missed."> if
(method == null) {</span>
<span class="nc" id="L277"> return null;</span>
}
-<span class="nc" id="L280"> return
getAccessibleMethod(method.getDeclaringClass(), method);</span>
+<span class="fc" id="L280"> return
getAccessibleMethod(method.getDeclaringClass(), method);</span>
}
/**
@@ -296,36 +296,36 @@ import org.apache.commons.logging.LogFac
* @param parameterTypes The parameter type signatures
*/
private static Method getAccessibleMethodFromInterfaceNest(Class<?>
clazz, final String methodName, final Class<?>[] parameterTypes) {
-<span class="nc" id="L299"> Method method = null;</span>
+<span class="fc" id="L299"> Method method = null;</span>
// Search up the superclass chain
-<span class="nc bnc" id="L302" title="All 2 branches missed."> for (;
clazz != null; clazz = clazz.getSuperclass()) {</span>
+<span class="fc bfc" id="L302" title="All 2 branches covered."> for (;
clazz != null; clazz = clazz.getSuperclass()) {</span>
// Check the implemented interfaces of the parent class
-<span class="nc" id="L305"> final Class<?>[] interfaces =
clazz.getInterfaces();</span>
-<span class="nc bnc" id="L306" title="All 2 branches missed."> for
(final Class<?> anInterface : interfaces) {</span>
+<span class="fc" id="L305"> final Class<?>[] interfaces =
clazz.getInterfaces();</span>
+<span class="fc bfc" id="L306" title="All 2 branches covered."> for
(final Class<?> anInterface : interfaces) {</span>
// Is this interface public?
-<span class="nc bnc" id="L309" title="All 2 branches missed.">
if (!Modifier.isPublic(anInterface.getModifiers())) {</span>
+<span class="pc bpc" id="L309" title="1 of 2 branches missed.">
if (!Modifier.isPublic(anInterface.getModifiers())) {</span>
<span class="nc" id="L310"> continue;</span>
}
// Does the method exist on this interface?
try {
-<span class="nc" id="L315"> method =
anInterface.getDeclaredMethod(methodName, parameterTypes);</span>
-<span class="nc" id="L316"> } catch (final
NoSuchMethodException e) {</span>
+<span class="fc" id="L315"> method =
anInterface.getDeclaredMethod(methodName, parameterTypes);</span>
+<span class="fc" id="L316"> } catch (final
NoSuchMethodException e) {</span>
/*
* Swallow, if no method is found after the loop then this
method returns null.
*/
- }
-<span class="nc bnc" id="L321" title="All 2 branches missed.">
if (method != null) {</span>
-<span class="nc" id="L322"> return method;</span>
+<span class="fc" id="L320"> }</span>
+<span class="fc bfc" id="L321" title="All 2 branches covered.">
if (method != null) {</span>
+<span class="fc" id="L322"> return method;</span>
}
// Recursively check our parent interfaces
-<span class="nc" id="L326"> method =
getAccessibleMethodFromInterfaceNest(anInterface, methodName,
parameterTypes);</span>
-<span class="nc bnc" id="L327" title="All 2 branches missed.">
if (method != null) {</span>
-<span class="nc" id="L328"> return method;</span>
+<span class="fc" id="L326"> method =
getAccessibleMethodFromInterfaceNest(anInterface, methodName,
parameterTypes);</span>
+<span class="fc bfc" id="L327" title="All 2 branches covered.">
if (method != null) {</span>
+<span class="fc" id="L328"> return method;</span>
}
}
@@ -333,7 +333,7 @@ import org.apache.commons.logging.LogFac
}
// We did not find anything
-<span class="nc" id="L336"> return null;</span>
+<span class="fc" id="L336"> return null;</span>
}
/**
@@ -347,16 +347,16 @@ import org.apache.commons.logging.LogFac
* @param parameterTypes The parameter type signatures
*/
private static Method getAccessibleMethodFromSuperclass(final
Class<?> clazz, final String methodName, final Class<?>[]
parameterTypes) {
-<span class="nc" id="L350"> Class<?> parentClazz =
clazz.getSuperclass();</span>
-<span class="nc bnc" id="L351" title="All 2 branches missed."> while
(parentClazz != null) {</span>
-<span class="nc bnc" id="L352" title="All 2 branches missed."> if
(Modifier.isPublic(parentClazz.getModifiers())) {</span>
+<span class="fc" id="L350"> Class<?> parentClazz =
clazz.getSuperclass();</span>
+<span class="pc bpc" id="L351" title="1 of 2 branches missed."> while
(parentClazz != null) {</span>
+<span class="fc bfc" id="L352" title="All 2 branches covered."> if
(Modifier.isPublic(parentClazz.getModifiers())) {</span>
try {
-<span class="nc" id="L354"> return
parentClazz.getMethod(methodName, parameterTypes);</span>
-<span class="nc" id="L355"> } catch (final
NoSuchMethodException e) {</span>
-<span class="nc" id="L356"> return null;</span>
+<span class="fc" id="L354"> return
parentClazz.getMethod(methodName, parameterTypes);</span>
+<span class="fc" id="L355"> } catch (final
NoSuchMethodException e) {</span>
+<span class="fc" id="L356"> return null;</span>
}
}
-<span class="nc" id="L359"> parentClazz =
parentClazz.getSuperclass();</span>
+<span class="fc" id="L359"> parentClazz =
parentClazz.getSuperclass();</span>
}
<span class="nc" id="L361"> return null;</span>
}
@@ -368,13 +368,13 @@ import org.apache.commons.logging.LogFac
* @return The cached method
*/
private static Method getCachedMethod(final MethodDescriptor md) {
-<span class="nc bnc" id="L371" title="All 2 branches missed."> if
(CACHE_METHODS) {</span>
-<span class="nc" id="L372"> final Reference<Method> methodRef
= cache.get(md);</span>
-<span class="nc bnc" id="L373" title="All 2 branches missed."> if
(methodRef != null) {</span>
-<span class="nc" id="L374"> return methodRef.get();</span>
+<span class="fc bfc" id="L371" title="All 2 branches covered."> if
(CACHE_METHODS) {</span>
+<span class="fc" id="L372"> final Reference<Method> methodRef
= cache.get(md);</span>
+<span class="fc bfc" id="L373" title="All 2 branches covered."> if
(methodRef != null) {</span>
+<span class="fc" id="L374"> return methodRef.get();</span>
}
}
-<span class="nc" id="L377"> return null;</span>
+<span class="fc" id="L377"> return null;</span>
}
/**
@@ -401,95 +401,95 @@ import org.apache.commons.logging.LogFac
*/
public static Method getMatchingAccessibleMethod(final Class<?>
clazz, final String methodName, final Class<?>[] parameterTypes) {
// trace logging
-<span class="nc bnc" id="L404" title="All 2 branches missed."> if
(LOG.isTraceEnabled()) {</span>
+<span class="pc bpc" id="L404" title="1 of 2 branches missed."> if
(LOG.isTraceEnabled()) {</span>
<span class="nc" id="L405"> LOG.trace("Matching name=" +
methodName + " on " + clazz);</span>
}
-<span class="nc" id="L407"> final MethodDescriptor md = new
MethodDescriptor(clazz, methodName, parameterTypes, false);</span>
+<span class="fc" id="L407"> final MethodDescriptor md = new
MethodDescriptor(clazz, methodName, parameterTypes, false);</span>
// see if we can find the method directly
// most of the time this works and it's much faster
try {
// Check the cache first
-<span class="nc" id="L413"> Method method =
getCachedMethod(md);</span>
-<span class="nc bnc" id="L414" title="All 2 branches missed."> if
(method != null) {</span>
-<span class="nc" id="L415"> return method;</span>
+<span class="fc" id="L413"> Method method =
getCachedMethod(md);</span>
+<span class="fc bfc" id="L414" title="All 2 branches covered."> if
(method != null) {</span>
+<span class="fc" id="L415"> return method;</span>
}
-<span class="nc" id="L418"> method = clazz.getMethod(methodName,
parameterTypes);</span>
-<span class="nc bnc" id="L419" title="All 2 branches missed."> if
(LOG.isTraceEnabled()) {</span>
+<span class="fc" id="L418"> method = clazz.getMethod(methodName,
parameterTypes);</span>
+<span class="pc bpc" id="L419" title="1 of 2 branches missed."> if
(LOG.isTraceEnabled()) {</span>
<span class="nc" id="L420"> LOG.trace("Found straight
match: " + method);</span>
<span class="nc" id="L421"> LOG.trace("isPublic:" +
Modifier.isPublic(method.getModifiers()));</span>
}
-<span class="nc" id="L424"> setMethodAccessible(method); // Default
access superclass workaround</span>
+<span class="fc" id="L424"> setMethodAccessible(method); // Default
access superclass workaround</span>
-<span class="nc" id="L426"> cacheMethod(md, method);</span>
-<span class="nc" id="L427"> return method;</span>
+<span class="fc" id="L426"> cacheMethod(md, method);</span>
+<span class="fc" id="L427"> return method;</span>
-<span class="nc" id="L429"> } catch (final NoSuchMethodException e)
{</span>
+<span class="fc" id="L429"> } catch (final NoSuchMethodException e)
{</span>
/* SWALLOW */ }
// search through all methods
-<span class="nc" id="L433"> final int paramSize =
parameterTypes.length;</span>
-<span class="nc" id="L434"> Method bestMatch = null;</span>
-<span class="nc" id="L435"> final Method[] methods =
clazz.getMethods();</span>
-<span class="nc" id="L436"> float bestMatchCost =
Float.MAX_VALUE;</span>
-<span class="nc" id="L437"> float myCost = Float.MAX_VALUE;</span>
-<span class="nc bnc" id="L438" title="All 2 branches missed."> for
(final Method method2 : methods) {</span>
-<span class="nc bnc" id="L439" title="All 2 branches missed."> if
(method2.getName().equals(methodName)) {</span>
+<span class="fc" id="L433"> final int paramSize =
parameterTypes.length;</span>
+<span class="fc" id="L434"> Method bestMatch = null;</span>
+<span class="fc" id="L435"> final Method[] methods =
clazz.getMethods();</span>
+<span class="fc" id="L436"> float bestMatchCost =
Float.MAX_VALUE;</span>
+<span class="fc" id="L437"> float myCost = Float.MAX_VALUE;</span>
+<span class="fc bfc" id="L438" title="All 2 branches covered."> for
(final Method method2 : methods) {</span>
+<span class="fc bfc" id="L439" title="All 2 branches covered."> if
(method2.getName().equals(methodName)) {</span>
// log some trace information
-<span class="nc bnc" id="L441" title="All 2 branches missed.">
if (LOG.isTraceEnabled()) {</span>
+<span class="pc bpc" id="L441" title="1 of 2 branches missed.">
if (LOG.isTraceEnabled()) {</span>
<span class="nc" id="L442"> LOG.trace("Found matching
name:");</span>
<span class="nc" id="L443"> LOG.trace(method2);</span>
}
// compare parameters
-<span class="nc" id="L447"> final Class<?>[]
methodsParams = method2.getParameterTypes();</span>
-<span class="nc" id="L448"> final int methodParamSize =
methodsParams.length;</span>
-<span class="nc bnc" id="L449" title="All 2 branches missed.">
if (methodParamSize == paramSize) {</span>
-<span class="nc" id="L450"> boolean match = true;</span>
-<span class="nc bnc" id="L451" title="All 2 branches missed.">
for (int n = 0; n < methodParamSize; n++) {</span>
-<span class="nc bnc" id="L452" title="All 2 branches missed.">
if (LOG.isTraceEnabled()) {</span>
+<span class="fc" id="L447"> final Class<?>[]
methodsParams = method2.getParameterTypes();</span>
+<span class="fc" id="L448"> final int methodParamSize =
methodsParams.length;</span>
+<span class="fc bfc" id="L449" title="All 2 branches covered.">
if (methodParamSize == paramSize) {</span>
+<span class="fc" id="L450"> boolean match = true;</span>
+<span class="fc bfc" id="L451" title="All 2 branches covered.">
for (int n = 0; n < methodParamSize; n++) {</span>
+<span class="pc bpc" id="L452" title="1 of 2 branches missed.">
if (LOG.isTraceEnabled()) {</span>
<span class="nc" id="L453">
LOG.trace("Param=" + parameterTypes[n].getName());</span>
<span class="nc" id="L454">
LOG.trace("Method=" + methodsParams[n].getName());</span>
}
-<span class="nc bnc" id="L456" title="All 2 branches missed.">
if (!isAssignmentCompatible(methodsParams[n], parameterTypes[n]))
{</span>
-<span class="nc bnc" id="L457" title="All 2 branches missed.">
if (LOG.isTraceEnabled()) {</span>
+<span class="fc bfc" id="L456" title="All 2 branches covered.">
if (!isAssignmentCompatible(methodsParams[n], parameterTypes[n]))
{</span>
+<span class="pc bpc" id="L457" title="1 of 2 branches missed.">
if (LOG.isTraceEnabled()) {</span>
<span class="nc" id="L458">
LOG.trace(methodsParams[n] + " is not assignable from " +
parameterTypes[n]);</span>
}
-<span class="nc" id="L460"> match = false;</span>
-<span class="nc" id="L461"> break;</span>
+<span class="fc" id="L460"> match = false;</span>
+<span class="fc" id="L461"> break;</span>
}
}
-<span class="nc bnc" id="L465" title="All 2 branches missed.">
if (match) {</span>
+<span class="fc bfc" id="L465" title="All 2 branches covered.">
if (match) {</span>
// get accessible version of method
-<span class="nc" id="L467"> final Method method =
getAccessibleMethod(clazz, method2);</span>
-<span class="nc bnc" id="L468" title="All 2 branches missed.">
if (method != null) {</span>
-<span class="nc bnc" id="L469" title="All 2 branches missed.">
if (LOG.isTraceEnabled()) {</span>
+<span class="fc" id="L467"> final Method method =
getAccessibleMethod(clazz, method2);</span>
+<span class="pc bpc" id="L468" title="1 of 2 branches missed.">
if (method != null) {</span>
+<span class="pc bpc" id="L469" title="1 of 2 branches missed.">
if (LOG.isTraceEnabled()) {</span>
<span class="nc" id="L470"> LOG.trace(method +
" accessible version of " + method2);</span>
}
-<span class="nc" id="L472">
setMethodAccessible(method); // Default access superclass workaround</span>
-<span class="nc" id="L473"> myCost =
getTotalTransformationCost(parameterTypes, method.getParameterTypes());</span>
-<span class="nc bnc" id="L474" title="All 2 branches missed.">
if (myCost < bestMatchCost) {</span>
-<span class="nc" id="L475"> bestMatch =
method;</span>
-<span class="nc" id="L476"> bestMatchCost =
myCost;</span>
+<span class="fc" id="L472">
setMethodAccessible(method); // Default access superclass workaround</span>
+<span class="fc" id="L473"> myCost =
getTotalTransformationCost(parameterTypes, method.getParameterTypes());</span>
+<span class="fc bfc" id="L474" title="All 2 branches covered.">
if (myCost < bestMatchCost) {</span>
+<span class="fc" id="L475"> bestMatch =
method;</span>
+<span class="fc" id="L476"> bestMatchCost =
myCost;</span>
}
}
-<span class="nc" id="L480"> LOG.trace("Couldn't
find accessible method.");</span>
+<span class="fc" id="L480"> LOG.trace("Couldn't
find accessible method.");</span>
}
}
}
}
-<span class="nc bnc" id="L485" title="All 2 branches missed."> if
(bestMatch != null) {</span>
-<span class="nc" id="L486"> cacheMethod(md, bestMatch);</span>
-<span class="nc" id="L487"> } else {</span>
+<span class="fc bfc" id="L485" title="All 2 branches covered."> if
(bestMatch != null) {</span>
+<span class="fc" id="L486"> cacheMethod(md, bestMatch);</span>
+ } else {
// didn't find a match
-<span class="nc" id="L489"> LOG.trace("No match
found.");</span>
+<span class="fc" id="L489"> LOG.trace("No match
found.");</span>
}
-<span class="nc" id="L492"> return bestMatch;</span>
+<span class="fc" id="L492"> return bestMatch;</span>
}
/**
@@ -501,35 +501,35 @@ import org.apache.commons.logging.LogFac
* @return The cost of transforming an object
*/
private static float getObjectTransformationCost(Class<?> srcClass,
final Class<?> destClass) {
-<span class="nc" id="L504"> float cost = 0.0f;</span>
-<span class="nc bnc" id="L505" title="All 4 branches missed."> while
(srcClass != null && !destClass.equals(srcClass)) {</span>
-<span class="nc bnc" id="L506" title="All 2 branches missed."> if
(destClass.isPrimitive()) {</span>
-<span class="nc" id="L507"> final Class<?>
destClassWrapperClazz = getPrimitiveWrapper(destClass);</span>
-<span class="nc bnc" id="L508" title="All 4 branches missed.">
if (destClassWrapperClazz != null &&
destClassWrapperClazz.equals(srcClass)) {</span>
-<span class="nc" id="L509"> cost += 0.25f;</span>
-<span class="nc" id="L510"> break;</span>
+<span class="fc" id="L504"> float cost = 0.0f;</span>
+<span class="pc bpc" id="L505" title="1 of 4 branches missed."> while
(srcClass != null && !destClass.equals(srcClass)) {</span>
+<span class="fc bfc" id="L506" title="All 2 branches covered."> if
(destClass.isPrimitive()) {</span>
+<span class="fc" id="L507"> final Class<?>
destClassWrapperClazz = getPrimitiveWrapper(destClass);</span>
+<span class="pc bpc" id="L508" title="2 of 4 branches missed.">
if (destClassWrapperClazz != null &&
destClassWrapperClazz.equals(srcClass)) {</span>
+<span class="fc" id="L509"> cost += 0.25f;</span>
+<span class="fc" id="L510"> break;</span>
}
}
-<span class="nc bnc" id="L513" title="All 4 branches missed."> if
(destClass.isInterface() && isAssignmentCompatible(destClass,
srcClass)) {</span>
+<span class="pc bpc" id="L513" title="1 of 4 branches missed."> if
(destClass.isInterface() && isAssignmentCompatible(destClass,
srcClass)) {</span>
// slight penalty for interface match.
// we still want an exact match to override an interface
match, but
// an interface match should override anything where we have
to get a
// superclass.
-<span class="nc" id="L518"> cost += 0.25f;</span>
-<span class="nc" id="L519"> break;</span>
+<span class="fc" id="L518"> cost += 0.25f;</span>
+<span class="fc" id="L519"> break;</span>
}
-<span class="nc" id="L521"> cost++;</span>
-<span class="nc" id="L522"> srcClass =
srcClass.getSuperclass();</span>
+<span class="fc" id="L521"> cost++;</span>
+<span class="fc" id="L522"> srcClass =
srcClass.getSuperclass();</span>
}
/*
* If the destination class is null, we've traveled all the way up to
an Object match. We'll penalize this by adding 1.5 to the cost.
*/
-<span class="nc bnc" id="L528" title="All 2 branches missed."> if
(srcClass == null) {</span>
+<span class="pc bpc" id="L528" title="1 of 2 branches missed."> if
(srcClass == null) {</span>
<span class="nc" id="L529"> cost += 1.5f;</span>
}
-<span class="nc" id="L532"> return cost;</span>
+<span class="fc" id="L532"> return cost;</span>
}
/**
@@ -579,26 +579,26 @@ import org.apache.commons.logging.LogFac
*/
public static Class<?> getPrimitiveWrapper(final Class<?>
primitiveType) {
// does anyone know a better strategy than comparing names?
-<span class="nc bnc" id="L582" title="All 2 branches missed."> if
(boolean.class.equals(primitiveType)) {</span>
-<span class="nc" id="L583"> return Boolean.class;</span>
+<span class="fc bfc" id="L582" title="All 2 branches covered."> if
(boolean.class.equals(primitiveType)) {</span>
+<span class="fc" id="L583"> return Boolean.class;</span>
}
-<span class="nc bnc" id="L585" title="All 2 branches missed."> if
(float.class.equals(primitiveType)) {</span>
-<span class="nc" id="L586"> return Float.class;</span>
+<span class="fc bfc" id="L585" title="All 2 branches covered."> if
(float.class.equals(primitiveType)) {</span>
+<span class="fc" id="L586"> return Float.class;</span>
}
-<span class="nc bnc" id="L588" title="All 2 branches missed."> if
(long.class.equals(primitiveType)) {</span>
-<span class="nc" id="L589"> return Long.class;</span>
+<span class="fc bfc" id="L588" title="All 2 branches covered."> if
(long.class.equals(primitiveType)) {</span>
+<span class="fc" id="L589"> return Long.class;</span>
}
-<span class="nc bnc" id="L591" title="All 2 branches missed."> if
(int.class.equals(primitiveType)) {</span>
-<span class="nc" id="L592"> return Integer.class;</span>
+<span class="fc bfc" id="L591" title="All 2 branches covered."> if
(int.class.equals(primitiveType)) {</span>
+<span class="fc" id="L592"> return Integer.class;</span>
}
-<span class="nc bnc" id="L594" title="All 2 branches missed."> if
(short.class.equals(primitiveType)) {</span>
+<span class="pc bpc" id="L594" title="1 of 2 branches missed."> if
(short.class.equals(primitiveType)) {</span>
<span class="nc" id="L595"> return Short.class;</span>
}
-<span class="nc bnc" id="L597" title="All 2 branches missed."> if
(byte.class.equals(primitiveType)) {</span>
+<span class="pc bpc" id="L597" title="1 of 2 branches missed."> if
(byte.class.equals(primitiveType)) {</span>
<span class="nc" id="L598"> return Byte.class;</span>
}
-<span class="nc bnc" id="L600" title="All 2 branches missed."> if
(double.class.equals(primitiveType)) {</span>
-<span class="nc" id="L601"> return Double.class;</span>
+<span class="pc bpc" id="L600" title="1 of 2 branches missed."> if
(double.class.equals(primitiveType)) {</span>
+<span class="fc" id="L601"> return Double.class;</span>
}
<span class="nc bnc" id="L603" title="All 2 branches missed."> if
(char.class.equals(primitiveType)) {</span>
<span class="nc" id="L604"> return Character.class;</span>
@@ -614,15 +614,15 @@ import org.apache.commons.logging.LogFac
* @return The total transformation cost
*/
private static float getTotalTransformationCost(final Class<?>[]
srcArgs, final Class<?>[] destArgs) {
-<span class="nc" id="L617"> float totalCost = 0.0f;</span>
-<span class="nc bnc" id="L618" title="All 2 branches missed."> for (int
i = 0; i < srcArgs.length; i++) {</span>
+<span class="fc" id="L617"> float totalCost = 0.0f;</span>
+<span class="fc bfc" id="L618" title="All 2 branches covered."> for
(int i = 0; i < srcArgs.length; i++) {</span>
Class<?> srcClass, destClass;
-<span class="nc" id="L620"> srcClass = srcArgs[i];</span>
-<span class="nc" id="L621"> destClass = destArgs[i];</span>
-<span class="nc" id="L622"> totalCost +=
getObjectTransformationCost(srcClass, destClass);</span>
+<span class="fc" id="L620"> srcClass = srcArgs[i];</span>
+<span class="fc" id="L621"> destClass = destArgs[i];</span>
+<span class="fc" id="L622"> totalCost +=
getObjectTransformationCost(srcClass, destClass);</span>
}
-<span class="nc" id="L625"> return totalCost;</span>
+<span class="fc" id="L625"> return totalCost;</span>
}
/**
@@ -644,8 +644,8 @@ import org.apache.commons.logging.LogFac
*/
public static Object invokeExactMethod(final Object object, final String
methodName, final Object arg)
throws NoSuchMethodException, IllegalAccessException,
InvocationTargetException {
-<span class="nc" id="L647"> final Object[] args = toArray(arg);</span>
-<span class="nc" id="L648"> return invokeExactMethod(object,
methodName, args);</span>
+<span class="fc" id="L647"> final Object[] args = toArray(arg);</span>
+<span class="fc" id="L648"> return invokeExactMethod(object,
methodName, args);</span>
}
/**
@@ -668,15 +668,15 @@ import org.apache.commons.logging.LogFac
*/
public static Object invokeExactMethod(final Object object, final String
methodName, Object[] args)
throws NoSuchMethodException, IllegalAccessException,
InvocationTargetException {
-<span class="nc bnc" id="L671" title="All 2 branches missed."> if (args
== null) {</span>
-<span class="nc" id="L672"> args =
BeanUtils.EMPTY_OBJECT_ARRAY;</span>
+<span class="fc bfc" id="L671" title="All 2 branches covered."> if
(args == null) {</span>
+<span class="fc" id="L672"> args =
BeanUtils.EMPTY_OBJECT_ARRAY;</span>
}
-<span class="nc" id="L674"> final int arguments = args.length;</span>
-<span class="nc" id="L675"> final Class<?>[] parameterTypes = new
Class[arguments];</span>
-<span class="nc bnc" id="L676" title="All 2 branches missed."> for (int
i = 0; i < arguments; i++) {</span>
-<span class="nc" id="L677"> parameterTypes[i] =
args[i].getClass();</span>
+<span class="fc" id="L674"> final int arguments = args.length;</span>
+<span class="fc" id="L675"> final Class<?>[] parameterTypes = new
Class[arguments];</span>
+<span class="fc bfc" id="L676" title="All 2 branches covered."> for
(int i = 0; i < arguments; i++) {</span>
+<span class="fc" id="L677"> parameterTypes[i] =
args[i].getClass();</span>
}
-<span class="nc" id="L679"> return invokeExactMethod(object,
methodName, args, parameterTypes);</span>
+<span class="fc" id="L679"> return invokeExactMethod(object,
methodName, args, parameterTypes);</span>
}
/**
@@ -700,19 +700,19 @@ import org.apache.commons.logging.LogFac
*/
public static Object invokeExactMethod(final Object object, final String
methodName, Object[] args, Class<?>[] parameterTypes)
throws NoSuchMethodException, IllegalAccessException,
InvocationTargetException {
-<span class="nc bnc" id="L703" title="All 2 branches missed."> if (args
== null) {</span>
-<span class="nc" id="L704"> args =
BeanUtils.EMPTY_OBJECT_ARRAY;</span>
+<span class="fc bfc" id="L703" title="All 2 branches covered."> if
(args == null) {</span>
+<span class="fc" id="L704"> args =
BeanUtils.EMPTY_OBJECT_ARRAY;</span>
}
-<span class="nc bnc" id="L707" title="All 2 branches missed."> if
(parameterTypes == null) {</span>
-<span class="nc" id="L708"> parameterTypes =
BeanUtils.EMPTY_CLASS_ARRAY;</span>
+<span class="fc bfc" id="L707" title="All 2 branches covered."> if
(parameterTypes == null) {</span>
+<span class="fc" id="L708"> parameterTypes =
BeanUtils.EMPTY_CLASS_ARRAY;</span>
}
-<span class="nc" id="L711"> final Method method =
getAccessibleMethod(object.getClass(), methodName, parameterTypes);</span>
-<span class="nc bnc" id="L712" title="All 2 branches missed."> if
(method == null) {</span>
+<span class="fc" id="L711"> final Method method =
getAccessibleMethod(object.getClass(), methodName, parameterTypes);</span>
+<span class="pc bpc" id="L712" title="1 of 2 branches missed."> if
(method == null) {</span>
<span class="nc" id="L713"> throw new
NoSuchMethodException("No such accessible method: " + methodName +
"() on object: " + object.getClass().getName());</span>
}
-<span class="nc" id="L715"> return method.invoke(object, args);</span>
+<span class="fc" id="L715"> return method.invoke(object, args);</span>
}
/**
@@ -735,8 +735,8 @@ import org.apache.commons.logging.LogFac
*/
public static Object invokeExactStaticMethod(final Class<?>
objectClass, final String methodName, final Object arg)
throws NoSuchMethodException, IllegalAccessException,
InvocationTargetException {
-<span class="nc" id="L738"> final Object[] args = toArray(arg);</span>
-<span class="nc" id="L739"> return invokeExactStaticMethod(objectClass,
methodName, args);</span>
+<span class="fc" id="L738"> final Object[] args = toArray(arg);</span>
+<span class="fc" id="L739"> return invokeExactStaticMethod(objectClass,
methodName, args);</span>
}
/**
@@ -760,15 +760,15 @@ import org.apache.commons.logging.LogFac
*/
public static Object invokeExactStaticMethod(final Class<?>
objectClass, final String methodName, Object[] args)
throws NoSuchMethodException, IllegalAccessException,
InvocationTargetException {
-<span class="nc bnc" id="L763" title="All 2 branches missed."> if (args
== null) {</span>
-<span class="nc" id="L764"> args =
BeanUtils.EMPTY_OBJECT_ARRAY;</span>
+<span class="pc bpc" id="L763" title="1 of 2 branches missed."> if
(args == null) {</span>
+<span class="fc" id="L764"> args =
BeanUtils.EMPTY_OBJECT_ARRAY;</span>
}
-<span class="nc" id="L766"> final int arguments = args.length;</span>
-<span class="nc" id="L767"> final Class<?>[] parameterTypes = new
Class[arguments];</span>
-<span class="nc bnc" id="L768" title="All 2 branches missed."> for (int
i = 0; i < arguments; i++) {</span>
+<span class="fc" id="L766"> final int arguments = args.length;</span>
+<span class="fc" id="L767"> final Class<?>[] parameterTypes = new
Class[arguments];</span>
+<span class="pc bpc" id="L768" title="1 of 2 branches missed."> for
(int i = 0; i < arguments; i++) {</span>
<span class="nc" id="L769"> parameterTypes[i] =
args[i].getClass();</span>
}
-<span class="nc" id="L771"> return invokeExactStaticMethod(objectClass,
methodName, args, parameterTypes);</span>
+<span class="fc" id="L771"> return invokeExactStaticMethod(objectClass,
methodName, args, parameterTypes);</span>
}
/**
@@ -793,19 +793,19 @@ import org.apache.commons.logging.LogFac
*/
public static Object invokeExactStaticMethod(final Class<?>
objectClass, final String methodName, Object[] args, Class<?>[]
parameterTypes)
throws NoSuchMethodException, IllegalAccessException,
InvocationTargetException {
-<span class="nc bnc" id="L796" title="All 2 branches missed."> if (args
== null) {</span>
+<span class="pc bpc" id="L796" title="1 of 2 branches missed."> if
(args == null) {</span>
<span class="nc" id="L797"> args =
BeanUtils.EMPTY_OBJECT_ARRAY;</span>
}
-<span class="nc bnc" id="L800" title="All 2 branches missed."> if
(parameterTypes == null) {</span>
+<span class="pc bpc" id="L800" title="1 of 2 branches missed."> if
(parameterTypes == null) {</span>
<span class="nc" id="L801"> parameterTypes =
BeanUtils.EMPTY_CLASS_ARRAY;</span>
}
-<span class="nc" id="L804"> final Method method =
getAccessibleMethod(objectClass, methodName, parameterTypes);</span>
-<span class="nc bnc" id="L805" title="All 2 branches missed."> if
(method == null) {</span>
+<span class="fc" id="L804"> final Method method =
getAccessibleMethod(objectClass, methodName, parameterTypes);</span>
+<span class="pc bpc" id="L805" title="1 of 2 branches missed."> if
(method == null) {</span>
<span class="nc" id="L806"> throw new
NoSuchMethodException("No such accessible method: " + methodName +
"() on class: " + objectClass.getName());</span>
}
-<span class="nc" id="L808"> return method.invoke(null, args);</span>
+<span class="fc" id="L808"> return method.invoke(null, args);</span>
}
/**
@@ -837,8 +837,8 @@ import org.apache.commons.logging.LogFac
*/
public static Object invokeMethod(final Object object, final String
methodName, final Object arg)
throws NoSuchMethodException, IllegalAccessException,
InvocationTargetException {
-<span class="nc" id="L840"> final Object[] args = toArray(arg);</span>
-<span class="nc" id="L841"> return invokeMethod(object, methodName,
args);</span>
+<span class="fc" id="L840"> final Object[] args = toArray(arg);</span>
+<span class="fc" id="L841"> return invokeMethod(object, methodName,
args);</span>
}
/**
@@ -871,15 +871,15 @@ import org.apache.commons.logging.LogFac
*/
public static Object invokeMethod(final Object object, final String
methodName, Object[] args)
throws NoSuchMethodException, IllegalAccessException,
InvocationTargetException {
-<span class="nc bnc" id="L874" title="All 2 branches missed."> if (args
== null) {</span>
-<span class="nc" id="L875"> args =
BeanUtils.EMPTY_OBJECT_ARRAY;</span>
+<span class="fc bfc" id="L874" title="All 2 branches covered."> if
(args == null) {</span>
+<span class="fc" id="L875"> args =
BeanUtils.EMPTY_OBJECT_ARRAY;</span>
}
-<span class="nc" id="L877"> final int arguments = args.length;</span>
-<span class="nc" id="L878"> final Class<?>[] parameterTypes = new
Class[arguments];</span>
-<span class="nc bnc" id="L879" title="All 2 branches missed."> for (int
i = 0; i < arguments; i++) {</span>
-<span class="nc" id="L880"> parameterTypes[i] =
args[i].getClass();</span>
+<span class="fc" id="L877"> final int arguments = args.length;</span>
+<span class="fc" id="L878"> final Class<?>[] parameterTypes = new
Class[arguments];</span>
+<span class="fc bfc" id="L879" title="All 2 branches covered."> for
(int i = 0; i < arguments; i++) {</span>
+<span class="fc" id="L880"> parameterTypes[i] =
args[i].getClass();</span>
}
-<span class="nc" id="L882"> return invokeMethod(object, methodName,
args, parameterTypes);</span>
+<span class="fc" id="L882"> return invokeMethod(object, methodName,
args, parameterTypes);</span>
}
/**
@@ -911,18 +911,18 @@ import org.apache.commons.logging.LogFac
*/
public static Object invokeMethod(final Object object, final String
methodName, Object[] args, Class<?>[] parameterTypes)
throws NoSuchMethodException, IllegalAccessException,
InvocationTargetException {
-<span class="nc bnc" id="L914" title="All 2 branches missed."> if
(parameterTypes == null) {</span>
-<span class="nc" id="L915"> parameterTypes =
BeanUtils.EMPTY_CLASS_ARRAY;</span>
+<span class="fc bfc" id="L914" title="All 2 branches covered."> if
(parameterTypes == null) {</span>
+<span class="fc" id="L915"> parameterTypes =
BeanUtils.EMPTY_CLASS_ARRAY;</span>
}
-<span class="nc bnc" id="L917" title="All 2 branches missed."> if (args
== null) {</span>
-<span class="nc" id="L918"> args =
BeanUtils.EMPTY_OBJECT_ARRAY;</span>
+<span class="fc bfc" id="L917" title="All 2 branches covered."> if
(args == null) {</span>
+<span class="fc" id="L918"> args =
BeanUtils.EMPTY_OBJECT_ARRAY;</span>
}
-<span class="nc" id="L921"> final Method method =
getMatchingAccessibleMethod(object.getClass(), methodName,
parameterTypes);</span>
-<span class="nc bnc" id="L922" title="All 2 branches missed."> if
(method == null) {</span>
-<span class="nc" id="L923"> throw new
NoSuchMethodException("No such accessible method: " + methodName +
"() on object: " + object.getClass().getName());</span>
+<span class="fc" id="L921"> final Method method =
getMatchingAccessibleMethod(object.getClass(), methodName,
parameterTypes);</span>
+<span class="fc bfc" id="L922" title="All 2 branches covered."> if
(method == null) {</span>
+<span class="fc" id="L923"> throw new
NoSuchMethodException("No such accessible method: " + methodName +
"() on object: " + object.getClass().getName());</span>
}
-<span class="nc" id="L925"> return method.invoke(object, args);</span>
+<span class="fc" id="L925"> return method.invoke(object, args);</span>
}
/**
@@ -955,8 +955,8 @@ import org.apache.commons.logging.LogFac
*/
public static Object invokeStaticMethod(final Class<?> objectClass,
final String methodName, final Object arg)
throws NoSuchMethodException, IllegalAccessException,
InvocationTargetException {
-<span class="nc" id="L958"> final Object[] args = toArray(arg);</span>
-<span class="nc" id="L959"> return invokeStaticMethod(objectClass,
methodName, args);</span>
+<span class="fc" id="L958"> final Object[] args = toArray(arg);</span>
+<span class="fc" id="L959"> return invokeStaticMethod(objectClass,
methodName, args);</span>
}
/**
@@ -990,15 +990,15 @@ import org.apache.commons.logging.LogFac
*/
public static Object invokeStaticMethod(final Class<?> objectClass,
final String methodName, Object[] args)
throws NoSuchMethodException, IllegalAccessException,
InvocationTargetException {
-<span class="nc bnc" id="L993" title="All 2 branches missed."> if (args
== null) {</span>
-<span class="nc" id="L994"> args =
BeanUtils.EMPTY_OBJECT_ARRAY;</span>
+<span class="fc bfc" id="L993" title="All 2 branches covered."> if
(args == null) {</span>
+<span class="fc" id="L994"> args =
BeanUtils.EMPTY_OBJECT_ARRAY;</span>
}
-<span class="nc" id="L996"> final int arguments = args.length;</span>
-<span class="nc" id="L997"> final Class<?>[] parameterTypes = new
Class[arguments];</span>
-<span class="nc bnc" id="L998" title="All 2 branches missed."> for (int
i = 0; i < arguments; i++) {</span>
-<span class="nc" id="L999"> parameterTypes[i] =
args[i].getClass();</span>
+<span class="fc" id="L996"> final int arguments = args.length;</span>
+<span class="fc" id="L997"> final Class<?>[] parameterTypes = new
Class[arguments];</span>
+<span class="fc bfc" id="L998" title="All 2 branches covered."> for
(int i = 0; i < arguments; i++) {</span>
+<span class="fc" id="L999"> parameterTypes[i] =
args[i].getClass();</span>
}
-<span class="nc" id="L1001"> return invokeStaticMethod(objectClass,
methodName, args, parameterTypes);</span>
+<span class="fc" id="L1001"> return invokeStaticMethod(objectClass,
methodName, args, parameterTypes);</span>
}
/**
@@ -1032,18 +1032,18 @@ import org.apache.commons.logging.LogFac
public static Object invokeStaticMethod(final Class<?> objectClass,
final String methodName, Object[] args, Class<?>[] parameterTypes)
throws NoSuchMethodException, IllegalAccessException,
InvocationTargetException {
-<span class="nc bnc" id="L1035" title="All 2 branches missed."> if
(parameterTypes == null) {</span>
+<span class="pc bpc" id="L1035" title="1 of 2 branches missed."> if
(parameterTypes == null) {</span>
<span class="nc" id="L1036"> parameterTypes =
BeanUtils.EMPTY_CLASS_ARRAY;</span>
}
-<span class="nc bnc" id="L1038" title="All 2 branches missed."> if
(args == null) {</span>
+<span class="pc bpc" id="L1038" title="1 of 2 branches missed."> if
(args == null) {</span>
<span class="nc" id="L1039"> args =
BeanUtils.EMPTY_OBJECT_ARRAY;</span>
}
-<span class="nc" id="L1042"> final Method method =
getMatchingAccessibleMethod(objectClass, methodName, parameterTypes);</span>
-<span class="nc bnc" id="L1043" title="All 2 branches missed."> if
(method == null) {</span>
+<span class="fc" id="L1042"> final Method method =
getMatchingAccessibleMethod(objectClass, methodName, parameterTypes);</span>
+<span class="pc bpc" id="L1043" title="1 of 2 branches missed."> if
(method == null) {</span>
<span class="nc" id="L1044"> throw new
NoSuchMethodException("No such accessible method: " + methodName +
"() on class: " + objectClass.getName());</span>
}
-<span class="nc" id="L1046"> return method.invoke(null, args);</span>
+<span class="fc" id="L1046"> return method.invoke(null, args);</span>
}
/**
@@ -1066,20 +1066,20 @@ import org.apache.commons.logging.LogFac
*/
public static final boolean isAssignmentCompatible(final Class<?>
parameterType, final Class<?> parameterization) {
// try plain assignment
-<span class="nc bnc" id="L1069" title="All 2 branches missed."> if
(parameterType.isAssignableFrom(parameterization)) {</span>
-<span class="nc" id="L1070"> return true;</span>
+<span class="fc bfc" id="L1069" title="All 2 branches covered."> if
(parameterType.isAssignableFrom(parameterization)) {</span>
+<span class="fc" id="L1070"> return true;</span>
}
-<span class="nc bnc" id="L1073" title="All 2 branches missed."> if
(parameterType.isPrimitive()) {</span>
+<span class="fc bfc" id="L1073" title="All 2 branches covered."> if
(parameterType.isPrimitive()) {</span>
// this method does *not* do widening - you must specify exactly
// is this the right behavior?
-<span class="nc" id="L1076"> final Class<?>
parameterWrapperClazz = getPrimitiveWrapper(parameterType);</span>
-<span class="nc bnc" id="L1077" title="All 2 branches missed."> if
(parameterWrapperClazz != null) {</span>
-<span class="nc" id="L1078"> return
parameterWrapperClazz.equals(parameterization);</span>
+<span class="fc" id="L1076"> final Class<?>
parameterWrapperClazz = getPrimitiveWrapper(parameterType);</span>
+<span class="pc bpc" id="L1077" title="1 of 2 branches missed."> if
(parameterWrapperClazz != null) {</span>
+<span class="fc" id="L1078"> return
parameterWrapperClazz.equals(parameterization);</span>
}
}
-<span class="nc" id="L1082"> return false;</span>
+<span class="fc" id="L1082"> return false;</span>
}
/**
@@ -1089,11 +1089,11 @@ import org.apache.commons.logging.LogFac
* @since 1.8.0
*/
public static synchronized void setCacheMethods(final boolean
cacheMethods) {
-<span class="nc" id="L1092"> CACHE_METHODS = cacheMethods;</span>
-<span class="nc bnc" id="L1093" title="All 2 branches missed."> if
(!CACHE_METHODS) {</span>
-<span class="nc" id="L1094"> clearCache();</span>
+<span class="fc" id="L1092"> CACHE_METHODS = cacheMethods;</span>
+<span class="fc bfc" id="L1093" title="All 2 branches covered."> if
(!CACHE_METHODS) {</span>
+<span class="fc" id="L1094"> clearCache();</span>
}
-<span class="nc" id="L1096"> }</span>
+<span class="fc" id="L1096"> }</span>
/**
* Try to make the method accessible
@@ -1118,8 +1118,8 @@ import org.apache.commons.logging.LogFac
//
// Better workarounds would be gratefully accepted.
//
-<span class="nc bnc" id="L1121" title="All 2 branches missed."> if
(!method.isAccessible()) {</span>
-<span class="nc" id="L1122"> method.setAccessible(true);</span>
+<span class="pc bpc" id="L1121" title="1 of 2 branches missed."> if
(!method.isAccessible()) {</span>
+<span class="fc" id="L1122"> method.setAccessible(true);</span>
}
<span class="nc" id="L1125"> } catch (final SecurityException se)
{</span>
@@ -1136,22 +1136,22 @@ import org.apache.commons.logging.LogFac
<span class="nc" id="L1136"> } catch (final SecurityException
e) {</span>
// don't know - so display warning
<span class="nc" id="L1138"> vulnerableJVM = true;</span>
- }
+<span class="nc" id="L1139"> }</span>
<span class="nc bnc" id="L1140" title="All 2 branches missed.">
if (vulnerableJVM) {</span>
<span class="nc" id="L1141"> LOG.warn("Current
Security Manager restricts use of workarounds for reflection bugs " +
" in pre-1.4 JVMs.");</span>
}
<span class="nc" id="L1143"> loggedAccessibleWarning =
true;</span>
}
<span class="nc" id="L1145"> LOG.debug("Cannot setAccessible
on method. Therefore cannot use jvm access bug workaround.", se);</span>
- }
-<span class="nc" id="L1147"> }</span>
+<span class="fc" id="L1146"> }</span>
+<span class="fc" id="L1147"> }</span>
private static Object[] toArray(final Object arg) {
-<span class="nc" id="L1150"> Object[] args = null;</span>
-<span class="nc bnc" id="L1151" title="All 2 branches missed."> if (arg
!= null) {</span>
-<span class="nc" id="L1152"> args = new Object[] { arg };</span>
+<span class="fc" id="L1150"> Object[] args = null;</span>
+<span class="fc bfc" id="L1151" title="All 2 branches covered."> if
(arg != null) {</span>
+<span class="fc" id="L1152"> args = new Object[] { arg };</span>
}
-<span class="nc" id="L1154"> return args;</span>
+<span class="fc" id="L1154"> return args;</span>
}
/**
Modified:
websites/production/commons/content/proper/commons-beanutils/jacoco/org.apache.commons.beanutils2/NestedNullException.html
==============================================================================
---
websites/production/commons/content/proper/commons-beanutils/jacoco/org.apache.commons.beanutils2/NestedNullException.html
(original)
+++
websites/production/commons/content/proper/commons-beanutils/jacoco/org.apache.commons.beanutils2/NestedNullException.html
Tue Jan 7 19:57:26 2025
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML
1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html
xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta
http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link
rel="stylesheet" href="../jacoco-resources/report.css" type="text/css"/><link
rel="shortcut icon" href="../jacoco-resources/report.gif"
type="image/gif"/><title>NestedNullException</title><script
type="text/javascript" src="../jacoco-resources/sort.js"></script></head><body
onload="initialSort(['breadcrumb'])"><div class="breadcrumb"
id="breadcrumb"><span class="info"><a href="../jacoco-sessions.html"
class="el_session">Sessions</a></span><a href="../index.html"
class="el_report">Apache Commons BeanUtils</a> > <a href="index.html"
class="el_package">org.apache.commons.beanutils2</a> > <span
class="el_class">NestedNullException</span></div><h1>NestedNullException</h1><p>A
different version of class was e
xecuted at runtime.</p><table class="coverage" cellspacing="0"
id="coveragetable"><thead><tr><td class="sortable" id="a"
onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b"
onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2"
id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d"
onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e"
onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f"
onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g"
onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h"
onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i"
onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j"
onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k"
onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td
class="bar">7 of 7</td><td class="ctr2">0%</td><td class="bar">0 o
f 0</td><td class="ctr2">n/a</td><td class="ctr1">2</td><td
class="ctr2">2</td><td class="ctr1">4</td><td class="ctr2">4</td><td
class="ctr1">2</td><td class="ctr2">2</td></tr></tfoot><tbody><tr><td
id="a1"><a href="NestedNullException.java.html#L41"
class="el_method">NestedNullException(String)</a></td><td class="bar"
id="b0"><img src="../jacoco-resources/redbar.gif" width="120" height="10"
title="4" alt="4"/></td><td class="ctr2" id="c0">0%</td><td class="bar"
id="d0"/><td class="ctr2" id="e0">n/a</td><td class="ctr1" id="f0">1</td><td
class="ctr2" id="g0">1</td><td class="ctr1" id="h0">2</td><td class="ctr2"
id="i0">2</td><td class="ctr1" id="j0">1</td><td class="ctr2"
id="k0">1</td></tr><tr><td id="a0"><a href="NestedNullException.java.html#L32"
class="el_method">NestedNullException()</a></td><td class="bar" id="b1"><img
src="../jacoco-resources/redbar.gif" width="90" height="10" title="3"
alt="3"/></td><td class="ctr2" id="c1">0%</td><td class="bar" id="d1"/><td
class="ctr2" id
="e1">n/a</td><td class="ctr1" id="f1">1</td><td class="ctr2"
id="g1">1</td><td class="ctr1" id="h1">2</td><td class="ctr2" id="i1">2</td><td
class="ctr1" id="j1">1</td><td class="ctr2"
id="k1">1</td></tr></tbody></table><div class="footer"><span
class="right">Created with <a href="http://www.jacoco.org/jacoco">JaCoCo</a>
0.8.12.202403310830</span></div></body></html>
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML
1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html
xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta
http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link
rel="stylesheet" href="../jacoco-resources/report.css" type="text/css"/><link
rel="shortcut icon" href="../jacoco-resources/report.gif"
type="image/gif"/><title>NestedNullException</title><script
type="text/javascript" src="../jacoco-resources/sort.js"></script></head><body
onload="initialSort(['breadcrumb'])"><div class="breadcrumb"
id="breadcrumb"><span class="info"><a href="../jacoco-sessions.html"
class="el_session">Sessions</a></span><a href="../index.html"
class="el_report">Apache Commons BeanUtils</a> > <a href="index.html"
class="el_package">org.apache.commons.beanutils2</a> > <span
class="el_class">NestedNullException</span></div><h1>NestedNullException</h1><table
class="coverage" cellspacing="
0" id="coveragetable"><thead><tr><td class="sortable" id="a"
onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b"
onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2"
id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d"
onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e"
onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f"
onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g"
onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h"
onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i"
onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j"
onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k"
onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td
class="bar">3 of 7</td><td class="ctr2">57%</td><td class="bar">0 of 0</td><td
class="ctr2">n/a</td><td class="ctr1">1</td><td
class="ctr2">2</td><td class="ctr1">2</td><td class="ctr2">4</td><td
class="ctr1">1</td><td class="ctr2">2</td></tr></tfoot><tbody><tr><td
id="a0"><a href="NestedNullException.java.html#L32"
class="el_method">NestedNullException()</a></td><td class="bar" id="b0"><img
src="../jacoco-resources/redbar.gif" width="90" height="10" title="3"
alt="3"/></td><td class="ctr2" id="c1">0%</td><td class="bar" id="d0"/><td
class="ctr2" id="e0">n/a</td><td class="ctr1" id="f0">1</td><td class="ctr2"
id="g0">1</td><td class="ctr1" id="h0">2</td><td class="ctr2" id="i0">2</td><td
class="ctr1" id="j0">1</td><td class="ctr2" id="k0">1</td></tr><tr><td
id="a1"><a href="NestedNullException.java.html#L41"
class="el_method">NestedNullException(String)</a></td><td class="bar"
id="b1"><img src="../jacoco-resources/greenbar.gif" width="120" height="10"
title="4" alt="4"/></td><td class="ctr2" id="c0">100%</td><td class="bar"
id="d1"/><td class="ctr2" id="e1">n/a</td><td class="ctr1" id="f1">0</td><td
class=
"ctr2" id="g1">1</td><td class="ctr1" id="h1">0</td><td class="ctr2"
id="i1">2</td><td class="ctr1" id="j1">0</td><td class="ctr2"
id="k1">1</td></tr></tbody></table><div class="footer"><span
class="right">Created with <a href="http://www.jacoco.org/jacoco">JaCoCo</a>
0.8.12.202403310830</span></div></body></html>
\ No newline at end of file
Modified:
websites/production/commons/content/proper/commons-beanutils/jacoco/org.apache.commons.beanutils2/NestedNullException.java.html
==============================================================================
---
websites/production/commons/content/proper/commons-beanutils/jacoco/org.apache.commons.beanutils2/NestedNullException.java.html
(original)
+++
websites/production/commons/content/proper/commons-beanutils/jacoco/org.apache.commons.beanutils2/NestedNullException.java.html
Tue Jan 7 19:57:26 2025
@@ -38,7 +38,7 @@ public class NestedNullException extends
* @param message the detail message explaining this exception
*/
public NestedNullException(final String message) {
-<span class="nc" id="L41"> super(message);</span>
-<span class="nc" id="L42"> }</span>
+<span class="fc" id="L41"> super(message);</span>
+<span class="fc" id="L42"> }</span>
}
</pre><div class="footer"><span class="right">Created with <a
href="http://www.jacoco.org/jacoco">JaCoCo</a>
0.8.12.202403310830</span></div></body></html>
\ No newline at end of file
Modified:
websites/production/commons/content/proper/commons-beanutils/jacoco/org.apache.commons.beanutils2/PropertyDescriptors.html
==============================================================================
---
websites/production/commons/content/proper/commons-beanutils/jacoco/org.apache.commons.beanutils2/PropertyDescriptors.html
(original)
+++
websites/production/commons/content/proper/commons-beanutils/jacoco/org.apache.commons.beanutils2/PropertyDescriptors.html
Tue Jan 7 19:57:26 2025
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML
1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html
xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta
http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link
rel="stylesheet" href="../jacoco-resources/report.css" type="text/css"/><link
rel="shortcut icon" href="../jacoco-resources/report.gif"
type="image/gif"/><title>PropertyDescriptors</title><script
type="text/javascript" src="../jacoco-resources/sort.js"></script></head><body
onload="initialSort(['breadcrumb'])"><div class="breadcrumb"
id="breadcrumb"><span class="info"><a href="../jacoco-sessions.html"
class="el_session">Sessions</a></span><a href="../index.html"
class="el_report">Apache Commons BeanUtils</a> > <a href="index.html"
class="el_package">org.apache.commons.beanutils2</a> > <span
class="el_class">PropertyDescriptors</span></div><h1>PropertyDescriptors</h1><p>A
different version of class was e
xecuted at runtime.</p><table class="coverage" cellspacing="0"
id="coveragetable"><thead><tr><td class="sortable" id="a"
onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b"
onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2"
id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d"
onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e"
onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f"
onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g"
onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h"
onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i"
onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j"
onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k"
onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td
class="bar">7 of 7</td><td class="ctr2">0%</td><td class="bar">0 o
f 0</td><td class="ctr2">n/a</td><td class="ctr1">2</td><td
class="ctr2">2</td><td class="ctr1">2</td><td class="ctr2">2</td><td
class="ctr1">2</td><td class="ctr2">2</td></tr></tfoot><tbody><tr><td
id="a1"><a href="PropertyDescriptors.java.html#L24" class="el_method">static
{...}</a></td><td class="bar" id="b0"><img src="../jacoco-resources/redbar.gif"
width="120" height="10" title="4" alt="4"/></td><td class="ctr2"
id="c0">0%</td><td class="bar" id="d0"/><td class="ctr2" id="e0">n/a</td><td
class="ctr1" id="f0">1</td><td class="ctr2" id="g0">1</td><td class="ctr1"
id="h0">1</td><td class="ctr2" id="i0">1</td><td class="ctr1" id="j0">1</td><td
class="ctr2" id="k0">1</td></tr><tr><td id="a0"><a
href="PropertyDescriptors.java.html#L22"
class="el_method">PropertyDescriptors()</a></td><td class="bar" id="b1"><img
src="../jacoco-resources/redbar.gif" width="90" height="10" title="3"
alt="3"/></td><td class="ctr2" id="c1">0%</td><td class="bar" id="d1"/><td
class="ctr2" id="e1">n/a</td><
td class="ctr1" id="f1">1</td><td class="ctr2" id="g1">1</td><td class="ctr1"
id="h1">1</td><td class="ctr2" id="i1">1</td><td class="ctr1" id="j1">1</td><td
class="ctr2" id="k1">1</td></tr></tbody></table><div class="footer"><span
class="right">Created with <a href="http://www.jacoco.org/jacoco">JaCoCo</a>
0.8.12.202403310830</span></div></body></html>
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML
1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html
xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta
http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link
rel="stylesheet" href="../jacoco-resources/report.css" type="text/css"/><link
rel="shortcut icon" href="../jacoco-resources/report.gif"
type="image/gif"/><title>PropertyDescriptors</title><script
type="text/javascript" src="../jacoco-resources/sort.js"></script></head><body
onload="initialSort(['breadcrumb'])"><div class="breadcrumb"
id="breadcrumb"><span class="info"><a href="../jacoco-sessions.html"
class="el_session">Sessions</a></span><a href="../index.html"
class="el_report">Apache Commons BeanUtils</a> > <a href="index.html"
class="el_package">org.apache.commons.beanutils2</a> > <span
class="el_class">PropertyDescriptors</span></div><h1>PropertyDescriptors</h1><table
class="coverage" cellspacing="
0" id="coveragetable"><thead><tr><td class="sortable" id="a"
onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b"
onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2"
id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d"
onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e"
onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f"
onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g"
onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h"
onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i"
onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j"
onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k"
onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td
class="bar">3 of 7</td><td class="ctr2">57%</td><td class="bar">0 of 0</td><td
class="ctr2">n/a</td><td class="ctr1">1</td><td
class="ctr2">2</td><td class="ctr1">1</td><td class="ctr2">2</td><td
class="ctr1">1</td><td class="ctr2">2</td></tr></tfoot><tbody><tr><td
id="a0"><a href="PropertyDescriptors.java.html#L22"
class="el_method">PropertyDescriptors()</a></td><td class="bar" id="b0"><img
src="../jacoco-resources/redbar.gif" width="90" height="10" title="3"
alt="3"/></td><td class="ctr2" id="c1">0%</td><td class="bar" id="d0"/><td
class="ctr2" id="e0">n/a</td><td class="ctr1" id="f0">1</td><td class="ctr2"
id="g0">1</td><td class="ctr1" id="h0">1</td><td class="ctr2" id="i0">1</td><td
class="ctr1" id="j0">1</td><td class="ctr2" id="k0">1</td></tr><tr><td
id="a1"><a href="PropertyDescriptors.java.html#L24" class="el_method">static
{...}</a></td><td class="bar" id="b1"><img
src="../jacoco-resources/greenbar.gif" width="120" height="10" title="4"
alt="4"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d1"/><td
class="ctr2" id="e1">n/a</td><td class="ctr1" id="f1">0</td><td class="ctr2"
id="g1">
1</td><td class="ctr1" id="h1">0</td><td class="ctr2" id="i1">1</td><td
class="ctr1" id="j1">0</td><td class="ctr2"
id="k1">1</td></tr></tbody></table><div class="footer"><span
class="right">Created with <a href="http://www.jacoco.org/jacoco">JaCoCo</a>
0.8.12.202403310830</span></div></body></html>
\ No newline at end of file
Modified:
websites/production/commons/content/proper/commons-beanutils/jacoco/org.apache.commons.beanutils2/PropertyDescriptors.java.html
==============================================================================
---
websites/production/commons/content/proper/commons-beanutils/jacoco/org.apache.commons.beanutils2/PropertyDescriptors.java.html
(original)
+++
websites/production/commons/content/proper/commons-beanutils/jacoco/org.apache.commons.beanutils2/PropertyDescriptors.java.html
Tue Jan 7 19:57:26 2025
@@ -21,7 +21,7 @@ import java.beans.PropertyDescriptor;
<span class="nc" id="L22">final class PropertyDescriptors {</span>
-<span class="nc" id="L24"> static final PropertyDescriptor[] EMPTY_ARRAY =
{};</span>
+<span class="fc" id="L24"> static final PropertyDescriptor[] EMPTY_ARRAY =
{};</span>
}
</pre><div class="footer"><span class="right">Created with <a
href="http://www.jacoco.org/jacoco">JaCoCo</a>
0.8.12.202403310830</span></div></body></html>
\ No newline at end of file