]> Dogcows Code - chaz/vimcoder/blobdiff - src/com/dogcows/Editor.java
compressing types with multiple identifiers is bad for C++
[chaz/vimcoder] / src / com / dogcows / Editor.java
index 40ccc829e8306613ae8afc9a036109f1890c498e..ff38a0ff4df175efde211fe7dd050fa3be86cd91 100644 (file)
@@ -89,7 +89,7 @@ public class Editor
 
                // Set up the terms used for the template expansion.
                HashMap<String,String> terms = new HashMap<String,String>();
-               terms.put("RETURNTYPE",   component.getReturnType().getDescriptor(language).replaceAll("\\s+", ""));
+               terms.put("RETURNTYPE",   component.getReturnType().getDescriptor(language));
                terms.put("CLASSNAME",    name);
                terms.put("METHODNAME",   component.getMethodName());
                terms.put("METHODPARAMS", getMethodParams(component.getParamTypes(),
@@ -295,7 +295,7 @@ public class Editor
                String[] strings = new String[types.length];
                for (int i = 0; i < types.length; ++i)
                {
-                       strings[i] = types[i].getDescriptor(language).replaceAll("\\s+", "");
+                       strings[i] = types[i].getDescriptor(language);
                }
                return strings;
        }
This page took 0.021288 seconds and 4 git commands to generate.