Skip to content

Commit

Permalink
Fix the project style error (apache#8609)
Browse files Browse the repository at this point in the history
**Motivation**

Fix the project style error introduced by apache#6720
  • Loading branch information
zymap authored Nov 18, 2020
1 parent 74ce5f4 commit 0f2651d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
package org.apache.pulsar.broker.service;

import io.netty.util.concurrent.Future;
import io.netty.util.concurrent.ImmediateEventExecutor;
import org.apache.bookkeeper.mledger.Entry;
import org.apache.pulsar.common.api.proto.PulsarApi;
import org.apache.pulsar.common.protocol.schema.SchemaVersion;
Expand Down Expand Up @@ -73,6 +72,6 @@ void sendLookupResponse(String brokerServiceUrl, String brokerServiceUrlTls, boo
void sendReachedEndOfTopic(long consumerId);

Future<Void> sendMessagesToConsumer(long consumerId, String topicName, Subscription subscription,
int partitionIdx, final List<Entry> entries, EntryBatchSizes batchSizes, EntryBatchIndexesAcks batchIndexesAcks,
int partitionIdx, List<Entry> entries, EntryBatchSizes batchSizes, EntryBatchIndexesAcks batchIndexesAcks,
RedeliveryTracker redeliveryTracker);
}
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ public void sendReachedEndOfTopic(long consumerId) {

@Override
public ChannelPromise sendMessagesToConsumer(long consumerId, String topicName, Subscription subscription,
int partitionIdx, final List<Entry> entries, EntryBatchSizes batchSizes, EntryBatchIndexesAcks batchIndexesAcks,
int partitionIdx, List<Entry> entries, EntryBatchSizes batchSizes, EntryBatchIndexesAcks batchIndexesAcks,
RedeliveryTracker redeliveryTracker) {
final ChannelHandlerContext ctx = cnx.ctx();
final ChannelPromise writePromise = ctx.newPromise();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,9 @@
package org.apache.pulsar.broker.service;

import io.netty.util.concurrent.Promise;
import org.apache.bookkeeper.mledger.Entry;
import org.apache.pulsar.broker.authentication.AuthenticationDataSource;
import org.apache.pulsar.common.api.proto.PulsarApi.ServerError;

import java.net.SocketAddress;
import java.util.List;
import java.util.concurrent.CompletableFuture;

public interface TransportCnx {

Expand Down

0 comments on commit 0f2651d

Please sign in to comment.