Skip to content
This repository has been archived by the owner on Dec 23, 2023. It is now read-only.

Commit

Permalink
Move the fake server impl to test.
Browse files Browse the repository at this point in the history
  • Loading branch information
songy23 committed Oct 9, 2018
1 parent 8c56cf1 commit 1ddc796
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
import java.io.IOException;
import java.net.InetSocketAddress;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.concurrent.Executor;
import java.util.concurrent.atomic.AtomicReference;
Expand Down Expand Up @@ -111,12 +112,12 @@ public StreamObserver<ExportTraceServiceRequest> export(

// Returns the stored CurrentLibraryConfigs.
List<CurrentLibraryConfig> getCurrentLibraryConfigs() {
return currentLibraryConfigs;
return Collections.unmodifiableList(currentLibraryConfigs);
}

// Returns the stored ExportTraceServiceRequests.
List<ExportTraceServiceRequest> getExportTraceServiceRequests() {
return exportTraceServiceRequests;
return Collections.unmodifiableList(exportTraceServiceRequests);
}

// Sets the UpdatedLibraryConfig that will be passed to client.
Expand Down

0 comments on commit 1ddc796

Please sign in to comment.