본문 바로가기

분류 전체보기123

Unboxing of 'originalCount' may produce 'NullPointerException' https://stackoverflow.com/questions/69574185/unboxing-may-produce-null-pointer-exception-after-checking-if-key-exists-in-map Unboxing may produce Null Pointer Exception after checking if key exists in Map Android Studio gives the warning: Unboxing of 'idCollisonMap.get(currentId)' may produce 'NullPointerException' even though I am checking if the key exists before I perform the Map.get(). Am I .. 2024. 2. 20.
The call to 'get' always fails as an argument is out of bounds https://stackoverflow.com/questions/51598318/the-call-to-get-always-fails-to-index-as-index-is-out-of-bounds The call to "get" always fails to index as index is out of bounds I hope I am not writing here a duplicate question, I tried to look it up but I didn't find anything. So I have a class with the name Map, for which I try to configure my generator function so that... stackoverflow.com 2024. 2. 20.
Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'PATCH' is not supported] https://jie0025.tistory.com/327 [HTTP] 405 Method Not Allowed 요청메세지를 날렸는데 405가 나왔다. WARN 15231 --- [nio-8080-exec5] o.s.web.servlet.PageNotFound : Request method 'PATCH' not supported WARN 15231 --- [nio-8080-exec-5] .m.m.a.ExceptionHandlerExceptionResolver : Resolved [org.springframework. jie0025.tistory.com 2024. 2. 20.
재료 수량 수정 put patch https://programmer93.tistory.com/39 HTTP 메소드 PUT , PATCH 차이 - 삽질중인 개발자 HTTP Method 중에 PUT와 PATCH는 리소스의 업데이트를 의미한다. 리소스를 업데이트 한다는 점에서는 같은 역할을 하는 메소드처럼 보이지만 두개의 요청에는 약간의 차이가 있다. PUT : 리소스의 모든 programmer93.tistory.com https://velog.io/@vagabondms/%EA%B8%B0%EC%88%A0-%EC%8A%A4%ED%84%B0%EB%94%94-PUT%EA%B3%BC-PATCH-%EC%B0%A8%EC%9D%B4 [ 기술 스터디 ] PUT과 PATCH 차이 PUT과 PATCH 사이. 미묘한 무언가가 있다. velog.io https:/.. 2024. 2. 20.
localdate localdatetime https://sunghs.tistory.com/128 [JAVA] LocalDate, LocalTime, LocalDateTime 정리 LocalDate, LocalTime, LocalDateTime 정리 JodaTime이 Java의 기본으로 통합되며 생긴 날짜/시간 Object, Java8 부터 사용 가능하다. LocalDate : 년,월,일 정보 LocalTime : 시,분,(초),(나노초) 정보 LocalDateTime : 년,월,일, sunghs.tistory.com 2024. 2. 19.
extends BaseTimeEntity 해도 date가 null로 뜨는 경우 @MappedSuperclass https://dkswnkk.tistory.com/542 [Spring] [BaseTimeEntity, JPA Auditing]을 통한 생성시간/수정시간 자동화 서론 보통 엔티티(entity)에는 해당 데이터의 생성 시간과 수정시간을 포함한 컬럼이 항상 존재합니다. 언제 만들어졌는지, 언제 수정되었는지 등은 차후 유지보수에 있어 굉장히 중요한 정보이 dkswnkk.tistory.com 2024. 2. 19.
nullpointerexception cannot invoke because is null https://9hyuk9.tistory.com/89 [Spring] Cannot invoke "" because "" is null 오류 해결 서비스 코드에서 레파지토리를 사용하려고 하는데 제목과 같은 오류가 났을 경우 Repository 선언에 아래와 같이 final을 붙이면 된다. 안 붙이게 되면 빈 주입이 되지 않아 null이 된다. private final Use 9hyuk9.tistory.com 2024. 2. 18.
URI 규칙 회원 탈퇴는 딱히 단어가 떠오르지 않음. 네이버 찾아보니까 URI가 leaveId로 되어 있음. 그래서 우리 프로젝트 URI도 members/leave로 할까 하다가 탈퇴하면 그 회원의 정보들도 싹 삭제할 거여서 delete가 의미가 더 와닿을 것 같아서 members/delete로 정했음. 구글은 delete account였고, AWS는 close account였음. 2024. 2. 18.