From cc64ff5f105b0453baafd2a74ffdfe917068487a Mon Sep 17 00:00:00 2001
From: rob bygrave
{@code
*
- * fetch(path, fetchProperties, new FetchConfig().query())
+ * fetch(path, fetchProperties, FetchConfig.ofQuery())
*
* }
*
@@ -548,7 +548,7 @@ public interface Query
{@code
*
- * fetch(path, fetchProperties, new FetchConfig().lazy())
+ * fetch(path, fetchProperties, FetchConfig.ofLazy())
*
* }
*
@@ -573,7 +573,7 @@ public interface Query
{@code
*
- * fetch(path, new FetchConfig().query())
+ * fetch(path, FetchConfig.ofQuery())
*
* }
*
@@ -639,7 +639,7 @@ public interface Query
{@code
*
- * fetch(path, new FetchConfig().lazy())
+ * fetch(path, FetchConfig.ofLazy())
*
* }
*
@@ -662,7 +662,7 @@ public interface Query{@code
*
* DB.find(Customer.class)
- * .fetch("contacts", new FetchConfig().query(2))
+ * .fetch("contacts", FetchConfig.ofQuery(2))
* .where().eq("status", Status.NEW)
* .order().asc("id")
* .setMaxRows(2000)
diff --git a/ebean-api/src/main/java/io/ebean/RawSql.java b/ebean-api/src/main/java/io/ebean/RawSql.java
index 1fe274a1e..e0e20714b 100644
--- a/ebean-api/src/main/java/io/ebean/RawSql.java
+++ b/ebean-api/src/main/java/io/ebean/RawSql.java
@@ -107,7 +107,7 @@ package io.ebean;
*
* List