movierecommend icon indicating copy to clipboard operation
movierecommend copied to clipboard

Missing @Component or @Configuration on class

Open oneturkmen opened this issue 3 years ago • 0 comments

The following class uses @Bean on a field, but is missing @Component or @Configuration annotation on the class. Is it intentional?

https://github.com/pq-dong/movierecommend/blob/625092676e2dfb2b2ee29952a0da55deb3a548ab/src/main/java/pqdong/movie/recommend/config/ElasticSearchConfig.java#L14

Reference: https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/context/annotation/Bean.html

oneturkmen avatar Aug 12 '21 21:08 oneturkmen