Skip to content

Commit 62caa80

Browse files
authored
new spring boot version, import cleanup (#4)
1 parent 941343f commit 62caa80

File tree

2 files changed

+1
-42
lines changed

2 files changed

+1
-42
lines changed

pom.xml

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -9,38 +9,25 @@
99
<parent>
1010
<groupId>org.springframework.boot</groupId>
1111
<artifactId>spring-boot-starter-parent</artifactId>
12-
<version>1.5.4.RELEASE</version>
12+
<version>1.5.5.RELEASE</version>
1313
<relativePath/> <!-- .. lookup parent from repository -->
1414
</parent>
1515

1616
<properties>
1717
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1818
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
1919
<java.version>1.8</java.version>
20-
<fabric8.mode>kubernetes</fabric8.mode>
2120
</properties>
2221

2322

2423
<dependencies>
2524
<dependency>
2625
<groupId>org.springframework.boot</groupId>
2726
<artifactId>spring-boot-starter-actuator</artifactId>
28-
<version>1.5.4.RELEASE</version>
2927
</dependency>
3028
<dependency>
3129
<groupId>org.springframework.boot</groupId>
3230
<artifactId>spring-boot-starter-web</artifactId>
33-
<version>1.5.4.RELEASE</version>
34-
</dependency>
35-
<dependency>
36-
<groupId>org.springframework.cloud</groupId>
37-
<artifactId>spring-cloud-starter-hystrix</artifactId>
38-
<version>1.3.1.RELEASE</version>
39-
</dependency>
40-
<dependency>
41-
<groupId>org.springframework.cloud</groupId>
42-
<artifactId>spring-cloud-starter-hystrix-dashboard</artifactId>
43-
<version>1.3.1.RELEASE</version>
4431
</dependency>
4532
<dependency>
4633
<groupId>org.springframework.boot</groupId>
@@ -59,9 +46,6 @@
5946
<artifactId>spring-boot-maven-plugin</artifactId>
6047
</plugin>
6148
</plugins>
62-
6349
</build>
64-
65-
6650
</project>
6751

src/main/java/com.ericsson.ei.frontend/SubscriptionFilesController.java

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -16,45 +16,20 @@
1616
*/
1717
package com.ericsson.ei.frontend;
1818

19-
import java.io.BufferedInputStream;
20-
import java.io.BufferedReader;
2119
import java.io.File;
22-
import java.io.FileInputStream;
2320
import java.io.FileNotFoundException;
2421
import java.io.IOException;
2522
import java.io.InputStream;
26-
import java.io.InputStreamReader;
27-
import java.io.StringWriter;
28-
import java.net.URL;
29-
import java.nio.charset.Charset;
30-
import java.nio.charset.StandardCharsets;
31-
import java.nio.file.Files;
32-
import java.nio.file.Path;
33-
import java.nio.file.Paths;
34-
3523
import javax.servlet.ServletContext;
36-
import javax.servlet.http.HttpServletRequest;
3724
import javax.servlet.http.HttpServletResponse;
38-
39-
import org.omg.IOP.Encoding;
4025
import org.springframework.beans.factory.annotation.Autowired;
4126
import org.springframework.beans.factory.annotation.Value;
42-
import org.springframework.boot.context.properties.ConfigurationProperties;
43-
import org.springframework.core.io.Resource;
4427
import org.springframework.core.io.ResourceLoader;
4528
import org.springframework.stereotype.Controller;
46-
import org.springframework.util.FileCopyUtils;
4729
import org.springframework.web.bind.annotation.RequestMapping;
4830
import org.springframework.web.bind.annotation.RequestMethod;
49-
import org.springframework.web.bind.annotation.ResponseBody;
50-
51-
import com.google.common.io.CharStreams;
52-
import com.sun.glass.ui.Application;
5331
import org.apache.tomcat.util.http.fileupload.IOUtils;
5432

55-
import org.springframework.web.bind.annotation.RequestBody;
56-
57-
5833
@Controller
5934
public class SubscriptionFilesController {
6035

0 commit comments

Comments
 (0)