Commit 70648b0e by Dave Syer

Tidy compiler warnings

parent 238c1329
package org.springframework.cloud.netflix.feign;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.beans.factory.FactoryBean;
/**
* @author Spencer Gibb
*/
@Data
@EqualsAndHashCode(callSuper=false)
class FeignClientFactoryBean extends FeignConfiguration implements FactoryBean<Object> {
boolean loadbalance;
Class<?> type;
String schemeName;
private boolean loadbalance;
private Class<?> type;
private String schemeName;
@Override
public Object getObject() throws Exception {
......
......@@ -78,7 +78,7 @@ public class FeignConfiguration {
}
protected <T> T loadBalance(Feign.Builder builder, Class<T> type, String schemeName) {
String name = URI.create(schemeName).getHost();
URI.create(schemeName).getHost();
if(ribbonClient != null) {
return builder.client(ribbonClient).target(type, schemeName);
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment