commons-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chtom...@apache.org
Subject svn commit: r1012767 [23/39] - in /websites/production/commons/content/proper/commons-text: ./ apidocs/ apidocs/org/apache/commons/text/ apidocs/org/apache/commons/text/class-use/ apidocs/org/apache/commons/text/diff/ apidocs/org/apache/commons/text/di...
Date Tue, 23 May 2017 13:12:45 GMT
Modified: websites/production/commons/content/proper/commons-text/jacoco/org.apache.commons.text/StrBuilder.java.html
==============================================================================
--- websites/production/commons/content/proper/commons-text/jacoco/org.apache.commons.text/StrBuilder.java.html
(original)
+++ websites/production/commons/content/proper/commons-text/jacoco/org.apache.commons.text/StrBuilder.java.html
Tue May 23 13:12:41 2017
@@ -472,7 +472,7 @@ public class StrBuilder implements CharS
      */
     public StrBuilder appendNewLine() {
 <span class="fc bfc" id="L474" title="All 2 branches covered.">        if (newLine
== null)  {</span>
-<span class="fc" id="L475">            append(System.getProperty(&quot;line.separator&quot;));</span>
+<span class="fc" id="L475">            append(System.lineSeparator());</span>
 <span class="fc" id="L476">            return this;</span>
         }
 <span class="fc" id="L478">        return append(newLine);</span>
@@ -2615,7 +2615,7 @@ public class StrBuilder implements CharS
      * changed on the tokenizer class, before retrieving the tokens.
      * &lt;p&gt;
      * The returned tokenizer is linked to this builder. You may intermix
-     * calls to the buider and tokenizer within certain limits, however
+     * calls to the builder and tokenizer within certain limits, however
      * there is no synchronization. Once the tokenizer has been used once,
      * it must be {@link StrTokenizer#reset() reset} to pickup the latest
      * changes in the builder. For example:
@@ -2716,37 +2716,6 @@ public class StrBuilder implements CharS
         }
 <span class="fc" id="L2717">    }</span>
 
-    //-----------------------------------------------------------------------
-//    /**
-//     * Gets a String version of the string builder by calling the internal
-//     * constructor of String by reflection.
-//     * &lt;p&gt;
-//     * WARNING: You must not use the StrBuilder after calling this method
-//     * as the buffer is now shared with the String object. To ensure this,
-//     * the internal character array is set to null, so you will get
-//     * NullPointerExceptions on all method calls.
-//     *
-//     * @return the builder as a String
-//     */
-//    public String toSharedString() {
-//        try {
-//            Constructor con = String.class.getDeclaredConstructor(
-//                new Class[] {int.class, int.class, char[].class});
-//            con.setAccessible(true);
-//            char[] buffer = buf;
-//            buf = null;
-//            size = -1;
-//            nullText = null;
-//            return (String) con.newInstance(
-//                new Object[] {Integer.valueOf(0), Integer.valueOf(size), buffer});
-//
-//        } catch (Exception ex) {
-//            ex.printStackTrace();
-//            throw new UnsupportedOperationException(&quot;StrBuilder.toSharedString
is unsupported: &quot; + ex.getMessage());
-//        }
-//    }
-
-    //-----------------------------------------------------------------------
     /**
      * Checks the contents of this builder against another to see if they
      * contain the same character content ignoring case.
@@ -2755,22 +2724,22 @@ public class StrBuilder implements CharS
      * @return true if the builders contain the same characters in the same order
      */
     public boolean equalsIgnoreCase(final StrBuilder other) {
-<span class="fc bfc" id="L2758" title="All 2 branches covered.">        if (this ==
other) {</span>
-<span class="fc" id="L2759">            return true;</span>
+<span class="fc bfc" id="L2727" title="All 2 branches covered.">        if (this ==
other) {</span>
+<span class="fc" id="L2728">            return true;</span>
         }
-<span class="fc bfc" id="L2761" title="All 2 branches covered.">        if (this.size
!= other.size) {</span>
-<span class="fc" id="L2762">            return false;</span>
+<span class="fc bfc" id="L2730" title="All 2 branches covered.">        if (this.size
!= other.size) {</span>
+<span class="fc" id="L2731">            return false;</span>
         }
-<span class="fc" id="L2764">        final char[] thisBuf = this.buffer;</span>
-<span class="fc" id="L2765">        final char[] otherBuf = other.buffer;</span>
-<span class="fc bfc" id="L2766" title="All 2 branches covered.">        for (int i
= size - 1; i &gt;= 0; i--) {</span>
-<span class="fc" id="L2767">            final char c1 = thisBuf[i];</span>
-<span class="fc" id="L2768">            final char c2 = otherBuf[i];</span>
-<span class="pc bpc" id="L2769" title="1 of 4 branches missed.">            if (c1
!= c2 &amp;&amp; Character.toUpperCase(c1) != Character.toUpperCase(c2)) {</span>
-<span class="nc" id="L2770">                return false;</span>
+<span class="fc" id="L2733">        final char[] thisBuf = this.buffer;</span>
+<span class="fc" id="L2734">        final char[] otherBuf = other.buffer;</span>
+<span class="fc bfc" id="L2735" title="All 2 branches covered.">        for (int i
= size - 1; i &gt;= 0; i--) {</span>
+<span class="fc" id="L2736">            final char c1 = thisBuf[i];</span>
+<span class="fc" id="L2737">            final char c2 = otherBuf[i];</span>
+<span class="pc bpc" id="L2738" title="1 of 4 branches missed.">            if (c1
!= c2 &amp;&amp; Character.toUpperCase(c1) != Character.toUpperCase(c2)) {</span>
+<span class="nc" id="L2739">                return false;</span>
             }
         }
-<span class="fc" id="L2773">        return true;</span>
+<span class="fc" id="L2742">        return true;</span>
     }
 
     /**
@@ -2781,23 +2750,23 @@ public class StrBuilder implements CharS
      * @return true if the builders contain the same characters in the same order
      */
     public boolean equals(final StrBuilder other) {
-<span class="fc bfc" id="L2784" title="All 2 branches covered.">        if (this ==
other) {</span>
-<span class="fc" id="L2785">            return true;</span>
+<span class="fc bfc" id="L2753" title="All 2 branches covered.">        if (this ==
other) {</span>
+<span class="fc" id="L2754">            return true;</span>
         }
-<span class="fc bfc" id="L2787" title="All 2 branches covered.">        if (other ==
null) {</span>
-<span class="fc" id="L2788">            return false;</span>
+<span class="fc bfc" id="L2756" title="All 2 branches covered.">        if (other ==
null) {</span>
+<span class="fc" id="L2757">            return false;</span>
         }
-<span class="fc bfc" id="L2790" title="All 2 branches covered.">        if (this.size
!= other.size) {</span>
-<span class="fc" id="L2791">            return false;</span>
+<span class="fc bfc" id="L2759" title="All 2 branches covered.">        if (this.size
!= other.size) {</span>
+<span class="fc" id="L2760">            return false;</span>
         }
-<span class="fc" id="L2793">        final char[] thisBuf = this.buffer;</span>
-<span class="fc" id="L2794">        final char[] otherBuf = other.buffer;</span>
-<span class="fc bfc" id="L2795" title="All 2 branches covered.">        for (int i
= size - 1; i &gt;= 0; i--) {</span>
-<span class="fc bfc" id="L2796" title="All 2 branches covered.">            if (thisBuf[i]
!= otherBuf[i]) {</span>
-<span class="fc" id="L2797">                return false;</span>
+<span class="fc" id="L2762">        final char[] thisBuf = this.buffer;</span>
+<span class="fc" id="L2763">        final char[] otherBuf = other.buffer;</span>
+<span class="fc bfc" id="L2764" title="All 2 branches covered.">        for (int i
= size - 1; i &gt;= 0; i--) {</span>
+<span class="fc bfc" id="L2765" title="All 2 branches covered.">            if (thisBuf[i]
!= otherBuf[i]) {</span>
+<span class="fc" id="L2766">                return false;</span>
             }
         }
-<span class="fc" id="L2800">        return true;</span>
+<span class="fc" id="L2769">        return true;</span>
     }
 
     /**
@@ -2809,8 +2778,8 @@ public class StrBuilder implements CharS
      */
     @Override
     public boolean equals(final Object obj) {
-<span class="fc bfc" id="L2812" title="All 2 branches covered.">        return obj
instanceof StrBuilder</span>
-<span class="fc bfc" id="L2813" title="All 2 branches covered.">                &amp;&amp;
equals((StrBuilder) obj);</span>
+<span class="fc bfc" id="L2781" title="All 2 branches covered.">        return obj
instanceof StrBuilder</span>
+<span class="fc bfc" id="L2782" title="All 2 branches covered.">                &amp;&amp;
equals((StrBuilder) obj);</span>
     }
 
     /**
@@ -2820,12 +2789,12 @@ public class StrBuilder implements CharS
      */
     @Override
     public int hashCode() {
-<span class="fc" id="L2823">        final char[] buf = buffer;</span>
-<span class="fc" id="L2824">        int hash = 0;</span>
-<span class="fc bfc" id="L2825" title="All 2 branches covered.">        for (int i
= size - 1; i &gt;= 0; i--) {</span>
-<span class="fc" id="L2826">            hash = 31 * hash + buf[i];</span>
+<span class="fc" id="L2792">        final char[] buf = buffer;</span>
+<span class="fc" id="L2793">        int hash = 0;</span>
+<span class="fc bfc" id="L2794" title="All 2 branches covered.">        for (int i
= size - 1; i &gt;= 0; i--) {</span>
+<span class="fc" id="L2795">            hash = 31 * hash + buf[i];</span>
         }
-<span class="fc" id="L2828">        return hash;</span>
+<span class="fc" id="L2797">        return hash;</span>
     }
 
     //-----------------------------------------------------------------------
@@ -2840,7 +2809,7 @@ public class StrBuilder implements CharS
      */
     @Override
     public String toString() {
-<span class="fc" id="L2843">        return new String(buffer, 0, size);</span>
+<span class="fc" id="L2812">        return new String(buffer, 0, size);</span>
     }
 
     /**
@@ -2850,7 +2819,7 @@ public class StrBuilder implements CharS
      * @return the builder as a StringBuffer
      */
     public StringBuffer toStringBuffer() {
-<span class="fc" id="L2853">        return new StringBuffer(size).append(buffer, 0,
size);</span>
+<span class="fc" id="L2822">        return new StringBuffer(size).append(buffer, 0,
size);</span>
     }
 
     /**
@@ -2860,7 +2829,7 @@ public class StrBuilder implements CharS
      * @return the builder as a StringBuilder
      */
     public StringBuilder toStringBuilder() {
-<span class="fc" id="L2863">        return new StringBuilder(size).append(buffer, 0,
size);</span>
+<span class="fc" id="L2832">        return new StringBuilder(size).append(buffer, 0,
size);</span>
     }
 
     /**
@@ -2870,7 +2839,7 @@ public class StrBuilder implements CharS
      */
     @Override
     public String build() {
-<span class="fc" id="L2873">        return toString();</span>
+<span class="fc" id="L2842">        return toString();</span>
     }
 
     //-----------------------------------------------------------------------
@@ -2884,16 +2853,16 @@ public class StrBuilder implements CharS
      * @throws IndexOutOfBoundsException if the index is invalid
      */
     protected int validateRange(final int startIndex, int endIndex) {
-<span class="fc bfc" id="L2887" title="All 2 branches covered.">        if (startIndex
&lt; 0) {</span>
-<span class="fc" id="L2888">            throw new StringIndexOutOfBoundsException(startIndex);</span>
+<span class="fc bfc" id="L2856" title="All 2 branches covered.">        if (startIndex
&lt; 0) {</span>
+<span class="fc" id="L2857">            throw new StringIndexOutOfBoundsException(startIndex);</span>
         }
-<span class="fc bfc" id="L2890" title="All 2 branches covered.">        if (endIndex
&gt; size) {</span>
-<span class="fc" id="L2891">            endIndex = size;</span>
+<span class="fc bfc" id="L2859" title="All 2 branches covered.">        if (endIndex
&gt; size) {</span>
+<span class="fc" id="L2860">            endIndex = size;</span>
         }
-<span class="fc bfc" id="L2893" title="All 2 branches covered.">        if (startIndex
&gt; endIndex) {</span>
-<span class="fc" id="L2894">            throw new StringIndexOutOfBoundsException(&quot;end
&lt; start&quot;);</span>
+<span class="fc bfc" id="L2862" title="All 2 branches covered.">        if (startIndex
&gt; endIndex) {</span>
+<span class="fc" id="L2863">            throw new StringIndexOutOfBoundsException(&quot;end
&lt; start&quot;);</span>
         }
-<span class="fc" id="L2896">        return endIndex;</span>
+<span class="fc" id="L2865">        return endIndex;</span>
     }
 
     /**
@@ -2903,10 +2872,10 @@ public class StrBuilder implements CharS
      * @throws IndexOutOfBoundsException if the index is invalid
      */
     protected void validateIndex(final int index) {
-<span class="fc bfc" id="L2906" title="All 4 branches covered.">        if (index &lt;
0 || index &gt; size) {</span>
-<span class="fc" id="L2907">            throw new StringIndexOutOfBoundsException(index);</span>
+<span class="fc bfc" id="L2875" title="All 4 branches covered.">        if (index &lt;
0 || index &gt; size) {</span>
+<span class="fc" id="L2876">            throw new StringIndexOutOfBoundsException(index);</span>
         }
-<span class="fc" id="L2909">    }</span>
+<span class="fc" id="L2878">    }</span>
 
     //-----------------------------------------------------------------------
     /**
@@ -2917,28 +2886,28 @@ public class StrBuilder implements CharS
         /**
          * Default constructor.
          */
-<span class="fc" id="L2920">        StrBuilderTokenizer() {</span>
-<span class="fc" id="L2921">            super();</span>
-<span class="fc" id="L2922">        }</span>
+<span class="fc" id="L2889">        StrBuilderTokenizer() {</span>
+<span class="fc" id="L2890">            super();</span>
+<span class="fc" id="L2891">        }</span>
 
         /** {@inheritDoc} */
         @Override
         protected List&lt;String&gt; tokenize(final char[] chars, final int offset,
final int count) {
-<span class="pc bpc" id="L2927" title="1 of 2 branches missed.">            if (chars
== null) {</span>
-<span class="fc" id="L2928">                return super.tokenize(</span>
-<span class="fc" id="L2929">                        StrBuilder.this.buffer, 0, StrBuilder.this.size());</span>
+<span class="pc bpc" id="L2896" title="1 of 2 branches missed.">            if (chars
== null) {</span>
+<span class="fc" id="L2897">                return super.tokenize(</span>
+<span class="fc" id="L2898">                        StrBuilder.this.buffer, 0, StrBuilder.this.size());</span>
             }
-<span class="nc" id="L2931">            return super.tokenize(chars, offset, count);</span>
+<span class="nc" id="L2900">            return super.tokenize(chars, offset, count);</span>
         }
 
         /** {@inheritDoc} */
         @Override
         public String getContent() {
-<span class="fc" id="L2937">            final String str = super.getContent();</span>
-<span class="pc bpc" id="L2938" title="1 of 2 branches missed.">            if (str
== null) {</span>
-<span class="fc" id="L2939">                return StrBuilder.this.toString();</span>
+<span class="fc" id="L2906">            final String str = super.getContent();</span>
+<span class="pc bpc" id="L2907" title="1 of 2 branches missed.">            if (str
== null) {</span>
+<span class="fc" id="L2908">                return StrBuilder.this.toString();</span>
             }
-<span class="nc" id="L2941">            return str;</span>
+<span class="nc" id="L2910">            return str;</span>
         }
     }
 
@@ -2955,82 +2924,82 @@ public class StrBuilder implements CharS
         /**
          * Default constructor.
          */
-<span class="fc" id="L2958">        StrBuilderReader() {</span>
-<span class="fc" id="L2959">            super();</span>
-<span class="fc" id="L2960">        }</span>
+<span class="fc" id="L2927">        StrBuilderReader() {</span>
+<span class="fc" id="L2928">            super();</span>
+<span class="fc" id="L2929">        }</span>
 
         /** {@inheritDoc} */
         @Override
         public void close() {
             // do nothing
-<span class="fc" id="L2966">        }</span>
+<span class="fc" id="L2935">        }</span>
 
         /** {@inheritDoc} */
         @Override
         public int read() {
-<span class="fc bfc" id="L2971" title="All 2 branches covered.">            if (!ready())
{</span>
-<span class="fc" id="L2972">                return -1;</span>
+<span class="fc bfc" id="L2940" title="All 2 branches covered.">            if (!ready())
{</span>
+<span class="fc" id="L2941">                return -1;</span>
             }
-<span class="fc" id="L2974">            return StrBuilder.this.charAt(pos++);</span>
+<span class="fc" id="L2943">            return StrBuilder.this.charAt(pos++);</span>
         }
 
         /** {@inheritDoc} */
         @Override
         public int read(final char[] b, final int off, int len) {
-<span class="pc bpc" id="L2980" title="1 of 10 branches missed.">            if (off
&lt; 0 || len &lt; 0 || off &gt; b.length</span>
+<span class="pc bpc" id="L2949" title="1 of 10 branches missed.">            if (off
&lt; 0 || len &lt; 0 || off &gt; b.length</span>
                     || (off + len) &gt; b.length || (off + len) &lt; 0) {
-<span class="fc" id="L2982">                throw new IndexOutOfBoundsException();</span>
+<span class="fc" id="L2951">                throw new IndexOutOfBoundsException();</span>
             }
-<span class="fc bfc" id="L2984" title="All 2 branches covered.">            if (len
== 0) {</span>
-<span class="fc" id="L2985">                return 0;</span>
+<span class="fc bfc" id="L2953" title="All 2 branches covered.">            if (len
== 0) {</span>
+<span class="fc" id="L2954">                return 0;</span>
             }
-<span class="fc bfc" id="L2987" title="All 2 branches covered.">            if (pos
&gt;= StrBuilder.this.size()) {</span>
-<span class="fc" id="L2988">                return -1;</span>
+<span class="fc bfc" id="L2956" title="All 2 branches covered.">            if (pos
&gt;= StrBuilder.this.size()) {</span>
+<span class="fc" id="L2957">                return -1;</span>
             }
-<span class="fc bfc" id="L2990" title="All 2 branches covered.">            if (pos
+ len &gt; size()) {</span>
-<span class="fc" id="L2991">                len = StrBuilder.this.size() - pos;</span>
+<span class="fc bfc" id="L2959" title="All 2 branches covered.">            if (pos
+ len &gt; size()) {</span>
+<span class="fc" id="L2960">                len = StrBuilder.this.size() - pos;</span>
             }
-<span class="fc" id="L2993">            StrBuilder.this.getChars(pos, pos + len, b,
off);</span>
-<span class="fc" id="L2994">            pos += len;</span>
-<span class="fc" id="L2995">            return len;</span>
+<span class="fc" id="L2962">            StrBuilder.this.getChars(pos, pos + len, b,
off);</span>
+<span class="fc" id="L2963">            pos += len;</span>
+<span class="fc" id="L2964">            return len;</span>
         }
 
         /** {@inheritDoc} */
         @Override
         public long skip(long n) {
-<span class="fc bfc" id="L3001" title="All 2 branches covered.">            if (pos
+ n &gt; StrBuilder.this.size()) {</span>
-<span class="fc" id="L3002">                n = StrBuilder.this.size() - pos;</span>
+<span class="fc bfc" id="L2970" title="All 2 branches covered.">            if (pos
+ n &gt; StrBuilder.this.size()) {</span>
+<span class="fc" id="L2971">                n = StrBuilder.this.size() - pos;</span>
             }
-<span class="fc bfc" id="L3004" title="All 2 branches covered.">            if (n &lt;
0) {</span>
-<span class="fc" id="L3005">                return 0;</span>
+<span class="fc bfc" id="L2973" title="All 2 branches covered.">            if (n &lt;
0) {</span>
+<span class="fc" id="L2974">                return 0;</span>
             }
-<span class="fc" id="L3007">            pos += n;</span>
-<span class="fc" id="L3008">            return n;</span>
+<span class="fc" id="L2976">            pos += n;</span>
+<span class="fc" id="L2977">            return n;</span>
         }
 
         /** {@inheritDoc} */
         @Override
         public boolean ready() {
-<span class="fc bfc" id="L3014" title="All 2 branches covered.">            return
pos &lt; StrBuilder.this.size();</span>
+<span class="fc bfc" id="L2983" title="All 2 branches covered.">            return
pos &lt; StrBuilder.this.size();</span>
         }
 
         /** {@inheritDoc} */
         @Override
         public boolean markSupported() {
-<span class="fc" id="L3020">            return true;</span>
+<span class="fc" id="L2989">            return true;</span>
         }
 
         /** {@inheritDoc} */
         @Override
         public void mark(final int readAheadLimit) {
-<span class="fc" id="L3026">            mark = pos;</span>
-<span class="fc" id="L3027">        }</span>
+<span class="fc" id="L2995">            mark = pos;</span>
+<span class="fc" id="L2996">        }</span>
 
         /** {@inheritDoc} */
         @Override
         public void reset() {
-<span class="fc" id="L3032">            pos = mark;</span>
-<span class="fc" id="L3033">        }</span>
+<span class="fc" id="L3001">            pos = mark;</span>
+<span class="fc" id="L3002">        }</span>
     }
 
     //-----------------------------------------------------------------------
@@ -3042,51 +3011,51 @@ public class StrBuilder implements CharS
         /**
          * Default constructor.
          */
-<span class="fc" id="L3045">        StrBuilderWriter() {</span>
-<span class="fc" id="L3046">            super();</span>
-<span class="fc" id="L3047">        }</span>
+<span class="fc" id="L3014">        StrBuilderWriter() {</span>
+<span class="fc" id="L3015">            super();</span>
+<span class="fc" id="L3016">        }</span>
 
         /** {@inheritDoc} */
         @Override
         public void close() {
             // do nothing
-<span class="fc" id="L3053">        }</span>
+<span class="fc" id="L3022">        }</span>
 
         /** {@inheritDoc} */
         @Override
         public void flush() {
             // do nothing
-<span class="fc" id="L3059">        }</span>
+<span class="fc" id="L3028">        }</span>
 
         /** {@inheritDoc} */
         @Override
         public void write(final int c) {
-<span class="fc" id="L3064">            StrBuilder.this.append((char) c);</span>
-<span class="fc" id="L3065">        }</span>
+<span class="fc" id="L3033">            StrBuilder.this.append((char) c);</span>
+<span class="fc" id="L3034">        }</span>
 
         /** {@inheritDoc} */
         @Override
         public void write(final char[] cbuf) {
-<span class="fc" id="L3070">            StrBuilder.this.append(cbuf);</span>
-<span class="fc" id="L3071">        }</span>
+<span class="fc" id="L3039">            StrBuilder.this.append(cbuf);</span>
+<span class="fc" id="L3040">        }</span>
 
         /** {@inheritDoc} */
         @Override
         public void write(final char[] cbuf, final int off, final int len) {
-<span class="fc" id="L3076">            StrBuilder.this.append(cbuf, off, len);</span>
-<span class="fc" id="L3077">        }</span>
+<span class="fc" id="L3045">            StrBuilder.this.append(cbuf, off, len);</span>
+<span class="fc" id="L3046">        }</span>
 
         /** {@inheritDoc} */
         @Override
         public void write(final String str) {
-<span class="fc" id="L3082">            StrBuilder.this.append(str);</span>
-<span class="fc" id="L3083">        }</span>
+<span class="fc" id="L3051">            StrBuilder.this.append(str);</span>
+<span class="fc" id="L3052">        }</span>
 
         /** {@inheritDoc} */
         @Override
         public void write(final String str, final int off, final int len) {
-<span class="fc" id="L3088">            StrBuilder.this.append(str, off, len);</span>
-<span class="fc" id="L3089">        }</span>
+<span class="fc" id="L3057">            StrBuilder.this.append(str, off, len);</span>
+<span class="fc" id="L3058">        }</span>
     }
 
 }

Modified: websites/production/commons/content/proper/commons-text/jacoco/org.apache.commons.text/StrLookup$SystemPropertiesStrLookup.html
==============================================================================
--- websites/production/commons/content/proper/commons-text/jacoco/org.apache.commons.text/StrLookup$SystemPropertiesStrLookup.html
(original)
+++ websites/production/commons/content/proper/commons-text/jacoco/org.apache.commons.text/StrLookup$SystemPropertiesStrLookup.html
Tue May 23 13:12:41 2017
@@ -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>StrLookup.SystemPropertiesStrLookup</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 Text</a> &gt; <a href="index.html"
class="el_package">org.apache.commons.text</a> &gt; <span class="el_class">StrLookup.SystemPropertiesStrLookup</span></div><h1>StrLookup.SystemPropertiesStrLookup</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">1 of 12</td><td class="ctr2">91%</td><td class="bar">0
of 2</td><td class="ct
 r2">100%</td><td class="ctr1">0</td><td class="ctr2">3</td><td
class="ctr1">1</td><td class="ctr2">5</td><td class="ctr1">0</td><td
class="ctr2">2</td></tr></tfoot><tbody><tr><td id="a0"><a
href="StrLookup.java.html#L171" class="el_method">lookup(String)</a></td><td
class="bar" id="b0"><img src="../jacoco-resources/redbar.gif" width="13" height="10"
title="1" alt="1"/><img src="../jacoco-resources/greenbar.gif" width="106" height="10"
title="8" alt="8"/></td><td class="ctr2" id="c1">88%</td><td class="bar"
id="d0"><img src="../jacoco-resources/greenbar.gif" width="120" height="10" title="2"
alt="2"/></td><td class="ctr2" id="e0">100%</td><td class="ctr1" id="f0">0</td><td
class="ctr2" id="g0">2</td><td class="ctr1" id="h0">1</td><td class="ctr2"
id="i0">4</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">1</td></tr><tr><td
id="a1"><a href="StrLookup.java.html#L165" class="el_method">StrLookup.SystemPropertiesStrLookup()</a></td><td
class="bar" id="b1"><img src="../jacoco-r
 esources/greenbar.gif" width="40" height="10" title="3" alt="3"/></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.7.8.201612092310</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>StrLookup.SystemPropertiesStrLookup</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 Text</a> &gt; <a href="index.html"
class="el_package">org.apache.commons.text</a> &gt; <span class="el_class">StrLookup.SystemPropertiesStrLookup</span></div><h1>StrLookup.SystemPropertiesStrLookup</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 14</td><td class="ctr2">78%</td><td class="bar">0
of 2</td><td class="ct
 r2">100%</td><td class="ctr1">0</td><td class="ctr2">3</td><td
class="ctr1">2</td><td class="ctr2">6</td><td class="ctr1">0</td><td
class="ctr2">2</td></tr></tfoot><tbody><tr><td id="a0"><a
href="StrLookup.java.html#L171" class="el_method">lookup(String)</a></td><td
class="bar" id="b0"><img src="../jacoco-resources/redbar.gif" width="32" height="10"
title="3" alt="3"/><img src="../jacoco-resources/greenbar.gif" width="87" height="10"
title="8" alt="8"/></td><td class="ctr2" id="c1">72%</td><td class="bar"
id="d0"><img src="../jacoco-resources/greenbar.gif" width="120" height="10" title="2"
alt="2"/></td><td class="ctr2" id="e0">100%</td><td class="ctr1" id="f0">0</td><td
class="ctr2" id="g0">2</td><td class="ctr1" id="h0">2</td><td class="ctr2"
id="i0">5</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">1</td></tr><tr><td
id="a1"><a href="StrLookup.java.html#L165" class="el_method">StrLookup.SystemPropertiesStrLookup()</a></td><td
class="bar" id="b1"><img src="../jacoco-re
 sources/greenbar.gif" width="32" height="10" title="3" alt="3"/></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.7.8.201612092310</span></div></body></html>
\ No newline at end of file

Modified: websites/production/commons/content/proper/commons-text/jacoco/org.apache.commons.text/StrLookup.java.html
==============================================================================
--- websites/production/commons/content/proper/commons-text/jacoco/org.apache.commons.text/StrLookup.java.html
(original)
+++ websites/production/commons/content/proper/commons-text/jacoco/org.apache.commons.text/StrLookup.java.html
Tue May 23 13:12:41 2017
@@ -173,9 +173,10 @@ public abstract class StrLookup&lt;V&gt;
 <span class="fc" id="L173">                    return System.getProperty(key);</span>
 <span class="nc" id="L174">                } catch (final SecurityException scex) {</span>
                     // Squelched. All lookup(String) will return null.
+<span class="nc" id="L176">                    return null;</span>
                 }
             }
-<span class="fc" id="L178">            return null;</span>
+<span class="fc" id="L179">            return null;</span>
         }
     }
 }



Mime
View raw message