Java
[Java-source quality] Redundant Modifier
다음과 같은 인터페이스를 작성하고 commit을 하자 코드 퀄리티 툴에서 경고 메시지를 주었습니다. import org.springframework.web.multipart.MultipartFile; public interface IFileService { public String deleteFile(String filePath) throws RuntimeException; public String restore(MultipartFile multipartFile) throws RuntimeException; } Warning:(9, 5) Modifier 'public' is redundant for interface methods redundant는 불필요한의 뜻으로 인터페이스의 메소드를 위한 publi..
2020. 5. 29. 19:09
최근댓글