javadoc tweaks

This commit is contained in:
zzz
2017-12-09 17:37:02 +00:00
parent 2e00cec408
commit 8e51ca7f39
2 changed files with 3 additions and 1 deletions

View File

@ -1526,7 +1526,7 @@ public class DataHelper {
/** /**
* Caller should append 'B' or 'b' as appropriate * Caller should append 'B' or 'b' as appropriate
* NOTE: formatDuration2() recommended in most cases for readability * NOTE: formatSize2() recommended in most cases for readability
*/ */
public static String formatSize(long bytes) { public static String formatSize(long bytes) {
float val = bytes; float val = bytes;

View File

@ -9,6 +9,8 @@ import net.i2p.crypto.SigType;
/** /**
* This certificate type gets its own class because it's going to be used a lot. * This certificate type gets its own class because it's going to be used a lot.
* *
* Format is: 2 byte sig type, 2 byte crypto type, excess sig data, excess crypto data.
*
* The crypto type is assumed to be always 0x0000 (ElG) for now. * The crypto type is assumed to be always 0x0000 (ElG) for now.
* *
* @since 0.9.12 * @since 0.9.12