Skip to content

Commit f5bde69

Browse files
Copilotedburns
andauthored
fix(java): correct SimpleJavaFileObject override - getCharContent not getContent
Co-authored-by: edburns <75821+edburns@users.noreply.github.com>
1 parent 5313a7a commit f5bde69

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎java/src/test/java/com/github/copilot/tool/SchemaGeneratorTest.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ private static class InMemorySource extends SimpleJavaFileObject {
5555
}
5656

5757
@Override
58-
public CharSequence getContent() throws IOException {
58+
public CharSequence getCharContent(boolean ignoreEncodingErrors) throws IOException {
5959
return code;
6060
}
6161
}

0 commit comments

Comments
 (0)