local variable type inference changes (#1028)

* local variable type inference changes

replacing type with var

* the type changed back to String

since it is initializing to null and later having different value, it is throwing error in Travis-CI.  Made changes.
This commit is contained in:
GVSharma
2019-10-23 19:55:45 +05:30
committed by Ilkka Seppälä
parent 4904d7eea0
commit acaa6cdc62
3 changed files with 4 additions and 4 deletions
@@ -130,7 +130,7 @@ public class LambdaInfo implements Serializable {
@Override
public int hashCode() {
int result = awsRequestId != null ? awsRequestId.hashCode() : 0;
var result = awsRequestId != null ? awsRequestId.hashCode() : 0;
result = 31 * result + (logGroupName != null ? logGroupName.hashCode() : 0);
result = 31 * result + (logStreamName != null ? logStreamName.hashCode() : 0);
result = 31 * result + (functionName != null ? functionName.hashCode() : 0);