File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
server/src/main/java/org/elasticsearch/repositories Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -59,14 +59,14 @@ interface Factory {
5959 /**
6060 * Constructs a repository.
6161 *
62- * @param projectId the project-id for the repository. {@code null} if the repository is at the cluster level.
62+ * @param projectId the project-id for the repository or {@code null} if the repository is at the cluster level.
6363 * @param metadata metadata for the repository including name and settings
6464 */
6565 Repository create (@ Nullable ProjectId projectId , RepositoryMetadata metadata ) throws Exception ;
6666
6767 /**
6868 * Constructs a repository.
69- * @param projectId the project-id for the repository. {@code null} if the repository is at the cluster level.
69+ * @param projectId the project-id for the repository or {@code null} if the repository is at the cluster level.
7070 * @param metadata metadata for the repository including name and settings
7171 * @param typeLookup a function that returns the repository factory for the given repository type.
7272 */
@@ -82,7 +82,7 @@ default Repository create(
8282 /**
8383 * Get the project-id for the repository.
8484 *
85- * @return the project-id, or null if the repository is at the cluster level.
85+ * @return the project-id, or {@code null} if the repository is at the cluster level.
8686 */
8787 @ Nullable
8888 ProjectId getProjectId ();
You can’t perform that action at this time.
0 commit comments