Skip to content

Commit

Permalink
Spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
Fokko committed Jan 31, 2024
1 parent 44b2a13 commit a6d47e4
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions lang/java/avro/src/main/java/org/apache/avro/Conversions.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,11 @@
public class Conversions {

public static class UUIDConversion extends Conversion<UUID> {
private static final ThreadLocal<ByteBuffer> BUFFER =
ThreadLocal.withInitial(
() -> {
ByteBuffer buffer = ByteBuffer.allocate(2 * Long.BYTES);
buffer.order(ByteOrder.BIG_ENDIAN);
return buffer;
});
private static final ThreadLocal<ByteBuffer> BUFFER = ThreadLocal.withInitial(() -> {
ByteBuffer buffer = ByteBuffer.allocate(2 * Long.BYTES);
buffer.order(ByteOrder.BIG_ENDIAN);
return buffer;
});

@Override
public Class<UUID> getConvertedType() {
Expand Down

0 comments on commit a6d47e4

Please sign in to comment.