摘要: Spring @Configuration 和 @Component 区别 下面看看实现的细节。 从定义来看, @Configuration 注解本质上还是 @Component,因此 <context:component-scan/> 或者 @ComponentScan 都能处理@Configur 阅读全文
posted @ 2019-04-24 16:01 Boblim 阅读(18510) 评论(0) 推荐(4)
摘要: 这是由于换行符在不同的操作系统上定义的区别造成的。 Windows用CR LF来定义换行,Linux用LF。CR全称是Carriage Return ,或者表示为\r, 意思是回车。 LF全称是Line Feed,它才是真正意义上的换行表示符。为什么Windows添加一个CR和LF组合表示,我并不清 阅读全文
posted @ 2019-04-24 14:02 Boblim 阅读(2868) 评论(0) 推荐(0)