Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
mensinda committed Apr 10, 2024
1 parent 8acf8b6 commit 932249b
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -394,9 +394,6 @@ private MethodSpec buildShimMethod(String name, TypeName mainType, Class<?> abst
return methodBuilder.addAnnotation(generatedRecordBuilderAnnotation)
.addModifiers(Modifier.PRIVATE, Modifier.STATIC).addTypeVariables(Arrays.asList(typeVariables))
.returns(parameterizedType).addParameter(extendedParameterizedType, "o").addStatement(code).build();
.addAnnotation(suppressWarningsAnnotation).addModifiers(Modifier.PRIVATE, Modifier.STATIC)
.addTypeVariables(Arrays.asList(typeVariables)).returns(parameterizedType)
.addParameter(extendedParameterizedType, "o").addStatement(code).build();
}

private CodeBlock buildShimMethodBody(TypeName mainType, ParameterizedTypeName parameterizedType) {
Expand Down

0 comments on commit 932249b

Please sign in to comment.