Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a18556f

Browse files
Suppress nullability warnings.
Original Pull Request: #5067
1 parent 070f613 commit a18556f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

‎spring-data-mongodb/src/main/java/org/springframework/data/mongodb/ReactiveMongoDatabaseUtils.java‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ private static Mono<MongoDatabase> getMongoDatabaseOrDefault(@Nullable String db
156156
return StringUtils.hasText(dbName) ? factory.getMongoDatabase(dbName) : factory.getMongoDatabase();
157157
}
158158

159+
@SuppressWarnings("NullAway")
159160
private static Mono<ClientSession> doGetSession(TransactionSynchronizationManager synchronizationManager,
160161
ReactiveMongoDatabaseFactory dbFactory, SessionSynchronization sessionSynchronization) {
161162

‎spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/index/IndexOperationsAdapter.java‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ public interface IndexOperationsAdapter extends IndexOperations {
3434
* @param reactiveIndexOperations must not be {@literal null}.
3535
* @return never {@literal null}
3636
*/
37+
@SuppressWarnings("NullAway")
3738
static IndexOperationsAdapter blocking(ReactiveIndexOperations reactiveIndexOperations) {
3839

3940
Assert.notNull(reactiveIndexOperations, "ReactiveIndexOperations must not be null");

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /