diff --git a/docs/reference/migration/migrate_2_0/java.asciidoc b/docs/reference/migration/migrate_2_0/java.asciidoc index 65bfaef7bef..ef9c7efedf0 100644 --- a/docs/reference/migration/migrate_2_0/java.asciidoc +++ b/docs/reference/migration/migrate_2_0/java.asciidoc @@ -22,8 +22,8 @@ Client client = TransportClient.builder().settings(settings).build(); -------------------------------------------------- The transport client also no longer supports loading settings from config files. -If you have have a config file, you can load into settings yourself before -consturcting the transport client: +If you have a config file, you can load it into settings yourself before +constructing the transport client: [source,java] --------------------------------------------------