From 7c47ed67982e413f536484ca0f0fc72f27eeda78 Mon Sep 17 00:00:00 2001 From: ShadowWalker Date: Sun, 26 May 2019 12:32:54 -0400 Subject: [PATCH 1/2] upgrade java compiler source to 1.8 and add a type annotations for Response --- pom.xml | 2 +- .../src/main/java/com/uber/tchannel/api/SubChannel.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 2c2b6d3..14ec930 100644 --- a/pom.xml +++ b/pom.xml @@ -83,7 +83,7 @@ true true - 1.7 + 1.8 ${maven.compiler.source} false diff --git a/tchannel-core/src/main/java/com/uber/tchannel/api/SubChannel.java b/tchannel-core/src/main/java/com/uber/tchannel/api/SubChannel.java index 3bd3089..31da6a3 100644 --- a/tchannel-core/src/main/java/com/uber/tchannel/api/SubChannel.java +++ b/tchannel-core/src/main/java/com/uber/tchannel/api/SubChannel.java @@ -242,7 +242,7 @@ public TFuture send( return send(request, null, 0); } - protected TFuture sendRequest( + protected TFuture sendRequest( Request request, InetAddress host, int port From 6a2bf9a2941b55abcd2e63d394aae96fb99432c3 Mon Sep 17 00:00:00 2001 From: HenryFuhengWu Date: Sun, 2 Jun 2019 03:49:13 -0400 Subject: [PATCH 2/2] use java 8 --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index b905928..f6d6f57 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,9 +17,9 @@ env: matrix: include: - - jdk: openjdk7 + - jdk: openjdk8 env: CODECOV=true - - jdk: openjdk7 + - jdk: openjdk8 env: CROSSDOCK=true # - jdk: oraclejdk8