Skip to content

Commit

Permalink
chore(all): adapt to java21 (AutoMQ#1471)
Browse files Browse the repository at this point in the history
Signed-off-by: Robin Han <hanxvdovehx@gmail.com>
  • Loading branch information
superhx authored Jun 27, 2024
1 parent 5df678a commit 96edd72
Show file tree
Hide file tree
Showing 28 changed files with 14 additions and 3,331 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
/**
* The StreamControlManager manages all Stream's lifecycle, such as create, open, delete, etc.
*/
@SuppressWarnings("all")
@SuppressWarnings({"all", "this-escape"})
public class StreamControlManager {
private static final Logger LOGGER = LoggerFactory.getLogger(StreamControlManager.class);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
* 3. {@link TopicDeletionManager} schedule scan the waiting cleanup topics and delete the streams related to topic
* 4. After the streams related to the topic are deleted, {@link TopicDeletionManager} generate RemoveKvRecord to remove the topicId from {@link TopicDeletionManager#waitingCleanupTopics}
*/
@SuppressWarnings("this-escape")
public class TopicDeletionManager {
private static final Logger LOGGER = LoggerFactory.getLogger(TopicDeletionManager.class);
final TimelineHashMap<Uuid, Status> waitingCleanupTopics;
Expand Down
1 change: 1 addition & 0 deletions s3stream/src/main/java/com/automq/stream/s3/S3Storage.java
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ public class S3Storage implements Storage {
private long lastLogTimestamp = 0L;
private volatile double maxDataWriteRate = 0.0;

@SuppressWarnings("this-escape")
public S3Storage(Config config, WriteAheadLog deltaWAL, StreamManager streamManager, ObjectManager objectManager,
S3BlockCache blockCache, ObjectStorage objectStorage) {
this.config = config;
Expand Down
484 changes: 0 additions & 484 deletions s3stream/src/main/java/com/automq/stream/s3/cache/BlockCache.java

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 96edd72

Please sign in to comment.