Skip to content

Commit a7eb202

Browse files
committed
format
1 parent f95d80d commit a7eb202

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

generators/src/main/java/com/algolia/codegen/GenericPropagator.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ public class GenericPropagator {
1313
private GenericPropagator() {}
1414

1515
/**
16-
* Add the property x-propagated-generic to a model or property, meaning it should be replaced with T
17-
* directly
16+
* Add the property x-propagated-generic to a model or property, meaning it should be replaced
17+
* with T directly
1818
*/
1919
private static void setPropagatedGeneric(IJsonSchemaValidationProperties property) {
2020
if (property instanceof CodegenModel) {
@@ -121,7 +121,9 @@ private static Map<String, CodegenModel> convertToMap(List<ModelMap> models) {
121121
return modelsMap;
122122
}
123123

124-
/** Models and their members will be marked with either x-propagated-generic or x-has-child-generic */
124+
/**
125+
* Models and their members will be marked with either x-propagated-generic or x-has-child-generic
126+
*/
125127
public static void propagateGenericsToModels(Map<String, ModelsMap> modelsMap) {
126128
// We propagate generics in two phases:
127129
// 1. We mark the direct parent of the generic model to replace it with T

0 commit comments

Comments
 (0)