Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions context/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
description = 'gRPC: Context'

dependencies {
testCompile project(':grpc-testing')
testCompile project(':grpc-core').sourceSets.test.output
testCompile libraries.jsr305
signature "org.codehaus.mojo.signature:java16:1.1@signature"
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package io.grpc;

import com.google.common.base.Preconditions;
import io.grpc.internal.IoUtils;
import com.google.common.io.ByteStreams;
import java.io.IOException;
import java.io.InputStream;
import java.util.regex.Pattern;
Expand Down Expand Up @@ -45,7 +45,7 @@ protected Class<?> findClass(String name) throws ClassNotFoundException {
}
byte[] b;
try {
b = IoUtils.toByteArray(is);
b = ByteStreams.toByteArray(is);
} catch (IOException ex) {
throw new ClassNotFoundException(name, ex);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import com.google.common.truth.FailureStrategy;
import com.google.common.truth.SubjectFactory;
import io.grpc.Deadline;
import io.grpc.ExperimentalApi;
import java.math.BigInteger;
import java.util.concurrent.TimeUnit;
import javax.annotation.CheckReturnValue;
Expand All @@ -32,7 +31,6 @@
/**
* Propositions for {@link Deadline} subjects.
*/
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/3613")
public final class DeadlineSubject extends ComparableSubject<DeadlineSubject, Deadline> {
private static final SubjectFactory<DeadlineSubject, Deadline> deadlineFactory =
new DeadlineSubjectFactory();
Expand Down Expand Up @@ -79,7 +77,6 @@ public void of(Deadline expected) {
* A partially specified proposition about an approximate relationship to a {@code deadline}
* subject using a tolerance.
*/
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/3613")
public abstract static class TolerantDeadlineComparison {

private TolerantDeadlineComparison() {}
Expand Down
3 changes: 2 additions & 1 deletion core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ dependencies {
exclude group: 'io.grpc', module: 'grpc-context'
}

testCompile project(':grpc-testing')
testCompile project(':grpc-context').sourceSets.test.output,
project(':grpc-testing')

signature "org.codehaus.mojo.signature:java16:1.1@signature"
}
Expand Down
1 change: 1 addition & 0 deletions interop-testing/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ dependencies {
libraries.oauth_client,
libraries.truth
runtime libraries.opencensus_impl
testCompile project(':grpc-context').sourceSets.test.output
}

configureProtoCompilation()
Expand Down