Skip to content

Commit 3e890de

Browse files
committed
tweak
1 parent fc40ac0 commit 3e890de

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

server/src/main/java/org/elasticsearch/repositories/Repository.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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();

0 commit comments

Comments
 (0)