Update project configuration
Fix all apache commons io dependency
This commit is contained in:
parent
efa978d020
commit
ed4cc1efb5
@ -65,7 +65,7 @@
|
||||
|
||||
<servlet.version>3.0.1</servlet.version>
|
||||
<commons-fileupload.version>1.3</commons-fileupload.version>
|
||||
<commons-io.version>2.4</commons-io.version>
|
||||
<commons-io.version>2.15.1</commons-io.version>
|
||||
<guava.version>10.0.1</guava.version>
|
||||
|
||||
<liquibase-maven-plugin.version>2.0.5</liquibase-maven-plugin.version>
|
||||
|
||||
@ -115,7 +115,6 @@
|
||||
<groupId>commons-io</groupId>
|
||||
<artifactId>commons-io</artifactId>
|
||||
<version>${commons-io.version}</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- For testing REST -->
|
||||
|
||||
@ -1,12 +1,7 @@
|
||||
package com.jasamedika.medifirst2000.controller;
|
||||
|
||||
import java.io.BufferedInputStream;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.io.OutputStream;
|
||||
import java.net.HttpURLConnection;
|
||||
import java.util.ArrayList;
|
||||
|
||||
import com.jasamedika.medifirst2000.vo.custom.BridgeEKlaimVO;
|
||||
import org.apache.commons.io.IOUtils;
|
||||
import org.json.JSONException;
|
||||
import org.json.JSONObject;
|
||||
import org.springframework.http.MediaType;
|
||||
@ -15,7 +10,12 @@ import org.springframework.web.bind.annotation.RequestMethod;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import com.jasamedika.medifirst2000.vo.custom.BridgeEKlaimVO;
|
||||
import java.io.BufferedInputStream;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.io.OutputStream;
|
||||
import java.net.HttpURLConnection;
|
||||
import java.util.ArrayList;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/e-klaim")
|
||||
@ -37,7 +37,7 @@ public class BridgingEKlaimController {
|
||||
os.close();
|
||||
|
||||
InputStream in = new BufferedInputStream(con.getInputStream());
|
||||
String result = org.apache.commons.io.IOUtils.toString(in, "UTF-8");
|
||||
String result = IOUtils.toString(in, "UTF-8");
|
||||
ArrayList<BridgeEKlaimVO> ret = new ArrayList<BridgeEKlaimVO>();
|
||||
try {
|
||||
|
||||
@ -137,7 +137,7 @@ public class BridgingEKlaimController {
|
||||
os.close();
|
||||
|
||||
InputStream in = new BufferedInputStream(con.getInputStream());
|
||||
String result = org.apache.commons.io.IOUtils.toString(in, "UTF-8");
|
||||
String result = IOUtils.toString(in, "UTF-8");
|
||||
ArrayList<BridgeEKlaimVO> ret = new ArrayList<BridgeEKlaimVO>();
|
||||
try {
|
||||
|
||||
|
||||
@ -106,7 +106,6 @@
|
||||
<groupId>commons-io</groupId>
|
||||
<artifactId>commons-io</artifactId>
|
||||
<version>${commons-io.version}</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- For testing REST -->
|
||||
|
||||
@ -106,7 +106,6 @@
|
||||
<groupId>commons-io</groupId>
|
||||
<artifactId>commons-io</artifactId>
|
||||
<version>${commons-io.version}</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- For testing REST -->
|
||||
|
||||
@ -106,7 +106,6 @@
|
||||
<groupId>commons-io</groupId>
|
||||
<artifactId>commons-io</artifactId>
|
||||
<version>${commons-io.version}</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- For testing REST -->
|
||||
|
||||
@ -106,7 +106,6 @@
|
||||
<groupId>commons-io</groupId>
|
||||
<artifactId>commons-io</artifactId>
|
||||
<version>${commons-io.version}</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- For testing REST -->
|
||||
|
||||
@ -106,7 +106,6 @@
|
||||
<groupId>commons-io</groupId>
|
||||
<artifactId>commons-io</artifactId>
|
||||
<version>${commons-io.version}</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- For testing REST -->
|
||||
|
||||
@ -106,7 +106,6 @@
|
||||
<groupId>commons-io</groupId>
|
||||
<artifactId>commons-io</artifactId>
|
||||
<version>${commons-io.version}</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- For testing REST -->
|
||||
|
||||
@ -102,7 +102,6 @@
|
||||
<groupId>commons-io</groupId>
|
||||
<artifactId>commons-io</artifactId>
|
||||
<version>${commons-io.version}</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- For testing REST -->
|
||||
|
||||
@ -106,7 +106,6 @@
|
||||
<groupId>commons-io</groupId>
|
||||
<artifactId>commons-io</artifactId>
|
||||
<version>${commons-io.version}</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- For testing REST -->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user