mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Renaming 'recieved' to 'received'
This commit is contained in:
parent
d32cd96a74
commit
fe22bfc125
@ -26,11 +26,11 @@ import io.swagger.annotations.ApiModelProperty;
|
||||
+ " responses")
|
||||
public class OperationResponse {
|
||||
|
||||
@ApiModelProperty(name = "response", value = "Operation response return from the device", required = true)
|
||||
@ApiModelProperty(name = "response", value = "Operation response returned from the device", required = true)
|
||||
private String response;
|
||||
@ApiModelProperty(name = "recievedTimeStamp", value = "Time that the operation response received",
|
||||
@ApiModelProperty(name = "receivedTimeStamp", value = "Time that the operation response received",
|
||||
required = true)
|
||||
private String recievedTimeStamp;
|
||||
private String receivedTimeStamp;
|
||||
|
||||
public String getResponse() {
|
||||
return response;
|
||||
@ -40,12 +40,12 @@ public class OperationResponse {
|
||||
this.response = response;
|
||||
}
|
||||
|
||||
public String getRecievedTimeStamp() {
|
||||
return recievedTimeStamp;
|
||||
public String getReceivedTimeStamp() {
|
||||
return receivedTimeStamp;
|
||||
}
|
||||
|
||||
public void setRecievedTimeStamp(String recievedTimeStamp) {
|
||||
this.recievedTimeStamp = recievedTimeStamp;
|
||||
public void setReceivedTimeStamp(String receivedTimeStamp) {
|
||||
this.receivedTimeStamp = receivedTimeStamp;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -207,7 +207,7 @@ public class GenericOperationDAOImpl implements OperationDAO {
|
||||
|
||||
while (rs.next()) {
|
||||
OperationResponse response = new OperationResponse();
|
||||
response.setRecievedTimeStamp(rs.getTimestamp("RECEIVED_TIMESTAMP").toString());
|
||||
response.setReceivedTimeStamp(rs.getTimestamp("RECEIVED_TIMESTAMP").toString());
|
||||
ByteArrayInputStream bais = null;
|
||||
ObjectInputStream ois = null;
|
||||
byte[] contentBytes;
|
||||
@ -435,7 +435,7 @@ public class GenericOperationDAOImpl implements OperationDAO {
|
||||
ClassNotFoundException, IOException, SQLException {
|
||||
OperationResponse response = new OperationResponse();
|
||||
if (rs.getTimestamp("RECEIVED_TIMESTAMP") != (null)) {
|
||||
response.setRecievedTimeStamp(rs.getTimestamp("RECEIVED_TIMESTAMP").toString());
|
||||
response.setReceivedTimeStamp(rs.getTimestamp("RECEIVED_TIMESTAMP").toString());
|
||||
}
|
||||
ByteArrayInputStream bais = null;
|
||||
ObjectInputStream ois = null;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user