]> Dogcows Code - chaz/vimcoder/blobdiff - src/com/dogcows/Editor.java
the stall time is too probably too short
[chaz/vimcoder] / src / com / dogcows / Editor.java
index 2f2896248113e30da45d75d3d68995bc04141389..40ccc829e8306613ae8afc9a036109f1890c498e 100644 (file)
@@ -1,12 +1,9 @@
 
 package com.dogcows;
 
-import java.io.BufferedReader;
 import java.io.File;
-import java.io.FileReader;
 import java.io.FileWriter;
 import java.io.IOException;
-import java.io.InputStream;
 import java.util.*;
 
 import com.topcoder.client.contestant.ProblemComponentModel;
@@ -100,7 +97,7 @@ public class Editor
                                                                                                  language));
                terms.put("METHODPARAMNAMES",     Util.join(component.getParamNames(), ", "));
                terms.put("METHODPARAMSTREAMIN",  Util.join(component.getParamNames(), " >> "));
-               terms.put("METHODPARAMSTREAMOUT", Util.join(component.getParamNames(), " << "));
+               terms.put("METHODPARAMSTREAMOUT", Util.join(component.getParamNames(), " << \", \" << "));
                terms.put("METHODPARAMDECLARES",  getMethodParamDeclarations(component.getParamTypes(),
                                                                                                                                         component.getParamNames(),
                                                                                                                                         language));
@@ -246,7 +243,7 @@ public class Editor
                 * before the timeout, we will assume it is not backgrounding and
                 * that everything worked.  This works as long as the Vim server is
                 * able to start within the stall period. */
-               long expire = System.currentTimeMillis() + 250;
+               long expire = System.currentTimeMillis() + 1000;
                while (System.currentTimeMillis() < expire)
                {
                        Thread.yield();
This page took 0.023297 seconds and 4 git commands to generate.