felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r1664750 - /felix/trunk/gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/Closure.java
Date Fri, 06 Mar 2015 22:47:08 GMT
Author: gnodet
Date: Fri Mar  6 22:47:08 2015
New Revision: 1664750

URL: http://svn.apache.org/r1664750
Log:
[FELIX-4671] Fix regression

Modified:
    felix/trunk/gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/Closure.java

Modified: felix/trunk/gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/Closure.java
URL: http://svn.apache.org/viewvc/felix/trunk/gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/Closure.java?rev=1664750&r1=1664749&r2=1664750&view=diff
==============================================================================
--- felix/trunk/gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/Closure.java (original)
+++ felix/trunk/gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/Closure.java Fri
Mar  6 22:47:08 2015
@@ -431,7 +431,7 @@ public class Closure implements Function
 
     private boolean bareword(Token t, Object v) throws Exception
     {
-        return ((t.type == Type.WORD) && t.value.equals(v));
+        return ((t.type == Type.WORD) && t.value.toString().equals(v));
     }
 
     private Object executeCmd(String scmd, List<Object> values) throws Exception



Mime
View raw message