juneau-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jamesbog...@apache.org
Subject [01/16] incubator-juneau-website git commit: Update docs and about page.
Date Fri, 10 Feb 2017 16:02:01 GMT
Repository: incubator-juneau-website
Updated Branches:
  refs/heads/asf-site beb5f5d00 -> 7170135e5


http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/7170135e/content/site/apidocs/src-html/org/apache/juneau/internal/DelegateBeanMap.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/internal/DelegateBeanMap.html
b/content/site/apidocs/src-html/org/apache/juneau/internal/DelegateBeanMap.html
index 5d5ddf5..6247b40 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/internal/DelegateBeanMap.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/internal/DelegateBeanMap.html
@@ -123,40 +123,29 @@
 <span class="sourceLineNo">115</span>      List&lt;BeanPropertyMeta&gt;
l = new ArrayList&lt;BeanPropertyMeta&gt;(keys.size());<a name="line.115"></a>
 <span class="sourceLineNo">116</span>      for (final String key : keys) {<a
name="line.116"></a>
 <span class="sourceLineNo">117</span>         BeanPropertyMeta p = this.getPropertyMeta(key);<a
name="line.117"></a>
-<span class="sourceLineNo">118</span>         if (overrideValues.containsKey(key))
{<a name="line.118"></a>
-<span class="sourceLineNo">119</span>            final BeanPropertyMeta p2 =
p;<a name="line.119"></a>
-<span class="sourceLineNo">120</span>            p = new BeanPropertyMeta(this.meta,
key) {<a name="line.120"></a>
-<span class="sourceLineNo">121</span>               @Override /* BeanPropertyMeta
*/<a name="line.121"></a>
-<span class="sourceLineNo">122</span>               public Object get(BeanMap&lt;?&gt;
m) {<a name="line.122"></a>
-<span class="sourceLineNo">123</span>                  return overrideValues.get(key);<a
name="line.123"></a>
-<span class="sourceLineNo">124</span>               }<a name="line.124"></a>
-<span class="sourceLineNo">125</span>               @Override /* BeanPropertyMeta
*/<a name="line.125"></a>
-<span class="sourceLineNo">126</span>               public &lt;M extends
BeanPropertyMetaExtended&gt; M getExtendedMeta(Class&lt;M&gt; c) {<a name="line.126"></a>
-<span class="sourceLineNo">127</span>                  return p2.getExtendedMeta(c);<a
name="line.127"></a>
-<span class="sourceLineNo">128</span>               }<a name="line.128"></a>
-<span class="sourceLineNo">129</span>            };<a name="line.129"></a>
-<span class="sourceLineNo">130</span>         }<a name="line.130"></a>
-<span class="sourceLineNo">131</span>         if (p == null)<a name="line.131"></a>
-<span class="sourceLineNo">132</span>            throw new BeanRuntimeException(super.getClassMeta().getInnerClass(),
"Property ''{0}'' not found on class.", key);<a name="line.132"></a>
-<span class="sourceLineNo">133</span>         l.add(p);<a name="line.133"></a>
-<span class="sourceLineNo">134</span>      }<a name="line.134"></a>
-<span class="sourceLineNo">135</span>      return l;<a name="line.135"></a>
-<span class="sourceLineNo">136</span>   }<a name="line.136"></a>
-<span class="sourceLineNo">137</span><a name="line.137"></a>
-<span class="sourceLineNo">138</span>   private class BeanMapEntryOverride extends
BeanMapEntry {<a name="line.138"></a>
-<span class="sourceLineNo">139</span>      Object value;<a name="line.139"></a>
-<span class="sourceLineNo">140</span><a name="line.140"></a>
-<span class="sourceLineNo">141</span>      private BeanMapEntryOverride(BeanMap&lt;?&gt;
bm, BeanPropertyMeta bpm, Object value) {<a name="line.141"></a>
-<span class="sourceLineNo">142</span>         super(bm, bpm);<a name="line.142"></a>
-<span class="sourceLineNo">143</span>         this.value = value;<a name="line.143"></a>
-<span class="sourceLineNo">144</span>      }<a name="line.144"></a>
-<span class="sourceLineNo">145</span><a name="line.145"></a>
-<span class="sourceLineNo">146</span>      @Override /* Map.Entry */<a name="line.146"></a>
-<span class="sourceLineNo">147</span>      public Object getValue() {<a name="line.147"></a>
-<span class="sourceLineNo">148</span>         return value;<a name="line.148"></a>
-<span class="sourceLineNo">149</span>      }<a name="line.149"></a>
-<span class="sourceLineNo">150</span>   }<a name="line.150"></a>
-<span class="sourceLineNo">151</span>}<a name="line.151"></a>
+<span class="sourceLineNo">118</span>         if (overrideValues.containsKey(key))<a
name="line.118"></a>
+<span class="sourceLineNo">119</span>            p = new BeanPropertyMeta.Builder(this.meta,
key, overrideValues.get(key), p).build();<a name="line.119"></a>
+<span class="sourceLineNo">120</span>         if (p == null)<a name="line.120"></a>
+<span class="sourceLineNo">121</span>            throw new BeanRuntimeException(super.getClassMeta().getInnerClass(),
"Property ''{0}'' not found on class.", key);<a name="line.121"></a>
+<span class="sourceLineNo">122</span>         l.add(p);<a name="line.122"></a>
+<span class="sourceLineNo">123</span>      }<a name="line.123"></a>
+<span class="sourceLineNo">124</span>      return l;<a name="line.124"></a>
+<span class="sourceLineNo">125</span>   }<a name="line.125"></a>
+<span class="sourceLineNo">126</span><a name="line.126"></a>
+<span class="sourceLineNo">127</span>   private class BeanMapEntryOverride extends
BeanMapEntry {<a name="line.127"></a>
+<span class="sourceLineNo">128</span>      Object value;<a name="line.128"></a>
+<span class="sourceLineNo">129</span><a name="line.129"></a>
+<span class="sourceLineNo">130</span>      private BeanMapEntryOverride(BeanMap&lt;?&gt;
bm, BeanPropertyMeta bpm, Object value) {<a name="line.130"></a>
+<span class="sourceLineNo">131</span>         super(bm, bpm);<a name="line.131"></a>
+<span class="sourceLineNo">132</span>         this.value = value;<a name="line.132"></a>
+<span class="sourceLineNo">133</span>      }<a name="line.133"></a>
+<span class="sourceLineNo">134</span><a name="line.134"></a>
+<span class="sourceLineNo">135</span>      @Override /* Map.Entry */<a name="line.135"></a>
+<span class="sourceLineNo">136</span>      public Object getValue() {<a name="line.136"></a>
+<span class="sourceLineNo">137</span>         return value;<a name="line.137"></a>
+<span class="sourceLineNo">138</span>      }<a name="line.138"></a>
+<span class="sourceLineNo">139</span>   }<a name="line.139"></a>
+<span class="sourceLineNo">140</span>}<a name="line.140"></a>
 
 
 


Mime
View raw message