You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2012/07/18 12:58:27 UTC

svn commit: r1362873 - /myfaces/tobago/trunk/tobago-example/tobago-example-test/src/test/java/org/apache/myfaces/tobago/example/test/SeleniumScriptItem.java

Author: lofwyr
Date: Wed Jul 18 10:58:27 2012
New Revision: 1362873

URL: http://svn.apache.org/viewvc?rev=1362873&view=rev
Log:
nicer output

Modified:
    myfaces/tobago/trunk/tobago-example/tobago-example-test/src/test/java/org/apache/myfaces/tobago/example/test/SeleniumScriptItem.java

Modified: myfaces/tobago/trunk/tobago-example/tobago-example-test/src/test/java/org/apache/myfaces/tobago/example/test/SeleniumScriptItem.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-test/src/test/java/org/apache/myfaces/tobago/example/test/SeleniumScriptItem.java?rev=1362873&r1=1362872&r2=1362873&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-test/src/test/java/org/apache/myfaces/tobago/example/test/SeleniumScriptItem.java (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-test/src/test/java/org/apache/myfaces/tobago/example/test/SeleniumScriptItem.java Wed Jul 18 10:58:27 2012
@@ -17,8 +17,6 @@ package org.apache.myfaces.tobago.exampl
  * limitations under the License.
  */
 
-import java.util.Arrays;
-
 public class SeleniumScriptItem {
 
   private String command;
@@ -39,9 +37,6 @@ public class SeleniumScriptItem {
 
   @Override
   public String toString() {
-    return "SeleniumScriptItem{"
-        + "command='" + command + '\''
-        + ", parameters=" + (parameters == null ? null : Arrays.asList(parameters))
-        + '}';
+    return command + "('" + parameters[0] + "', '" + parameters[1] + "')";
   }
 }