Skip to content

Commit

Permalink
api: Fix NameResolver.ConfigOrError javadoc
Browse files Browse the repository at this point in the history
It appears getAttributes() javadoc was accidentally copied when
ConfigOrError was moved in commit 0244418. This restores the
documentation from before the move.
  • Loading branch information
ejona86 committed Aug 24, 2020
1 parent f36f0e9 commit 03f83bb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions api/src/main/java/io/grpc/NameResolver.java
Expand Up @@ -842,12 +842,12 @@ public ResolutionResult build() {
}
}
}

/**
* Gets the attributes associated with the addresses resolved by name resolution. If there are
* no attributes, {@link Attributes#EMPTY} will be returned.
* Represents either a successfully parsed service config, containing all necessary parts to be
* later applied by the channel, or a Status containing the error encountered while parsing.
*
* @since 1.21.0
* @since 1.20.0
*/
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/1770")
public static final class ConfigOrError {
Expand Down

0 comments on commit 03f83bb

Please sign in to comment.