mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-18 05:25:45 +00:00
Resolves checkstyle issues for semaphore servant serverless service-layer service-locator (#1079)
* Reduces checkstyle errors in semaphore * Reduces checkstyle errors in servant * Reduces checkstyle errors in serverless * Reduces checkstyle errors in service-layer * Reduces checkstyle errors in service-locator
This commit is contained in:
committed by
Ilkka Seppälä
parent
37599eb48f
commit
390795154f
@@ -26,7 +26,7 @@ package com.iluwatar.serverless.faas;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* Lambda context information
|
||||
* Lambda context information.
|
||||
*/
|
||||
public class LambdaInfo implements Serializable {
|
||||
|
||||
@@ -110,22 +110,28 @@ public class LambdaInfo implements Serializable {
|
||||
|
||||
LambdaInfo that = (LambdaInfo) o;
|
||||
|
||||
if (awsRequestId != null ? !awsRequestId.equals(that.awsRequestId) : that.awsRequestId != null) {
|
||||
if (awsRequestId != null ? !awsRequestId
|
||||
.equals(that.awsRequestId) : that.awsRequestId != null) {
|
||||
return false;
|
||||
}
|
||||
if (logGroupName != null ? !logGroupName.equals(that.logGroupName) : that.logGroupName != null) {
|
||||
if (logGroupName != null ? !logGroupName
|
||||
.equals(that.logGroupName) : that.logGroupName != null) {
|
||||
return false;
|
||||
}
|
||||
if (logStreamName != null ? !logStreamName.equals(that.logStreamName) : that.logStreamName != null) {
|
||||
if (logStreamName != null ? !logStreamName
|
||||
.equals(that.logStreamName) : that.logStreamName != null) {
|
||||
return false;
|
||||
}
|
||||
if (functionName != null ? !functionName.equals(that.functionName) : that.functionName != null) {
|
||||
if (functionName != null ? !functionName
|
||||
.equals(that.functionName) : that.functionName != null) {
|
||||
return false;
|
||||
}
|
||||
if (functionVersion != null ? !functionVersion.equals(that.functionVersion) : that.functionVersion != null) {
|
||||
if (functionVersion != null ? !functionVersion
|
||||
.equals(that.functionVersion) : that.functionVersion != null) {
|
||||
return false;
|
||||
}
|
||||
return memoryLimitInMb != null ? memoryLimitInMb.equals(that.memoryLimitInMb) : that.memoryLimitInMb == null;
|
||||
return memoryLimitInMb != null ? memoryLimitInMb
|
||||
.equals(that.memoryLimitInMb) : that.memoryLimitInMb == null;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user