Removes last vestiges of Lombok
This commit is contained in:
@@ -18,8 +18,6 @@ package org.springframework.cloud.consul.bootstraptests;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
@@ -48,7 +46,6 @@ import org.springframework.web.client.RestTemplate;
|
||||
@RestController
|
||||
@EnableConfigurationProperties
|
||||
@EnableFeignClients
|
||||
@Slf4j
|
||||
public class ConsulBootstrapApplication {
|
||||
|
||||
@Autowired
|
||||
|
||||
@@ -16,17 +16,22 @@
|
||||
|
||||
package org.springframework.cloud.consul.bootstraptests;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
/**
|
||||
* @author Spencer Gibb
|
||||
*/
|
||||
@ConfigurationProperties("sample")
|
||||
@Data
|
||||
public class SampleProperties {
|
||||
|
||||
private String prop = "default value";
|
||||
|
||||
public String getProp() {
|
||||
return prop;
|
||||
}
|
||||
|
||||
public void setProp(String prop) {
|
||||
this.prop = prop;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user