abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From roo...@apache.org
Subject svn commit: r488477 - /incubator/abdera/java/trunk/client/src/test/java/org/apache/abdera/test/client/JettyUtil.java
Date Tue, 19 Dec 2006 01:02:15 GMT
Author: rooneg
Date: Mon Dec 18 17:02:14 2006
New Revision: 488477

URL: http://svn.apache.org/viewvc?view=rev&rev=488477
Log:
* client/src/test/java/org/apache/abdera/test/client/JettyUtil.java
  (addServlet): Reverse argument names, to match actual usage and the
   definition of addServletWithMapping.

Modified:
    incubator/abdera/java/trunk/client/src/test/java/org/apache/abdera/test/client/JettyUtil.java

Modified: incubator/abdera/java/trunk/client/src/test/java/org/apache/abdera/test/client/JettyUtil.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/client/src/test/java/org/apache/abdera/test/client/JettyUtil.java?view=diff&rev=488477&r1=488476&r2=488477
==============================================================================
--- incubator/abdera/java/trunk/client/src/test/java/org/apache/abdera/test/client/JettyUtil.java
(original)
+++ incubator/abdera/java/trunk/client/src/test/java/org/apache/abdera/test/client/JettyUtil.java
Mon Dec 18 17:02:14 2006
@@ -46,11 +46,11 @@
     server.setHandler(handler);
   }
   
-  public static void addServlet(String path, String _class) {
+  public static void addServlet(String _class, String path) {
     try {
       if (server == null) initServer();
     } catch (Exception e) {}
-    handler.addServletWithMapping(path, _class);
+    handler.addServletWithMapping(_class, path);
   }
   
   public static void start() throws Exception {



Mime
View raw message