Skip to content

Commit 6f2a178

Browse files
committed
Update LICENSE/NOTICE
Remove the null check (not necessary anymore)
1 parent 2a3fd60 commit 6f2a178

File tree

4 files changed

+6
-10
lines changed

4 files changed

+6
-10
lines changed

flight/flight-core/src/main/java/org/apache/arrow/flight/auth/ClientAuthWrapper.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,7 @@ public AuthObserver() {
7676
@Override
7777
public void onNext(HandshakeResponse value) {
7878
ByteString payload = value.getPayload();
79-
if (payload != null) {
80-
messages.add(payload.toByteArray());
81-
}
79+
messages.add(payload.toByteArray());
8280
}
8381

8482
private Iterator<byte[]> iter =

flight/flight-core/src/main/java/org/apache/arrow/flight/auth/ServerAuthWrapper.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,7 @@ public AuthObserver(StreamObserver<HandshakeResponse> responseObserver) {
8484
@Override
8585
public void onNext(HandshakeRequest value) {
8686
ByteString payload = value.getPayload();
87-
if (payload != null) {
88-
messages.add(payload.toByteArray());
89-
}
87+
messages.add(payload.toByteArray());
9088
}
9189

9290
private Iterator<byte[]> iter =

flight/flight-integration-tests/src/shade/LICENSE.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,11 +272,11 @@ License: https://www.apache.org/licenses/LICENSE-2.0
272272

273273
--------------------------------------------------------------------------------
274274

275-
This binary artifact contains Google Protobuf 3.25.5.
275+
This binary artifact contains Google Protobuf 4.30.0.
276276

277277
Copyright: Copyright 2008 Google Inc. All rights reserved.
278278
Home page: https://protobuf.dev/
279-
License: https://github.com/protocolbuffers/protobuf/blob/v3.25.5/LICENSE (BSD)
279+
License: https://github.com/protocolbuffers/protobuf/blob/v4.30.0/LICENSE (BSD)
280280
License text:
281281

282282
| Copyright 2008 Google Inc. All rights reserved.

flight/flight-sql-jdbc-driver/src/shade/LICENSE.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,11 +234,11 @@ License: https://www.apache.org/licenses/LICENSE-2.0
234234

235235
--------------------------------------------------------------------------------
236236

237-
This binary artifact contains Protobuf 3.25.5.
237+
This binary artifact contains Protobuf 4.30.0.
238238

239239
Copyright: Copyright 2008 Google Inc. All rights reserved.
240240
Home page: https://protobuf.dev/
241-
License: https://github.com/protocolbuffers/protobuf/blob/v3.25.3/LICENSE (BSD)
241+
License: https://github.com/protocolbuffers/protobuf/blob/v4.30.0/LICENSE (BSD)
242242
License text:
243243

244244
| Copyright 2008 Google Inc. All rights reserved.

0 commit comments

Comments
 (0)