File tree Expand file tree Collapse file tree
datastore-v1-proto-client/src/main/java/com/google/datastore/v1/client Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636 * Client factory for {@link Datastore}.
3737 */
3838public class DatastoreFactory {
39- private static final Logger logger = Logger .getLogger (DatastoreFactory .class .getName ());
4039
4140 // Lazy load this because we might be running inside App Engine and this
4241 // class isn't on the whitelist.
@@ -61,7 +60,7 @@ public static DatastoreFactory get() {
6160 *
6261 * @throws IllegalArgumentException if the server or credentials weren't provided.
6362 */
64- public Datastore create (DatastoreOptions options ) throws IllegalArgumentException {
63+ public Datastore create (DatastoreOptions options ) {
6564 return new Datastore (newRemoteRpc (options ));
6665 }
6766
Original file line number Diff line number Diff line change @@ -135,10 +135,10 @@ public Builder localHost(String localHost) {
135135 }
136136
137137 /**
138- * @deprecated Use {@link #projectId} and/or {@link #host}/{@link #localHost} instead.
139- *
140138 * Sets the project endpoint used to access Cloud Datastore. Prefer using {@link #projectId}
141139 * and/or {@link #host}/{@link #localHost} when possible.
140+ *
141+ * @deprecated Use {@link #projectId} and/or {@link #host}/{@link #localHost} instead.
142142 */
143143 @ Deprecated
144144 public Builder projectEndpoint (String projectEndpoint ) {
You can’t perform that action at this time.
0 commit comments