Skip to content

Commit 2a376f3

Browse files
committed
renamed the field hostip to hostIp and removed duplicated methods
apache#9394 (comment)
1 parent 1a55f08 commit 2a376f3

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

engine/schema/src/main/java/com/cloud/storage/VolumeVO.java

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public class VolumeVO implements Volume {
100100
private long dataCenterId;
101101

102102
@Column(name = "host_ip")
103-
private String hostip;
103+
private String hostIp;
104104

105105
@Column(name = "disk_offering_id")
106106
private long diskOfferingId;
@@ -425,11 +425,11 @@ public void setPath(String path) {
425425
}
426426

427427
public String getHostIp() {
428-
return hostip;
428+
return hostIp;
429429
}
430430

431431
public void setHostIp(String hostip) {
432-
this.hostip = hostip;
432+
this.hostIp = hostip;
433433
}
434434

435435
public void setPodId(Long podId) {
@@ -683,14 +683,6 @@ public void setCreated(Date created) {
683683
this.created = created;
684684
}
685685

686-
public String getHostip() {
687-
return hostip;
688-
}
689-
690-
public void setHostip(String hostip) {
691-
this.hostip = hostip;
692-
}
693-
694686
public void setUpdatedCount(long updatedCount) {
695687
this.updatedCount = updatedCount;
696688
}

0 commit comments

Comments
 (0)