Skip to content

Commit

Permalink
Use long instead of float in Capacity class to reflect proto buffer type
Browse files Browse the repository at this point in the history
changes.
  • Loading branch information
chiaming2000 committed Apr 30, 2014
1 parent b09def4 commit bf447a0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions kinetic-client/src/main/java/kinetic/admin/Capacity.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,24 @@

public class Capacity {
// total capacity of hard disk
private float total;
private long total;

// remaining capacity of hard disk
private float remaining;
private long remaining;

public float getTotal() {
public long getTotal() {
return total;
}

public void setTotal(float total) {
public void setTotal(long total) {
this.total = total;
}

public float getRemaining() {
public long getRemaining() {
return remaining;
}

public void setRemaining(float remaining) {
public void setRemaining(long remaining) {
this.remaining = remaining;
}
}

0 comments on commit bf447a0

Please sign in to comment.