File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
gradle-plugin/plugin/src/main/java/com/yelp/codegen Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ abstract class SharedCodegen : DefaultCodegen(), CodegenConfig {
82
82
* Returns the /main/resources directory to access the .mustache files
83
83
*/
84
84
protected val resourcesDirectory: File
85
- get() = File (this .javaClass.classLoader.getResource(templateDir).path.safeSuffix(File .separator))
85
+ get() = File (this .javaClass.classLoader.getResource(templateDir)!! .path.safeSuffix(File .separator))
86
86
87
87
override fun processOpts () {
88
88
super .processOpts()
@@ -454,7 +454,7 @@ abstract class SharedCodegen : DefaultCodegen(), CodegenConfig {
454
454
* or `items` at the top level (Arrays).
455
455
* Their returned type would be a `Map<String, Any?>` or `List<Any?>`, where `Any?` will be the aliased type.
456
456
*
457
- * The method will call [KotlinAndroidGenerator .resolvePropertyType] that will perform a check if the model
457
+ * The method will call [KotlinGenerator .resolvePropertyType] that will perform a check if the model
458
458
* is aliasing to a 'x-nullable' annotated model and compute the proper type (adding a `?` if needed).
459
459
*
460
460
* ```
You can’t perform that action at this time.
0 commit comments