forked from loafle/openapi-generator-original
Clean up old code
This commit is contained in:
parent
ed14c515bf
commit
aa03be7f76
@ -119,18 +119,6 @@ public class ApiInvoker {
|
||||
return contentTypes[0];
|
||||
}
|
||||
|
||||
public static String joinString(String[] array, String separator) {
|
||||
int len = array.length;
|
||||
if (len == 0) return "";
|
||||
|
||||
StringBuilder out = new StringBuilder();
|
||||
out.append(array[0]);
|
||||
for (int i = 1; i < len; i++) {
|
||||
out.append(separator).append(array[i]);
|
||||
}
|
||||
return out.toString();
|
||||
}
|
||||
|
||||
public void enableDebug() {
|
||||
isDebug = true;
|
||||
}
|
||||
|
@ -119,18 +119,6 @@ public class ApiInvoker {
|
||||
return contentTypes[0];
|
||||
}
|
||||
|
||||
public static String joinString(String[] array, String separator) {
|
||||
int len = array.length;
|
||||
if (len == 0) return "";
|
||||
|
||||
StringBuilder out = new StringBuilder();
|
||||
out.append(array[0]);
|
||||
for (int i = 1; i < len; i++) {
|
||||
out.append(separator).append(array[i]);
|
||||
}
|
||||
return out.toString();
|
||||
}
|
||||
|
||||
public void enableDebug() {
|
||||
isDebug = true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user