Browse Source

新增作者

bugfix
Jiaju Zhuang 3 years ago
parent
commit
44b5dedbfa
  1. 9
      src/main/java/com/alibaba/excel/util/StringUtils.java

9
src/main/java/com/alibaba/excel/util/StringUtils.java

@ -1,5 +1,6 @@
package com.alibaba.excel.util;
/*
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
@ -12,8 +13,9 @@ package com.alibaba.excel.util;
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @author Apache Software Foundation (ASF)
*/
public class StringUtils {
private StringUtils() {}
@ -194,7 +196,6 @@ public class StringUtils {
return true;
}
/**
* <p>Checks if the CharSequence contains only Unicode digits.
* A decimal point is not a Unicode digit and returns false.</p>
@ -221,7 +222,7 @@ public class StringUtils {
* StringUtils.isNumeric("+123") = false
* </pre>
*
* @param cs the CharSequence to check, may be null
* @param cs the CharSequence to check, may be null
* @return {@code true} if only contains digits, and is non-null
* @since 3.0 Changed signature from isNumeric(String) to isNumeric(CharSequence)
* @since 3.0 Changed "" to return false and not true

Loading…
Cancel
Save