mirror of
https://codeberg.org/PGPainless/sop-java.git
synced 2024-12-22 04:57:56 +01:00
Add missing @throws javadoc
This commit is contained in:
parent
419056ba4c
commit
ab8f44138d
2 changed files with 2 additions and 0 deletions
|
@ -33,6 +33,7 @@ public class UTCUtil {
|
|||
*
|
||||
* @param dateString string
|
||||
* @return date
|
||||
* @throws ParseException if the date string is malformed and cannot be parsed
|
||||
*/
|
||||
@Nonnull
|
||||
public static Date parseUTCDate(String dateString) throws ParseException {
|
||||
|
|
|
@ -26,6 +26,7 @@ public class UTF8Util {
|
|||
* @param data utf-8 encoded bytes
|
||||
*
|
||||
* @return decoded string
|
||||
* @throws CharacterCodingException if the input data does not resemble UTF8
|
||||
*/
|
||||
public static String decodeUTF8(byte[] data)
|
||||
throws CharacterCodingException {
|
||||
|
|
Loading…
Reference in a new issue