update code to comply with new superstring policy
[nit.git] / contrib / github_search_for_jni / src / github_search_for_jni.nit
index b2df540..1cb86e2 100644 (file)
@@ -85,7 +85,7 @@ loop
 
                # The project is of interest if it has lots of Java and at least some C
                var may_be_of_interest = langs.has_lots_of_java and langs.has_some_c
-               if may_be_of_interest then print "{item["name"]}: {item["forks"]}; {langs.keys.join(", ")}; {item["html_url"]}"
+               if may_be_of_interest then print "{item["name"].to_s}: {item["forks"].to_s}; {langs.keys.join(", ")}; {item["html_url"].to_s}"
        end
 
        # If we got less pages than asked for, we are done!