mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-18 07:25:41 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user