Marked some classes as final
This commit is contained in:
Родитель
f665f49895
Коммит
4ca0ff3cd9
|
@ -38,7 +38,7 @@ import java.util.concurrent.TimeUnit;
|
|||
import static com.google.common.base.Preconditions.checkArgument;
|
||||
import static com.google.common.base.Preconditions.checkNotNull;
|
||||
|
||||
public class RntbdRequestRecord extends CompletableFuture<StoreResponse> {
|
||||
public final class RntbdRequestRecord extends CompletableFuture<StoreResponse> {
|
||||
|
||||
private final RntbdRequestArgs args;
|
||||
private final RntbdRequestTimer timer;
|
||||
|
|
|
@ -55,7 +55,7 @@ import java.util.stream.Stream;
|
|||
import static com.google.common.base.Preconditions.checkNotNull;
|
||||
import static com.microsoft.azure.cosmosdb.internal.directconnectivity.RntbdTransportClient.Metrics;
|
||||
|
||||
public class RntbdServiceEndpoint implements RntbdEndpoint {
|
||||
public final class RntbdServiceEndpoint implements RntbdEndpoint {
|
||||
|
||||
private static final String className = RntbdServiceEndpoint.class.getCanonicalName();
|
||||
private static final AtomicLong instanceCount = new AtomicLong();
|
||||
|
|
|
@ -85,7 +85,7 @@ import static com.microsoft.azure.cosmosdb.internal.HttpConstants.SubStatusCodes
|
|||
import static org.testng.Assert.assertTrue;
|
||||
import static org.testng.Assert.fail;
|
||||
|
||||
public class RntbdTransportClientTest {
|
||||
public final class RntbdTransportClientTest {
|
||||
|
||||
private static final Logger logger = LoggerFactory.getLogger(RntbdTransportClientTest.class);
|
||||
private static final int lsn = 5;
|
||||
|
|
Загрузка…
Ссылка в новой задаче