Browse Source

Update java.asciidoc

Fixed asciidoc
Clinton Gormley 9 years ago
parent
commit
70482d1e39
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/reference/migration/migrate_5_0/java.asciidoc

+ 2 - 2
docs/reference/migration/migrate_5_0/java.asciidoc

@@ -300,12 +300,12 @@ requests can now be validated at call time which results in much clearer errors.
 
 
 The `setQuery(BytesReference)` method have been removed in favor of using `setQuery(QueryBuilder)`
 The `setQuery(BytesReference)` method have been removed in favor of using `setQuery(QueryBuilder)`
 
 
-=== ClusterStatsResponse
+==== ClusterStatsResponse
 
 
 Removed the `getMemoryAvailable` method from `OsStats`, which could be previously accessed calling
 Removed the `getMemoryAvailable` method from `OsStats`, which could be previously accessed calling
 `clusterStatsResponse.getNodesStats().getOs().getMemoryAvailable()`.
 `clusterStatsResponse.getNodesStats().getOs().getMemoryAvailable()`.
 
 
-=== setRefresh(boolean) has been removed
+==== setRefresh(boolean) has been removed
 
 
 `setRefresh(boolean)` has been removed in favor of `setRefreshPolicy(RefreshPolicy)` because there
 `setRefresh(boolean)` has been removed in favor of `setRefreshPolicy(RefreshPolicy)` because there
 are now three options (NONE, IMMEDIATE, and WAIT_FOR). `setRefresh(IMMEDIATE)` has the same behavior
 are now three options (NONE, IMMEDIATE, and WAIT_FOR). `setRefresh(IMMEDIATE)` has the same behavior