修改变量名

This commit is contained in:
yizhaorong
2020-06-11 07:32:36 +08:00
parent c94ba2d7c3
commit d87bb6edfe
@@ -37,14 +37,14 @@ public class ImageUtils {
/**
* 重置图片大小
* @param soureFilePath
* @param sourceFilePath
* @param targetFilePath
* @param height
* @param width
*/
public static void resize(String soureFilePath, String targetFilePath, int width, int height) {
public static void resize(String sourceFilePath, String targetFilePath, int width, int height) {
try {
File input = new File(soureFilePath);
File input = new File(sourceFilePath);
File output = new File(targetFilePath);
output.mkdirs();
BufferedImage image = ImageIO.read(input);