3 new revisions:

Revision: 542e731b5ec0
Branch:   default
Author:   Jussi Malinen <[email protected]>
Date:     Thu Nov 28 15:09:32 2013 UTC
Log:      cleanup docs for varargs on java
http://code.google.com/p/robotframework/source/detail?r=542e731b5ec0

Revision: e39a0342eb67
Branch:   default
Author:   Jussi Malinen <[email protected]>
Date:     Thu Nov 28 15:09:38 2013 UTC
Log:      regen
http://code.google.com/p/robotframework/source/detail?r=e39a0342eb67

Revision: b96e925f8dc4
Branch:   default
Author:   Jussi Malinen <[email protected]>
Date:     Thu Nov 28 15:09:43 2013 UTC
Log: Automated merge with file:///Users/jmalinen/Documents/workspace/robotf...
http://code.google.com/p/robotframework/source/detail?r=b96e925f8dc4

==============================================================================
Revision: 542e731b5ec0
Branch:   default
Author:   Jussi Malinen <[email protected]>
Date:     Thu Nov 28 15:09:32 2013 UTC
Log:      cleanup docs for varargs on java
http://code.google.com/p/robotframework/source/detail?r=542e731b5ec0

Modified:
 /doc/userguide/src/ExtendingRobotFramework/CreatingTestLibraries.rst

=======================================
--- /doc/userguide/src/ExtendingRobotFramework/CreatingTestLibraries.rst Thu Nov 28 13:39:53 2013 UTC +++ /doc/userguide/src/ExtendingRobotFramework/CreatingTestLibraries.rst Thu Nov 28 15:09:32 2013 UTC
@@ -684,10 +684,11 @@
       }
   }

-For legacy reasons it is possible to use variable number of arguments also by
-having an array or a :code:`java.util.List` as the last argument.
-This is illustrated by the following examples that are identical
-to the previous ones:
+It is also possible to use variable number of arguments also by
+having an array or, starting from Robot Framework 2.8.3,
+:code:`java.util.List` as the last argument. This is illustrated
+by the following examples that are functionally identical to
+the previous ones:

 .. sourcecode:: java

@@ -697,20 +698,6 @@
           System.out.println(arg);
       }
   }
-
-  public void anyArguments(List<String> varargs) {
-      System.out.println("Got arguments:");
-      for (String arg: varargs) {
-          System.out.println(arg);
-      }
-  }
-
-  public void oneRequired(String required, String[] others) {
-      System.out.println("Required: " + required + "\nOthers:");
-      for (String arg: others) {
-          System.out.println(arg);
-      }
-  }

   public void oneRequired(String required, List<String> others) {
       System.out.println("Required: " + required + "\nOthers:");

==============================================================================
Revision: e39a0342eb67
Branch:   default
Author:   Jussi Malinen <[email protected]>
Date:     Thu Nov 28 15:09:38 2013 UTC
Log:      regen
http://code.google.com/p/robotframework/source/detail?r=e39a0342eb67

Modified:
 /doc/userguide/RobotFrameworkUserGuide.html

=======================================
--- /doc/userguide/RobotFrameworkUserGuide.html Tue Nov 26 14:32:32 2013 UTC
+++ /doc/userguide/RobotFrameworkUserGuide.html Thu Nov 28 15:09:38 2013 UTC
@@ -560,7 +560,7 @@
 <body>
 <div class="document" id="robot-framework-user-guide">
 <h1 class="title">Robot Framework User Guide</h1>
-<h2 class="subtitle" id="version-version">Version 2.8.2</h2>
+<h2 class="subtitle" id="version-version">Version trunk 20131126</h2>

 <!-- This data file has been placed in the public domain. -->
 <!-- Derived from the Unicode character mappings available from
@@ -12980,9 +12980,11 @@
     <span class="o">}</span>
 <span class="o">}</span>
 </pre></div>
-<p>For legacy reasons it is possible to use variable number of arguments also by
-having an array as the last argument. This is illustrated by the following
-examples that are identical to the previous ones:</p>
+<p>It is also possible to use variable number of arguments also by
+having an array or, starting from Robot Framework 2.8.3,
+<span class="code">java.util.List</span> as the last argument. This is illustrated
+by the following examples that are functionally identical to
+the previous ones:</p>
<div class="highlight"><pre><span class="kd">public</span> <span class="kt">void</span> <span class="nf">anyArguments</span><span class="o">(</span><span class="n">String</span><span class="o">[]</span> <span class="n">varargs</span><span class="o">)</span> <span class="o">{</span> <span class="n">System</span><span class="o">.</span><span class="na">out</span><span class="o">.</span><span class="na">println</span><span class="o">(</span><span class="s">&quot;Got arguments:&quot;</span><span class="o">);</span> <span class="k">for</span> <span class="o">(</span><span class="n">String</span> <span class="nl">arg:</span> <span class="n">varargs</span><span class="o">)</span> <span class="o">{</span>
@@ -12990,7 +12992,7 @@
     <span class="o">}</span>
 <span class="o">}</span>

-<span class="kd">public</span> <span class="kt">void</span> <span class="nf">oneRequired</span><span class="o">(</span><span class="n">String</span> <span class="n">required</span><span class="o">,</span> <span class="n">String</span><span class="o">[]</span> <span class="n">others</span><span class="o">)</span> <span class="o">{</span> +<span class="kd">public</span> <span class="kt">void</span> <span class="nf">oneRequired</span><span class="o">(</span><span class="n">String</span> <span class="n">required</span><span class="o">,</span> <span class="n">List</span><span class="o">&lt;</span><span class="n">String</span><span class="o">&gt;</span> <span class="n">others</span><span class="o">)</span> <span class="o">{</span> <span class="n">System</span><span class="o">.</span><span class="na">out</span><span class="o">.</span><span class="na">println</span><span class="o">(</span><span class="s">&quot;Required: &quot;</span> <span class="o">+</span> <span class="n">required</span> <span class="o">+</span> <span class="s">&quot;\nOthers:&quot;</span><span class="o">);</span> <span class="k">for</span> <span class="o">(</span><span class="n">String</span> <span class="nl">arg:</span> <span class="n">others</span><span class="o">)</span> <span class="o">{</span> <span class="n">System</span><span class="o">.</span><span class="na">out</span><span class="o">.</span><span class="na">println</span><span class="o">(</span><span class="n">arg</span><span class="o">);</span>
@@ -17622,7 +17624,7 @@
 <div class="footer">
 <hr class="footer" />
<p>Generated by <a class="reference external" href="http://docutils.sourceforge.net/rst.html";>reStructuredText</a>. Syntax highlighting by <a class="reference external" href="http://pygments.org/";>Pygments</a>.</p>
-<p>Generated on: 2013-11-26 14:31 UTC.
+<p>Generated on: 2013-11-28 15:08 UTC.
 </p>

 </div>

==============================================================================
Revision: b96e925f8dc4
Branch:   default
Author:   Jussi Malinen <[email protected]>
Date:     Thu Nov 28 15:09:43 2013 UTC
Log: Automated merge with file:///Users/jmalinen/Documents/workspace/robotframework
http://code.google.com/p/robotframework/source/detail?r=b96e925f8dc4


--

--- You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to