Skip to content

Commit bf447a0

Browse files
committed
Use long instead of float in Capacity class to reflect proto buffer type
changes.
1 parent b09def4 commit bf447a0

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

kinetic-client/src/main/java/kinetic/admin/Capacity.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,24 +19,24 @@
1919

2020
public class Capacity {
2121
// total capacity of hard disk
22-
private float total;
22+
private long total;
2323

2424
// remaining capacity of hard disk
25-
private float remaining;
25+
private long remaining;
2626

27-
public float getTotal() {
27+
public long getTotal() {
2828
return total;
2929
}
3030

31-
public void setTotal(float total) {
31+
public void setTotal(long total) {
3232
this.total = total;
3333
}
3434

35-
public float getRemaining() {
35+
public long getRemaining() {
3636
return remaining;
3737
}
3838

39-
public void setRemaining(float remaining) {
39+
public void setRemaining(long remaining) {
4040
this.remaining = remaining;
4141
}
4242
}

0 commit comments

Comments
 (0)