Skip to content

Commit f8bd551

Browse files
committed
Replace @nullable annotations with @nonnull in BaseRequestBuilder
1 parent c8cb3f2 commit f8bd551

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Added
1111

12+
## [2.0.18] - 2023-04-06
13+
14+
### Changed
15+
16+
- Fix `getRequestUrl()` and `getClient()` wrongfully being declared `@Nullable` in `BaseRequestBuilder`.
17+
1218
## [2.0.17] - 2023-03-20
1319

1420
### Changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ mavenGroupId = com.microsoft.graph
2525
mavenArtifactId = microsoft-graph-core
2626
mavenMajorVersion = 2
2727
mavenMinorVersion = 0
28-
mavenPatchVersion = 17
28+
mavenPatchVersion = 18
2929
mavenArtifactSuffix =
3030

3131
#These values are used to run functional tests

src/main/java/com/microsoft/graph/http/BaseRequestBuilder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public BaseRequestBuilder(
7979
*
8080
* @return the client
8181
*/
82-
@Nullable
82+
@Nonnull
8383
@SuppressFBWarnings
8484
public IBaseClient<?> getClient() {
8585
return client;
@@ -90,7 +90,7 @@ public IBaseClient<?> getClient() {
9090
*
9191
* @return the request URL
9292
*/
93-
@Nullable
93+
@Nonnull
9494
public String getRequestUrl() {
9595
return requestUrl;
9696
}

0 commit comments

Comments
 (0)