提交 5e64f228 编写于 作者: C Chris Beams

Consistently refer to 'default no-arg constructor' (SPR-7339)

上级 edad222e
......@@ -2072,7 +2072,7 @@ support=support@example.co.uk</programlisting>
<entry><para>Chooses <emphasis>constructor</emphasis> or
<emphasis>byType</emphasis> through introspection of the bean
class. If a default constructor is found, the
class. If a default no-arg constructor is found, the
<emphasis>byType</emphasis> mode is applied.</para></entry>
</row>
</tbody>
......
......@@ -246,7 +246,7 @@
5. "autodetect"
Chooses "constructor" or "byType" through introspection of the bean class.
If a default constructor is found, "byType" gets applied.
If a default no-arg constructor is found, "byType" gets applied.
The latter two are similar to PicoContainer and make bean factories simple to
configure for small namespaces, but doesn't work as well as standard Spring
......
......@@ -1442,8 +1442,8 @@ String result =
<para>using a <literal>Map&lt;String,String&gt;</literal>.</para>
<para>To create an instance of <classname>RestTemplate</classname> you
can simply call the default constructor. This will use standard Java
<para>To create an instance of <classname>RestTemplate</classname> you can
simply call the default no-arg constructor. This will use standard Java
classes from the <literal>java.net</literal> package as the underlying
implementation to create HTTP requests. This can be overridden by
specifying an implementation of
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册