Skip to content

Commit

Permalink
1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
noear committed Nov 23, 2021
1 parent 9e51836 commit 047cb6b
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 110 deletions.
36 changes: 0 additions & 36 deletions _test/src/main/java/Demo1.java

This file was deleted.

31 changes: 0 additions & 31 deletions _test/src/main/java/Demo2.java

This file was deleted.

32 changes: 0 additions & 32 deletions _test/src/main/java/Demo3.java

This file was deleted.

12 changes: 1 addition & 11 deletions _test/src/main/java/webapp/Config.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/
@Configuration
public class Config {
@Bean("map1")
@Bean(value = "map1", typed = true)
public Map<String, Object> map() {
Map<String, Object> map = new HashMap<>();
map.put("1", 1);
Expand All @@ -27,14 +27,4 @@ public void test(@Inject("map1") BeanWrap bw) {
Map map = bw.get();
System.out.println("map::" + map.toString());
}

// @Bean
// public CacheService cache(){
// return new LocalCacheService();
// }

// @Init
// public void xxx(){
// throw new RuntimeException("xxxxxx");
// }
}

0 comments on commit 047cb6b

Please sign in to comment.