aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Herter <sherter@users.noreply.github.com>2018-04-11 19:18:26 +0200
committerGitHub <noreply@github.com>2018-04-11 19:18:26 +0200
commit24c88ec21cb1297bfc92a747fa1f714514720cdc (patch)
tree5878d05f1b5d1963f30a22c068f21673aef8c1e5
parent8ab7616e7d1acc76231bea1aa283c0fdefa24864 (diff)
downloadjavapoet-24c88ec21cb1297bfc92a747fa1f714514720cdc.tar.gz
Fix type typo in README
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index d2e1803..d415a88 100644
--- a/README.md
+++ b/README.md
@@ -48,7 +48,7 @@ type, parameters and code statements. We add the main method to a `HelloWorld` c
that to a `HelloWorld.java` file.
In this case we write the file to `System.out`, but we could also get it as a string
-(`JavaFile.toString()`) or write it to the file system (`JavaPoet.writeTo()`).
+(`JavaFile.toString()`) or write it to the file system (`JavaFile.writeTo()`).
The [Javadoc][javadoc] catalogs the complete JavaPoet API, which we explore below.