Skip to content

Commit

Permalink
Refactor : 출력문 삭제 (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
chanmin-00 committed Jan 24, 2025
1 parent b052df1 commit ad14835
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/main/java/com/ripple/BE/image/s3/S3Uploader.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ public S3Info uploadFileToS3(File file, String folderName) {
String fileName = buildFileName(folderName, file.getName());
String uploadUrl = uploadToS3(file, fileName);

System.out.println("uploadUrl: " + uploadUrl);
file.delete();

return buildS3Info(folderName, file, uploadUrl);
Expand Down Expand Up @@ -67,9 +66,6 @@ private static File convertToFile(MultipartFile file) throws ImageException {
File convertedFile =
new File(System.getProperty("user.dir") + "/" + UUID.randomUUID() + "." + fileExtension);

System.out.println("convertedFile: " + convertedFile.getName());
System.out.println("convertedFile: " + convertedFile.getAbsolutePath());

try (FileOutputStream fos = new FileOutputStream(convertedFile)) {
fos.write(file.getBytes());
} catch (IOException e) {
Expand Down

0 comments on commit ad14835

Please sign in to comment.