Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Leonard Ehrenfried <[email protected]>
  • Loading branch information
t2gran and leonardehrenfried authored Jan 13, 2025
1 parent f2406e7 commit 06b76b4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public enum ApiDocumentationProfile implements DocumentedEnum<ApiDocumentationPr
List of available custom documentation profiles. A profile is used to inject custom
documentation like type and field description or a deprecated reason.
Currently, ONLY the Transmodel API support this feature.
Currently, ONLY the Transmodel API supports this feature.
""";

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class CustomDocumentation {
private final Map<String, String> textMap;

/**
* Pacakge local to be unit-testable
* Package local to be unit-testable
*/
CustomDocumentation(Map<String, String> textMap) {
this.textMap = textMap;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import java.util.function.BiFunction;

/**
* This is GraphQL visitor witch inject custom documentation on types and fields.
* This is GraphQL visitor which injects custom documentation on types and fields.
*/
public class InjectCustomDocumentation
extends GraphQLTypeVisitorStub
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import org.opentripplanner._support.text.TextAssertions;

/**
* This test read in a schema file, inject documentation and convert the
* This test reads in a schema file, injects documentation and convert the
* new schema to an SDL text string. The result is then compared to the
* "expected" SDL file. The input and expected files are found in the
* resources - with the same name as this test.
Expand Down

0 comments on commit 06b76b4

Please sign in to comment.