felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From le...@apache.org
Subject svn commit: r581927 - /felix/trunk/upnp/basedriver/src/main/java/org/apache/felix/upnp/basedriver/export/GeneralActionListener.java
Date Thu, 04 Oct 2007 14:33:27 GMT
Author: lenzi
Date: Thu Oct  4 07:33:26 2007
New Revision: 581927

URL: http://svn.apache.org/viewvc?rev=581927&view=rev
Log:
FELIX-391: Applied a patch to fix this issue

Modified:
    felix/trunk/upnp/basedriver/src/main/java/org/apache/felix/upnp/basedriver/export/GeneralActionListener.java

Modified: felix/trunk/upnp/basedriver/src/main/java/org/apache/felix/upnp/basedriver/export/GeneralActionListener.java
URL: http://svn.apache.org/viewvc/felix/trunk/upnp/basedriver/src/main/java/org/apache/felix/upnp/basedriver/export/GeneralActionListener.java?rev=581927&r1=581926&r2=581927&view=diff
==============================================================================
--- felix/trunk/upnp/basedriver/src/main/java/org/apache/felix/upnp/basedriver/export/GeneralActionListener.java
(original)
+++ felix/trunk/upnp/basedriver/src/main/java/org/apache/felix/upnp/basedriver/export/GeneralActionListener.java
Thu Oct  4 07:33:26 2007
@@ -79,14 +79,15 @@
 		
 		UPnPAction osgiAct = osgiServ.getAction(upnpAct.getName());
 		Properties inArgs = null;
-		ArgumentList al = upnpAct.getArgumentList();
+		ArgumentList alIn = upnpAct.getInputArgumentList();
+		ArgumentList alOut = upnpAct.getOutputArgumentList();
 		String[] inArg = osgiAct.getInputArgumentNames();
 		boolean invalidAction=false;
 		if(inArg!=null){
 			inArgs = new Properties();
 			Argument arg;
 			for (int j = 0; j < inArg.length; j++) {
-				arg=al.getArgument(inArg[j]);
+				arg=alIn.getArgument(inArg[j]);
 				try {
 					inArgs.put(
 							inArg[j],
@@ -120,7 +121,7 @@
 		if(outArg!=null){
 			Argument arg;
 			for (int j = 0; j < outArg.length; j++) {
-				arg = al.getArgument(outArg[j]);								
+				arg = alOut.getArgument(outArg[j]);								
 				try {
 					arg.setValue(
 						Converter.toString(



Mime
View raw message