Skip to content

Commit 210b477

Browse files
authored
Corrected section on Java 8 Optional<T> support.
1 parent c666e17 commit 210b477

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ while (projectsPager.hasNext())) {
9595
```
9696
---
9797
## Java 8 Optional&lt;T&gt; Support
98-
GitLab4J-API supports Java 8 Optional&lt;T&gt; for API calls that result in the return of a single item. Here are a couple of examples on how to use the Java 8 Optional&lt;T&gt; API calls:
98+
GitLab4J-API supports Java 8 Optional&lt;T&gt; for API calls that result in the return of a single item. Here is an example on how to use the Java 8 Optional&lt;T&gt; API calls:
9999
```java
100100
Optional<Group> optionalGroup = gitlabApi.getGroupApi().getGroup("my-group-path");
101101
if (optionalGroup.isPresent())

0 commit comments

Comments
 (0)