Spelling fixes

This commit is contained in:
Ville Skyttä
2016-08-27 02:34:33 +03:00
parent c0a72fdcd6
commit b4c139f19b
136 changed files with 211 additions and 211 deletions

View File

@@ -256,7 +256,7 @@ public class DefaultCodegen {
}
/**
* Return the enum default value in the language specifed format
* Return the enum default value in the language specified format
*
* @param value enum variable name
* @param datatype data type
@@ -267,7 +267,7 @@ public class DefaultCodegen {
}
/**
* Return the enum value in the language specifed format
* Return the enum value in the language specified format
* e.g. status becomes "status"
*
* @param value enum variable name
@@ -358,7 +358,7 @@ public class DefaultCodegen {
* @return string with unsafe characters removed or escaped
*/
public String escapeUnsafeCharacters(String input) {
LOGGER.warn("escapeUnsafeCharacters should be overriden in the code generator with proper logic to escape unsafe characters");
LOGGER.warn("escapeUnsafeCharacters should be overridden in the code generator with proper logic to escape unsafe characters");
// doing nothing by default and code generator should implement
// the logic to prevent code injection
// later we'll make this method abstract to make sure
@@ -372,7 +372,7 @@ public class DefaultCodegen {
* @return string with quotation mark removed or escaped
*/
public String escapeQuotationMark(String input) {
LOGGER.warn("escapeQuotationMark should be overriden in the code generator with proper logic to escape single/double quote");
LOGGER.warn("escapeQuotationMark should be overridden in the code generator with proper logic to escape single/double quote");
return input.replace("\"", "\\\"");
}
@@ -3171,7 +3171,7 @@ public class DefaultCodegen {
*/
public void setParameterBooleanFlagWithCodegenProperty(CodegenParameter parameter, CodegenProperty property) {
if (parameter == null) {
LOGGER.error("Codegen Parameter cannnot be null.");
LOGGER.error("Codegen Parameter cannot be null.");
return;
}

View File

@@ -643,7 +643,7 @@ public abstract class AbstractJavaCodegen extends DefaultCodegen implements Code
@Override
public Map<String, Object> postProcessModels(Map<String, Object> objs) {
// recursivly add import for mapping one type to multipe imports
// recursively add import for mapping one type to multiple imports
List<Map<String, String>> recursiveImports = (List<Map<String, String>>) objs.get("imports");
if (recursiveImports == null)
return objs;

View File

@@ -412,7 +412,7 @@ public class GoClientCodegen extends DefaultCodegen implements CodegenConfig {
}
// recursivly add import for mapping one type to multipe imports
// recursively add import for mapping one type to multiple imports
List<Map<String, String>> recursiveImports = (List<Map<String, String>>) objs.get("imports");
if (recursiveImports == null)
return objs;
@@ -442,7 +442,7 @@ public class GoClientCodegen extends DefaultCodegen implements CodegenConfig {
iterator.remove();
}
// recursivly add import for mapping one type to multipe imports
// recursively add import for mapping one type to multiple imports
List<Map<String, String>> recursiveImports = (List<Map<String, String>>) objs.get("imports");
if (recursiveImports == null)
return objs;

View File

@@ -273,7 +273,7 @@ public class Qt5CPPGenerator extends DefaultCodegen implements CodegenConfig {
return "0L";
} else if (p instanceof BaseIntegerProperty) {
// catchall for any other format of the swagger specifiction
// integer type not explictly handled above
// integer type not explicitly handled above
return "0";
} else if (p instanceof DecimalProperty) {
return "0.0";