code cleanup
[fanfix.git] / src / be / nikiroo / fanfix / reader / ui / GuiReaderBookInfo.java
index 23d4c3160169e0244a1070720d376fc0aba06ab6..eb6dfbf36294a1f8711b173b394d25187222ba8a 100644 (file)
@@ -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.utils.StringUtils;
 
 /**
  * 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
+        * 
+        * @deprecated use {@link StringUtils} after update instead
         */
+       @Deprecated
        static private String formatNumber(long number) {
+               // TODO: replace with StringUtils after update
                String displayNumber;
                if (number >= 4000) {
                        displayNumber = "" + (number / 1000) + "k";