Skip to content

Commit

Permalink
fix sonar warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
koros committed Jun 27, 2024
1 parent e4b1f2d commit 4787e3b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/Kiota.Builder/Refiners/TypeScriptRefiner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -392,12 +392,6 @@ private static CodeMethod CreateSerializerMethodForComposedType(CodeInterface co
return method;
}

private static CodeMethod CreateDeserializerMethodForComposedType(CodeInterface codeInterface, CodeFunction function)
{
var method = CodeMethod.FromCodeFunctionAndInterface(codeInterface, function, GetComposedTypeMethodKind(function));
return method;
}

private static CodeMethodKind GetComposedTypeMethodKind(CodeFunction function)
{
return function.OriginalLocalMethod.Kind switch
Expand Down

0 comments on commit 4787e3b

Please sign in to comment.