Renaming 'recieved' to 'received'

revert-70aa11f8
prabathabey 9 years ago
parent d32cd96a74
commit fe22bfc125

@ -26,11 +26,11 @@ import io.swagger.annotations.ApiModelProperty;
+ " responses") + " responses")
public class OperationResponse { 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; 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) required = true)
private String recievedTimeStamp; private String receivedTimeStamp;
public String getResponse() { public String getResponse() {
return response; return response;
@ -40,12 +40,12 @@ public class OperationResponse {
this.response = response; this.response = response;
} }
public String getRecievedTimeStamp() { public String getReceivedTimeStamp() {
return recievedTimeStamp; return receivedTimeStamp;
} }
public void setRecievedTimeStamp(String recievedTimeStamp) { public void setReceivedTimeStamp(String receivedTimeStamp) {
this.recievedTimeStamp = recievedTimeStamp; this.receivedTimeStamp = receivedTimeStamp;
} }
} }

@ -207,7 +207,7 @@ public class GenericOperationDAOImpl implements OperationDAO {
while (rs.next()) { while (rs.next()) {
OperationResponse response = new OperationResponse(); OperationResponse response = new OperationResponse();
response.setRecievedTimeStamp(rs.getTimestamp("RECEIVED_TIMESTAMP").toString()); response.setReceivedTimeStamp(rs.getTimestamp("RECEIVED_TIMESTAMP").toString());
ByteArrayInputStream bais = null; ByteArrayInputStream bais = null;
ObjectInputStream ois = null; ObjectInputStream ois = null;
byte[] contentBytes; byte[] contentBytes;
@ -435,7 +435,7 @@ public class GenericOperationDAOImpl implements OperationDAO {
ClassNotFoundException, IOException, SQLException { ClassNotFoundException, IOException, SQLException {
OperationResponse response = new OperationResponse(); OperationResponse response = new OperationResponse();
if (rs.getTimestamp("RECEIVED_TIMESTAMP") != (null)) { if (rs.getTimestamp("RECEIVED_TIMESTAMP") != (null)) {
response.setRecievedTimeStamp(rs.getTimestamp("RECEIVED_TIMESTAMP").toString()); response.setReceivedTimeStamp(rs.getTimestamp("RECEIVED_TIMESTAMP").toString());
} }
ByteArrayInputStream bais = null; ByteArrayInputStream bais = null;
ObjectInputStream ois = null; ObjectInputStream ois = null;

Loading…
Cancel
Save