mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
fixed java doc error
This commit is contained in:
@@ -20,7 +20,6 @@ package com.alibaba.druid.util;
|
||||
*
|
||||
* @author Josh Bloch
|
||||
* @version %I%, %G%
|
||||
* @see Preferences
|
||||
* @since 1.4
|
||||
*/
|
||||
public class Base64 {
|
||||
@@ -103,8 +102,6 @@ public class Base64 {
|
||||
|
||||
/**
|
||||
* Translates the specified Base64 string (as per Preferences.get(byte[])) into a byte array.
|
||||
*
|
||||
* @throw IllegalArgumentException if <tt>s</tt> is not a valid Base64 string.
|
||||
*/
|
||||
public static byte[] base64ToByteArray(String s) {
|
||||
return base64ToByteArray(s, false);
|
||||
@@ -112,9 +109,6 @@ public class Base64 {
|
||||
|
||||
/**
|
||||
* Translates the specified "alternate representation" Base64 string into a byte array.
|
||||
*
|
||||
* @throw IllegalArgumentException or ArrayOutOfBoundsException if <tt>s</tt> is not a valid alternate
|
||||
* representation Base64 string.
|
||||
*/
|
||||
public static byte[] altBase64ToByteArray(String s) {
|
||||
return base64ToByteArray(s, true);
|
||||
|
||||
Reference in New Issue
Block a user