diff --git a/boot-service/src/main/java/com/xwbing/demo/Ademo.java b/boot-service/src/main/java/com/xwbing/demo/Ademo.java index d094d44..440cd02 100644 --- a/boot-service/src/main/java/com/xwbing/demo/Ademo.java +++ b/boot-service/src/main/java/com/xwbing/demo/Ademo.java @@ -1,8 +1,5 @@ package com.xwbing.demo; -import java.util.ArrayList; -import java.util.List; - /** * 项目名称: boot-module-demo * 创建时间: 2018/1/23 14:45 @@ -11,17 +8,15 @@ import java.util.List; */ public class Ademo { public static void main(String[] args) { - qq: - for(int i=0;i<10;i++) { - for(int j=0;j<10;j++) { - if(j == 5) break qq; - } - } - System.out.println("11"=="11"); - System.out.println("11".equalsIgnoreCase(new String("11"))); - List integers = new ArrayList<>(); - Integer integer1 = integers.stream().reduce((integer, integer2) -> integer + integer2).get(); - System.out.println(integer1); + String a="aaaaa"; + String b="bbbbb"; + String aa = aa(a); + System.out.println(aa); } + public static String aa(String aa){ + aa="aa"; + return aa; + } + } diff --git a/boot-web/pom.xml b/boot-web/pom.xml index acd7420..eeda06b 100644 --- a/boot-web/pom.xml +++ b/boot-web/pom.xml @@ -67,6 +67,12 @@ org.springframework.boot spring-boot-starter-aop + + + commons-fileupload + commons-fileupload + ${fileUpLoad.version} + boot-web diff --git a/pom.xml b/pom.xml index f1fb911..a96e359 100644 --- a/pom.xml +++ b/pom.xml @@ -93,9 +93,9 @@ commons-beanutils - commons-fileupload - commons-fileupload - ${fileUpLoad.version} + commons-io + commons-io + 2.2