git://git.nikiroo.be
/
fanfix.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
code cleanup
[fanfix.git]
/
src
/
be
/
nikiroo
/
fanfix
/
reader
/
ui
/
GuiReaderBookInfo.java
diff --git
a/src/be/nikiroo/fanfix/reader/ui/GuiReaderBookInfo.java
b/src/be/nikiroo/fanfix/reader/ui/GuiReaderBookInfo.java
index 23d4c3160169e0244a1070720d376fc0aba06ab6..eb6dfbf36294a1f8711b173b394d25187222ba8a 100644
(file)
--- a/
src/be/nikiroo/fanfix/reader/ui/GuiReaderBookInfo.java
+++ b/
src/be/nikiroo/fanfix/reader/ui/GuiReaderBookInfo.java
@@
-5,6
+5,7
@@
import be.nikiroo.fanfix.data.MetaData;
import be.nikiroo.fanfix.data.Story;
import be.nikiroo.fanfix.library.BasicLibrary;
import be.nikiroo.utils.Image;
import be.nikiroo.fanfix.data.Story;
import be.nikiroo.fanfix.library.BasicLibrary;
import be.nikiroo.utils.Image;
+import be.nikiroo.utils.StringUtils;
/**
* Some meta information related to a "book" (which can either be a
/**
* Some meta information related to a "book" (which can either be a
@@
-220,8
+221,12
@@
public class GuiReaderBookInfo {
* the number to parse
*
* @return the displayable version of the number
* the number to parse
*
* @return the displayable version of the number
+ *
+ * @deprecated use {@link StringUtils} after update instead
*/
*/
+ @Deprecated
static private String formatNumber(long number) {
static private String formatNumber(long number) {
+ // TODO: replace with StringUtils after update
String displayNumber;
if (number >= 4000) {
displayNumber = "" + (number / 1000) + "k";
String displayNumber;
if (number >= 4000) {
displayNumber = "" + (number / 1000) + "k";