From 86157db42aab6749f62104ff0660b66ce4a649ba Mon Sep 17 00:00:00 2001 From: Jon Marius Venstad Date: Mon, 21 Sep 2020 10:20:10 +0200 Subject: Update doc in DocumentAccess --- documentapi/src/main/java/com/yahoo/documentapi/DocumentAccess.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'documentapi') diff --git a/documentapi/src/main/java/com/yahoo/documentapi/DocumentAccess.java b/documentapi/src/main/java/com/yahoo/documentapi/DocumentAccess.java index 308eafcd596..7a9818ba4fd 100644 --- a/documentapi/src/main/java/com/yahoo/documentapi/DocumentAccess.java +++ b/documentapi/src/main/java/com/yahoo/documentapi/DocumentAccess.java @@ -27,9 +27,9 @@ import com.yahoo.config.subscription.ConfigSubscriber; *

This class is the factory for creating the four session types mentioned above.

* *

There may be multiple implementations of the document api classes. If - * default configuration is sufficient, use the {@link #createDefault} method to - * return a running document access. Note that there are running threads within - * an access object, so you must shut it down when done.

+ * default configuration is sufficient, simply inject a {@code DocumentAccess} to + * obtain a running document access. If you instead create a concrete implementation, note that + * there are running threads within an access object, so you must shut it down when done.

* *

An implementation of the Document Api may support just a subset of the * access types defined in this interface. For example, some document -- cgit v1.2.3