projects
/
pithos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Restore check for atob, since it works fine in every combination tried: Windows/Linux...
[pithos]
/
src
/
gr
/
ebs
/
gss
/
client
/
rest
/
resource
/
QuotaHolder.java
diff --git
a/src/gr/ebs/gss/client/rest/resource/QuotaHolder.java
b/src/gr/ebs/gss/client/rest/resource/QuotaHolder.java
index
f29fceb
..
26e3225
100644
(file)
--- a/
src/gr/ebs/gss/client/rest/resource/QuotaHolder.java
+++ b/
src/gr/ebs/gss/client/rest/resource/QuotaHolder.java
@@
-113,6
+113,6
@@
public class QuotaHolder implements Serializable{
}
public long percentOfFreeSpace(){
- return quotaLeftSize*100/(fileSize+quotaLeftSize);
+ return (long) ((double)quotaLeftSize*100/(fileSize+quotaLeftSize)+0.5);
}
}