PAN-64 Errors

This commit is contained in:
BrittanyBi
2019-04-22 12:42:28 -06:00
parent 27b28c1f36
commit 3ee3d1bb06
2 changed files with 1 additions and 10 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ repositories {
dependencies { dependencies {
compile group: 'org.apache.httpcomponents', name: 'httpcore', version: '4.4.11' compile group: 'org.apache.httpcomponents', name: 'httpcore', version: '4.4.11'
compile group: 'org.apache.httpcomponents', name: 'fluent-hc', version: '4.5.7' compile group: 'org.apache.httpcomponents', name: 'fluent-hc', version: '4.5.7'
compile group: 'com.google.code.gson', name: 'gson', version: '2.7' compile group: 'com.google.code.gson', name: 'gson', version: '2.8.2'
compile group: 'org.springframework.boot', name: 'spring-boot-devtools', version: '2.0.5.RELEASE' compile group: 'org.springframework.boot', name: 'spring-boot-devtools', version: '2.0.5.RELEASE'
compile group: 'org.springframework.boot', name: 'spring-boot-starter-web', version: '2.0.5.RELEASE' compile group: 'org.springframework.boot', name: 'spring-boot-starter-web', version: '2.0.5.RELEASE'
compile group: 'javax.persistence', name: 'javax.persistence-api', version: '2.2' compile group: 'javax.persistence', name: 'javax.persistence-api', version: '2.2'
@@ -1,11 +1,7 @@
package edu.msudenver.tsp.website; package edu.msudenver.tsp.website;
import edu.msudenver.tsp.services.RestService;
import edu.msudenver.tsp.services.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication; import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
@SpringBootApplication(scanBasePackages = "edu.msudenver.tsp") @SpringBootApplication(scanBasePackages = "edu.msudenver.tsp")
public class Application { public class Application {
@@ -14,9 +10,4 @@ public class Application {
SpringApplication.run(Application.class, args); SpringApplication.run(Application.class, args);
} }
@Bean
@Autowired
public UserService userService(final RestService restService) {
return new UserService(restService);
}
} }