commons-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject svn commit: r960538 [16/30] - in /websites/production/commons/content/proper/commons-pool: ./ apidocs/ apidocs/org/apache/commons/pool2/ apidocs/org/apache/commons/pool2/class-use/ apidocs/org/apache/commons/pool2/impl/ apidocs/org/apache/commons/pool2...
Date Sun, 02 Aug 2015 15:46:22 GMT
Modified: websites/production/commons/content/proper/commons-pool/cobertura/org.apache.commons.pool2.impl.PoolImplUtils.html
==============================================================================
--- websites/production/commons/content/proper/commons-pool/cobertura/org.apache.commons.pool2.impl.PoolImplUtils.html
(original)
+++ websites/production/commons/content/proper/commons-pool/cobertura/org.apache.commons.pool2.impl.PoolImplUtils.html
Sun Aug  2 15:46:18 2015
@@ -96,7 +96,7 @@
   <td class="src"><pre class="src">&nbsp;    @SuppressWarnings(<span class="string">"rawtypes"</span>)</pre></td></tr>
 <tr>  <td class="numLine">&nbsp;40</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;    <span class="keyword">static</span>
Class&lt;?&gt; getFactoryType(Class&lt;? <span class="keyword">extends</span>
PooledObjectFactory&gt; factory) {</pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;41</td>  <td class="nbHitsCovered">&nbsp;2</td>
 <td class="src"><pre class="src">&nbsp;        <span class="keyword">return</span>
(Class&lt;?&gt;) getGenericType(PooledObjectFactory.<span class="keyword">class</span>,
factory);</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;41</td>  <td class="nbHitsCovered">&nbsp;4</td>
 <td class="src"><pre class="src">&nbsp;        <span class="keyword">return</span>
(Class&lt;?&gt;) getGenericType(PooledObjectFactory.<span class="keyword">class</span>,
factory);</pre></td></tr>
 <tr>  <td class="numLine">&nbsp;42</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;    }</pre></td></tr>
 <tr>  <td class="numLine">&nbsp;43</td>  <td class="nbHits">&nbsp;</td>
@@ -135,18 +135,18 @@
   <td class="src"><pre class="src">&nbsp;</pre></td></tr>
 <tr>  <td class="numLine">&nbsp;60</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;        <span class="comment">//
Get all the interfaces</span></pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;61</td>  <td class="nbHitsCovered">&nbsp;9</td>
 <td class="src"><pre class="src">&nbsp;        Type[] interfaces = clazz.getGenericInterfaces();</pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;62</td>  <td class="nbHitsCovered"><a
title="Line 62: Conditional coverage 100% (2/2).">&nbsp;9</a></td>  <td
class="src"><pre class="src">&nbsp;<a title="Line 62: Conditional coverage
100% (2/2).">        <span class="keyword">for</span> (Type iface : interfaces)
{</a></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;61</td>  <td class="nbHitsCovered">&nbsp;18</td>
 <td class="src"><pre class="src">&nbsp;        Type[] interfaces = clazz.getGenericInterfaces();</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;62</td>  <td class="nbHitsCovered"><a
title="Line 62: Conditional coverage 100% (2/2).">&nbsp;18</a></td>  <td
class="src"><pre class="src">&nbsp;<a title="Line 62: Conditional coverage
100% (2/2).">        <span class="keyword">for</span> (Type iface : interfaces)
{</a></pre></td></tr>
 <tr>  <td class="numLine">&nbsp;63</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;            <span class="comment">//
Only need to check interfaces that use generics</span></pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;64</td>  <td class="nbHitsUncovered"><a
title="Line 64: Conditional coverage 50% (1/2).">&nbsp;2</a></td>  <td
class="src"><pre class="src"><span class="srcUncovered">&nbsp;<a title="Line
64: Conditional coverage 50% (1/2).">            <span class="keyword">if</span>
(iface <span class="keyword">instanceof</span> ParameterizedType) {</a></span></pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;65</td>  <td class="nbHitsCovered">&nbsp;2</td>
 <td class="src"><pre class="src">&nbsp;                ParameterizedType
pi = (ParameterizedType) iface;</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;64</td>  <td class="nbHitsUncovered"><a
title="Line 64: Conditional coverage 50% (1/2).">&nbsp;4</a></td>  <td
class="src"><pre class="src"><span class="srcUncovered">&nbsp;<a title="Line
64: Conditional coverage 50% (1/2).">            <span class="keyword">if</span>
(iface <span class="keyword">instanceof</span> ParameterizedType) {</a></span></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;65</td>  <td class="nbHitsCovered">&nbsp;4</td>
 <td class="src"><pre class="src">&nbsp;                ParameterizedType
pi = (ParameterizedType) iface;</pre></td></tr>
 <tr>  <td class="numLine">&nbsp;66</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;                <span class="comment">//
Look for the generic interface</span></pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;67</td>  <td class="nbHitsUncovered"><a
title="Line 67: Conditional coverage 50% (1/2).">&nbsp;2</a></td>  <td
class="src"><pre class="src"><span class="srcUncovered">&nbsp;<a title="Line
67: Conditional coverage 50% (1/2).">                <span class="keyword">if</span>
(pi.getRawType() <span class="keyword">instanceof</span> Class) {</a></span></pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;68</td>  <td class="nbHitsUncovered"><a
title="Line 68: Conditional coverage 50% (1/2).">&nbsp;2</a></td>  <td
class="src"><pre class="src"><span class="srcUncovered">&nbsp;<a title="Line
68: Conditional coverage 50% (1/2).">                    <span class="keyword">if</span>
(type.isAssignableFrom((Class&lt;?&gt;) pi.getRawType())) {</a></span></pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;69</td>  <td class="nbHitsCovered">&nbsp;4</td>
 <td class="src"><pre class="src">&nbsp;                        <span class="keyword">return</span>
getTypeParameter(</pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;70</td>  <td class="nbHitsCovered">&nbsp;2</td>
 <td class="src"><pre class="src">&nbsp;                                clazz,
pi.getActualTypeArguments()[0]);</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;67</td>  <td class="nbHitsUncovered"><a
title="Line 67: Conditional coverage 50% (1/2).">&nbsp;4</a></td>  <td
class="src"><pre class="src"><span class="srcUncovered">&nbsp;<a title="Line
67: Conditional coverage 50% (1/2).">                <span class="keyword">if</span>
(pi.getRawType() <span class="keyword">instanceof</span> Class) {</a></span></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;68</td>  <td class="nbHitsUncovered"><a
title="Line 68: Conditional coverage 50% (1/2).">&nbsp;4</a></td>  <td
class="src"><pre class="src"><span class="srcUncovered">&nbsp;<a title="Line
68: Conditional coverage 50% (1/2).">                    <span class="keyword">if</span>
(type.isAssignableFrom((Class&lt;?&gt;) pi.getRawType())) {</a></span></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;69</td>  <td class="nbHitsCovered">&nbsp;8</td>
 <td class="src"><pre class="src">&nbsp;                        <span class="keyword">return</span>
getTypeParameter(</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;70</td>  <td class="nbHitsCovered">&nbsp;4</td>
 <td class="src"><pre class="src">&nbsp;                                clazz,
pi.getActualTypeArguments()[0]);</pre></td></tr>
 <tr>  <td class="numLine">&nbsp;71</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;                    }</pre></td></tr>
 <tr>  <td class="numLine">&nbsp;72</td>  <td class="nbHits">&nbsp;</td>
@@ -161,29 +161,29 @@
   <td class="src"><pre class="src">&nbsp;        <span class="comment">//
Interface not found on this class. Look at the superclass.</span></pre></td></tr>
 <tr>  <td class="numLine">&nbsp;77</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;        @SuppressWarnings(<span
class="string">"unchecked"</span>)</pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;78</td>  <td class="nbHitsCovered">&nbsp;7</td>
 <td class="src"><pre class="src">&nbsp;        Class&lt;? <span class="keyword">extends</span>
T&gt; superClazz =</pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;79</td>  <td class="nbHitsCovered">&nbsp;7</td>
 <td class="src"><pre class="src">&nbsp;                (Class&lt;? <span
class="keyword">extends</span> T&gt;) clazz.getSuperclass();</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;78</td>  <td class="nbHitsCovered">&nbsp;14</td>
 <td class="src"><pre class="src">&nbsp;        Class&lt;? <span class="keyword">extends</span>
T&gt; superClazz =</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;79</td>  <td class="nbHitsCovered">&nbsp;14</td>
 <td class="src"><pre class="src">&nbsp;                (Class&lt;? <span
class="keyword">extends</span> T&gt;) clazz.getSuperclass();</pre></td></tr>
 <tr>  <td class="numLine">&nbsp;80</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;</pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;81</td>  <td class="nbHitsCovered">&nbsp;7</td>
 <td class="src"><pre class="src">&nbsp;        Object result = getGenericType(type,
superClazz);</pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;82</td>  <td class="nbHitsCovered"><a
title="Line 82: Conditional coverage 100% (2/2).">&nbsp;7</a></td>  <td
class="src"><pre class="src">&nbsp;<a title="Line 82: Conditional coverage
100% (2/2).">        <span class="keyword">if</span> (result <span class="keyword">instanceof</span>
Class&lt;?&gt;) {</a></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;81</td>  <td class="nbHitsCovered">&nbsp;14</td>
 <td class="src"><pre class="src">&nbsp;        Object result = getGenericType(type,
superClazz);</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;82</td>  <td class="nbHitsCovered"><a
title="Line 82: Conditional coverage 100% (2/2).">&nbsp;14</a></td>  <td
class="src"><pre class="src">&nbsp;<a title="Line 82: Conditional coverage
100% (2/2).">        <span class="keyword">if</span> (result <span class="keyword">instanceof</span>
Class&lt;?&gt;) {</a></pre></td></tr>
 <tr>  <td class="numLine">&nbsp;83</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;            <span class="comment">//
Superclass implements interface and defines explicit type for</span></pre></td></tr>
 <tr>  <td class="numLine">&nbsp;84</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;            <span class="comment">//
generic</span></pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;85</td>  <td class="nbHitsCovered">&nbsp;1</td>
 <td class="src"><pre class="src">&nbsp;            <span class="keyword">return</span>
result;</pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;86</td>  <td class="nbHitsUncovered"><a
title="Line 86: Conditional coverage 50% (1/2).">&nbsp;6</a></td>  <td
class="src"><pre class="src"><span class="srcUncovered">&nbsp;<a title="Line
86: Conditional coverage 50% (1/2).">        } <span class="keyword">else</span>
<span class="keyword">if</span> (result <span class="keyword">instanceof</span>
Integer) {</a></span></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;85</td>  <td class="nbHitsCovered">&nbsp;2</td>
 <td class="src"><pre class="src">&nbsp;            <span class="keyword">return</span>
result;</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;86</td>  <td class="nbHitsUncovered"><a
title="Line 86: Conditional coverage 50% (1/2).">&nbsp;12</a></td>  <td
class="src"><pre class="src"><span class="srcUncovered">&nbsp;<a title="Line
86: Conditional coverage 50% (1/2).">        } <span class="keyword">else</span>
<span class="keyword">if</span> (result <span class="keyword">instanceof</span>
Integer) {</a></span></pre></td></tr>
 <tr>  <td class="numLine">&nbsp;87</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;            <span class="comment">//
Superclass implements interface and defines unknown type for</span></pre></td></tr>
 <tr>  <td class="numLine">&nbsp;88</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;            <span class="comment">//
generic</span></pre></td></tr>
 <tr>  <td class="numLine">&nbsp;89</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;            <span class="comment">//
Map that unknown type to the generic types defined in this class</span></pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;90</td>  <td class="nbHitsCovered">&nbsp;6</td>
 <td class="src"><pre class="src">&nbsp;            ParameterizedType superClassType
=</pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;91</td>  <td class="nbHitsCovered">&nbsp;6</td>
 <td class="src"><pre class="src">&nbsp;                    (ParameterizedType)
clazz.getGenericSuperclass();</pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;92</td>  <td class="nbHitsCovered">&nbsp;12</td>
 <td class="src"><pre class="src">&nbsp;            <span class="keyword">return</span>
getTypeParameter(clazz,</pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;93</td>  <td class="nbHitsCovered">&nbsp;6</td>
 <td class="src"><pre class="src">&nbsp;                    superClassType.getActualTypeArguments()[</pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;94</td>  <td class="nbHitsCovered">&nbsp;6</td>
 <td class="src"><pre class="src">&nbsp;                            ((Integer)
result).intValue()]);</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;90</td>  <td class="nbHitsCovered">&nbsp;12</td>
 <td class="src"><pre class="src">&nbsp;            ParameterizedType superClassType
=</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;91</td>  <td class="nbHitsCovered">&nbsp;12</td>
 <td class="src"><pre class="src">&nbsp;                    (ParameterizedType)
clazz.getGenericSuperclass();</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;92</td>  <td class="nbHitsCovered">&nbsp;24</td>
 <td class="src"><pre class="src">&nbsp;            <span class="keyword">return</span>
getTypeParameter(clazz,</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;93</td>  <td class="nbHitsCovered">&nbsp;12</td>
 <td class="src"><pre class="src">&nbsp;                    superClassType.getActualTypeArguments()[</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;94</td>  <td class="nbHitsCovered">&nbsp;12</td>
 <td class="src"><pre class="src">&nbsp;                            ((Integer)
result).intValue()]);</pre></td></tr>
 <tr>  <td class="numLine">&nbsp;95</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;        } <span class="keyword">else</span>
{</pre></td></tr>
 <tr>  <td class="numLine">&nbsp;96</td>  <td class="nbHits">&nbsp;</td>
@@ -221,14 +221,14 @@
   <td class="src"><pre class="src">&nbsp;<span class="comment">   
 */</span></pre></td></tr>
 <tr>  <td class="numLine">&nbsp;113</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;    <span class="keyword">private</span>
<span class="keyword">static</span> Object getTypeParameter(Class&lt;?&gt;
clazz, Type argType) {</pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;114</td>  <td class="nbHitsCovered"><a
title="Line 114: Conditional coverage 100% (2/2).">&nbsp;8</a></td>  <td
class="src"><pre class="src">&nbsp;<a title="Line 114: Conditional coverage
100% (2/2).">        <span class="keyword">if</span> (argType <span class="keyword">instanceof</span>
Class&lt;?&gt;) {</a></pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;115</td>  <td class="nbHitsCovered">&nbsp;2</td>
 <td class="src"><pre class="src">&nbsp;            <span class="keyword">return</span>
argType;</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;114</td>  <td class="nbHitsCovered"><a
title="Line 114: Conditional coverage 100% (2/2).">&nbsp;16</a></td>  <td
class="src"><pre class="src">&nbsp;<a title="Line 114: Conditional coverage
100% (2/2).">        <span class="keyword">if</span> (argType <span class="keyword">instanceof</span>
Class&lt;?&gt;) {</a></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;115</td>  <td class="nbHitsCovered">&nbsp;4</td>
 <td class="src"><pre class="src">&nbsp;            <span class="keyword">return</span>
argType;</pre></td></tr>
 <tr>  <td class="numLine">&nbsp;116</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;        } <span class="keyword">else</span>
{</pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;117</td>  <td class="nbHitsCovered">&nbsp;6</td>
 <td class="src"><pre class="src">&nbsp;            TypeVariable&lt;?&gt;[]
tvs = clazz.getTypeParameters();</pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;118</td>  <td class="nbHitsUncovered"><a
title="Line 118: Conditional coverage 50% (1/2).">&nbsp;7</a></td>  <td
class="src"><pre class="src"><span class="srcUncovered">&nbsp;<a title="Line
118: Conditional coverage 50% (1/2).">            <span class="keyword">for</span>
(<span class="keyword">int</span> i = 0; i &lt; tvs.length; i++) {</a></span></pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;119</td>  <td class="nbHitsCovered"><a
title="Line 119: Conditional coverage 100% (2/2).">&nbsp;7</a></td>  <td
class="src"><pre class="src">&nbsp;<a title="Line 119: Conditional coverage
100% (2/2).">                <span class="keyword">if</span> (tvs[i].equals(argType))
{</a></pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;120</td>  <td class="nbHitsCovered">&nbsp;6</td>
 <td class="src"><pre class="src">&nbsp;                    <span class="keyword">return</span>
Integer.valueOf(i);</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;117</td>  <td class="nbHitsCovered">&nbsp;12</td>
 <td class="src"><pre class="src">&nbsp;            TypeVariable&lt;?&gt;[]
tvs = clazz.getTypeParameters();</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;118</td>  <td class="nbHitsUncovered"><a
title="Line 118: Conditional coverage 50% (1/2).">&nbsp;14</a></td>  <td
class="src"><pre class="src"><span class="srcUncovered">&nbsp;<a title="Line
118: Conditional coverage 50% (1/2).">            <span class="keyword">for</span>
(<span class="keyword">int</span> i = 0; i &lt; tvs.length; i++) {</a></span></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;119</td>  <td class="nbHitsCovered"><a
title="Line 119: Conditional coverage 100% (2/2).">&nbsp;14</a></td>  <td
class="src"><pre class="src">&nbsp;<a title="Line 119: Conditional coverage
100% (2/2).">                <span class="keyword">if</span> (tvs[i].equals(argType))
{</a></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;120</td>  <td class="nbHitsCovered">&nbsp;12</td>
 <td class="src"><pre class="src">&nbsp;                    <span class="keyword">return</span>
Integer.valueOf(i);</pre></td></tr>
 <tr>  <td class="numLine">&nbsp;121</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;                }</pre></td></tr>
 <tr>  <td class="numLine">&nbsp;122</td>  <td class="nbHits">&nbsp;</td>
@@ -242,6 +242,6 @@
   <td class="src"><pre class="src">&nbsp;}</pre></td></tr>
 </table>
 
-<div class="footer">Report generated by <a href="http://cobertura.sourceforge.net/"
target="_top">Cobertura</a> 2.0.3 on 5/31/15 3:19 PM.</div>
+<div class="footer">Report generated by <a href="http://cobertura.sourceforge.net/"
target="_top">Cobertura</a> 2.0.3 on 8/2/15 8:45 AM.</div>
 </body>
 </html>
\ No newline at end of file

Modified: websites/production/commons/content/proper/commons-pool/cobertura/org.apache.commons.pool2.impl.PooledSoftReference.html
==============================================================================
--- websites/production/commons/content/proper/commons-pool/cobertura/org.apache.commons.pool2.impl.PooledSoftReference.html
(original)
+++ websites/production/commons/content/proper/commons-pool/cobertura/org.apache.commons.pool2.impl.PooledSoftReference.html
Sun Aug  2 15:46:18 2015
@@ -103,9 +103,9 @@
   <td class="src"><pre class="src">&nbsp;<span class="comment">   
 */</span></pre></td></tr>
 <tr>  <td class="numLine">&nbsp;43</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;    <span class="keyword">public</span>
PooledSoftReference(SoftReference&lt;T&gt; reference) {</pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;44</td>  <td class="nbHitsCovered">&nbsp;53</td>
 <td class="src"><pre class="src">&nbsp;        <span class="keyword">super</span>(<span
class="keyword">null</span>);  <span class="comment">// Null the hard reference
in the parent</span></pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;45</td>  <td class="nbHitsCovered">&nbsp;53</td>
 <td class="src"><pre class="src">&nbsp;        <span class="keyword">this</span>.reference
= reference;</pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;46</td>  <td class="nbHitsCovered">&nbsp;53</td>
 <td class="src"><pre class="src">&nbsp;    }</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;44</td>  <td class="nbHitsCovered">&nbsp;106</td>
 <td class="src"><pre class="src">&nbsp;        <span class="keyword">super</span>(<span
class="keyword">null</span>);  <span class="comment">// Null the hard reference
in the parent</span></pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;45</td>  <td class="nbHitsCovered">&nbsp;106</td>
 <td class="src"><pre class="src">&nbsp;        <span class="keyword">this</span>.reference
= reference;</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;46</td>  <td class="nbHitsCovered">&nbsp;106</td>
 <td class="src"><pre class="src">&nbsp;    }</pre></td></tr>
 <tr>  <td class="numLine">&nbsp;47</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;</pre></td></tr>
 <tr>  <td class="numLine">&nbsp;48</td>  <td class="nbHits">&nbsp;</td>
@@ -128,7 +128,7 @@
   <td class="src"><pre class="src">&nbsp;    @Override</pre></td></tr>
 <tr>  <td class="numLine">&nbsp;57</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;    <span class="keyword">public</span>
T getObject() {</pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;58</td>  <td class="nbHitsCovered">&nbsp;221</td>
 <td class="src"><pre class="src">&nbsp;        <span class="keyword">return</span>
reference.get();</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;58</td>  <td class="nbHitsCovered">&nbsp;442</td>
 <td class="src"><pre class="src">&nbsp;        <span class="keyword">return</span>
reference.get();</pre></td></tr>
 <tr>  <td class="numLine">&nbsp;59</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;    }</pre></td></tr>
 <tr>  <td class="numLine">&nbsp;60</td>  <td class="nbHits">&nbsp;</td>
@@ -143,14 +143,14 @@
   <td class="src"><pre class="src">&nbsp;    @Override</pre></td></tr>
 <tr>  <td class="numLine">&nbsp;65</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;    <span class="keyword">public</span>
String toString() {</pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;66</td>  <td class="nbHitsCovered">&nbsp;1</td>
 <td class="src"><pre class="src">&nbsp;        StringBuilder result = <span
class="keyword">new</span> StringBuilder();</pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;67</td>  <td class="nbHitsCovered">&nbsp;1</td>
 <td class="src"><pre class="src">&nbsp;        result.append(<span class="string">"Referenced
Object: "</span>);</pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;68</td>  <td class="nbHitsCovered">&nbsp;1</td>
 <td class="src"><pre class="src">&nbsp;        result.append(getObject().toString());</pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;69</td>  <td class="nbHitsCovered">&nbsp;1</td>
 <td class="src"><pre class="src">&nbsp;        result.append(<span class="string">",
State: "</span>);</pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;70</td>  <td class="nbHitsCovered">&nbsp;1</td>
 <td class="src"><pre class="src">&nbsp;        <span class="keyword">synchronized</span>
(<span class="keyword">this</span>) {</pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;71</td>  <td class="nbHitsCovered">&nbsp;1</td>
 <td class="src"><pre class="src">&nbsp;            result.append(getState().toString());</pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;72</td>  <td class="nbHitsCovered">&nbsp;1</td>
 <td class="src"><pre class="src">&nbsp;        }</pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;73</td>  <td class="nbHitsCovered">&nbsp;1</td>
 <td class="src"><pre class="src">&nbsp;        <span class="keyword">return</span>
result.toString();</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;66</td>  <td class="nbHitsCovered">&nbsp;2</td>
 <td class="src"><pre class="src">&nbsp;        StringBuilder result = <span
class="keyword">new</span> StringBuilder();</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;67</td>  <td class="nbHitsCovered">&nbsp;2</td>
 <td class="src"><pre class="src">&nbsp;        result.append(<span class="string">"Referenced
Object: "</span>);</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;68</td>  <td class="nbHitsCovered">&nbsp;2</td>
 <td class="src"><pre class="src">&nbsp;        result.append(getObject().toString());</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;69</td>  <td class="nbHitsCovered">&nbsp;2</td>
 <td class="src"><pre class="src">&nbsp;        result.append(<span class="string">",
State: "</span>);</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;70</td>  <td class="nbHitsCovered">&nbsp;2</td>
 <td class="src"><pre class="src">&nbsp;        <span class="keyword">synchronized</span>
(<span class="keyword">this</span>) {</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;71</td>  <td class="nbHitsCovered">&nbsp;2</td>
 <td class="src"><pre class="src">&nbsp;            result.append(getState().toString());</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;72</td>  <td class="nbHitsCovered">&nbsp;2</td>
 <td class="src"><pre class="src">&nbsp;        }</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;73</td>  <td class="nbHitsCovered">&nbsp;2</td>
 <td class="src"><pre class="src">&nbsp;        <span class="keyword">return</span>
result.toString();</pre></td></tr>
 <tr>  <td class="numLine">&nbsp;74</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;        <span class="comment">//
TODO add other attributes</span></pre></td></tr>
 <tr>  <td class="numLine">&nbsp;75</td>  <td class="nbHits">&nbsp;</td>
@@ -171,7 +171,7 @@
   <td class="src"><pre class="src">&nbsp;<span class="comment">   
 */</span></pre></td></tr>
 <tr>  <td class="numLine">&nbsp;83</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;    <span class="keyword">public</span>
<span class="keyword">synchronized</span> SoftReference&lt;T&gt; getReference()
{</pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;84</td>  <td class="nbHitsCovered">&nbsp;266</td>
 <td class="src"><pre class="src">&nbsp;        <span class="keyword">return</span>
reference;</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;84</td>  <td class="nbHitsCovered">&nbsp;532</td>
 <td class="src"><pre class="src">&nbsp;        <span class="keyword">return</span>
reference;</pre></td></tr>
 <tr>  <td class="numLine">&nbsp;85</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;    }</pre></td></tr>
 <tr>  <td class="numLine">&nbsp;86</td>  <td class="nbHits">&nbsp;</td>
@@ -198,12 +198,12 @@
   <td class="src"><pre class="src">&nbsp;<span class="comment">   
 */</span></pre></td></tr>
 <tr>  <td class="numLine">&nbsp;97</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;    <span class="keyword">public</span>
<span class="keyword">synchronized</span> <span class="keyword">void</span>
setReference(SoftReference&lt;T&gt; reference) {</pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;98</td>  <td class="nbHitsCovered">&nbsp;11</td>
 <td class="src"><pre class="src">&nbsp;        <span class="keyword">this</span>.reference
= reference;</pre></td></tr>
-<tr>  <td class="numLineCover">&nbsp;99</td>  <td class="nbHitsCovered">&nbsp;11</td>
 <td class="src"><pre class="src">&nbsp;    }</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;98</td>  <td class="nbHitsCovered">&nbsp;22</td>
 <td class="src"><pre class="src">&nbsp;        <span class="keyword">this</span>.reference
= reference;</pre></td></tr>
+<tr>  <td class="numLineCover">&nbsp;99</td>  <td class="nbHitsCovered">&nbsp;22</td>
 <td class="src"><pre class="src">&nbsp;    }</pre></td></tr>
 <tr>  <td class="numLine">&nbsp;100</td>  <td class="nbHits">&nbsp;</td>
   <td class="src"><pre class="src">&nbsp;}</pre></td></tr>
 </table>
 
-<div class="footer">Report generated by <a href="http://cobertura.sourceforge.net/"
target="_top">Cobertura</a> 2.0.3 on 5/31/15 3:19 PM.</div>
+<div class="footer">Report generated by <a href="http://cobertura.sourceforge.net/"
target="_top">Cobertura</a> 2.0.3 on 8/2/15 8:45 AM.</div>
 </body>
 </html>
\ No newline at end of file



Mime
View raw message