Skip to content

Commit 0419785

Browse files
committed
fix javadoc
1 parent 4ee9c68 commit 0419785

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/main/java/graphql/language/DirectivesContainer.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
import static graphql.language.NodeUtil.directivesByName;
1010

1111
/**
12-
* Represents a language node that has a name
12+
* Represents a language node that can contain Directives.
1313
*/
1414
@PublicApi
1515
public interface DirectivesContainer<T extends DirectivesContainer> extends NamedNode<T> {
1616

1717
/**
18-
* @return a list of directives associated with the type or field
18+
* @return a list of directives associated with this Node
1919
*/
2020
List<Directive> getDirectives();
2121

@@ -27,7 +27,7 @@ default Map<String, Directive> getDirectivesByName() {
2727
}
2828

2929
/**
30-
* Returns a named directive
30+
* Returns a directive with the provided name
3131
*
3232
* @param directiveName the name of the directive to retrieve
3333
*

0 commit comments

Comments
 (0)