This commit is contained in:
looly
2021-12-07 17:13:01 +08:00
parent 59dbdffb1a
commit c53b77924d
2 changed files with 4 additions and 3 deletions

View File

@@ -211,7 +211,7 @@ public class StyleUtil {
* @return 数据格式
* @since 5.5.5
*/
public Short getFormat(Workbook workbook, String format) {
public static Short getFormat(Workbook workbook, String format) {
final DataFormat dataFormat = workbook.createDataFormat();
return dataFormat.getFormat(format);
}