Skip to content

Commit d1d1d14

Browse files
committed
Spotless
1 parent 7dcfac3 commit d1d1d14

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

disk-buffering/src/main/java/io/opentelemetry/contrib/disk/buffering/internal/serialization/deserializers/DeserializationException.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/*
2+
* Copyright The OpenTelemetry Authors
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
5+
16
package io.opentelemetry.contrib.disk.buffering.internal.serialization.deserializers;
27

38
import java.io.IOException;

disk-buffering/src/main/java/io/opentelemetry/contrib/disk/buffering/internal/storage/Storage.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,13 @@ private boolean write(byte[] item, int attemptNumber) throws IOException {
7878
* @param processing Is passed over to {@link ReadableFile#readAndProcess(Function)}.
7979
* @throws IOException If an unexpected error happens.
8080
*/
81-
public ReadableResult readAndProcess(Function<byte[], ProcessResult> processing) throws IOException {
81+
public ReadableResult readAndProcess(Function<byte[], ProcessResult> processing)
82+
throws IOException {
8283
return readAndProcess(processing, 1);
8384
}
8485

85-
private ReadableResult readAndProcess(Function<byte[], ProcessResult> processing, int attemptNumber)
86-
throws IOException {
86+
private ReadableResult readAndProcess(
87+
Function<byte[], ProcessResult> processing, int attemptNumber) throws IOException {
8788
if (isClosed.get()) {
8889
logger.log("Refusing to read from storage after being closed.");
8990
return ReadableResult.FAILED;

disk-buffering/src/main/java/io/opentelemetry/contrib/disk/buffering/internal/storage/files/reader/ProcessResult.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/*
2+
* Copyright The OpenTelemetry Authors
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
5+
16
package io.opentelemetry.contrib.disk.buffering.internal.storage.files.reader;
27

38
/** Result of processing the contents of a file. */

0 commit comments

Comments
 (0)