From d3c02ce716ddba30abd5ff1828f9a649a6f6763d Mon Sep 17 00:00:00 2001 From: Andrea Peruffo Date: Tue, 12 Sep 2023 14:54:04 +0100 Subject: [PATCH] final fix --- src/Kiota.Builder/Refiners/JavaRefiner.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Kiota.Builder/Refiners/JavaRefiner.cs b/src/Kiota.Builder/Refiners/JavaRefiner.cs index feb6ba62e2..33e63c41b7 100644 --- a/src/Kiota.Builder/Refiners/JavaRefiner.cs +++ b/src/Kiota.Builder/Refiners/JavaRefiner.cs @@ -141,7 +141,7 @@ public override Task Refine(CodeNamespace generatedCode, CancellationToken cance SplitLongDiscriminatorMethods(generatedCode); AddPrimaryErrorMessage(generatedCode, "getMessage", - () => new CodeType { Name = "string", IsNullable = false, IsExternal = true } + () => new CodeType { Name = "String", IsNullable = false, IsExternal = true } ); }, cancellationToken); }