Skip to content

Commit 77f905b

Browse files
committed
updated README
1 parent 5134756 commit 77f905b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,16 @@ After taking huge effort to look for example on the internet and found nothing w
99

1010
E.g.:
1111

12-
StringBuffer sourceCode = new StringBuffer();
12+
StringBuilder sourceCode = new StringBuilder();
1313
sourceCode.append("package org.mdkt;\n");
1414
sourceCode.append("public class HelloClass {\n");
1515
sourceCode.append(" public String hello() { return \"hello\"; }");
1616
sourceCode.append("}");
1717

1818
Class<?> helloClass = InMemoryJavaCompiler.newInstance().compile("org.mdkt.HelloClass", sourceCode.toString());
1919

20+
If you are looking for more examples, please look at unit tests in the `src/test/java` folder
21+
2022
Artifact is pushed to Sonatype OSS Releases Repository
2123

2224
https://oss.sonatype.org/content/repositories/releases/

0 commit comments

Comments
 (0)