[OLINGO-989] Checkbuild issues
This commit is contained in:
parent
51f7af4b9c
commit
68d2e23ad4
|
@ -60,6 +60,13 @@
|
|||
</dependencies>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-deploy-plugin</artifactId>
|
||||
<configuration>
|
||||
<skip>false</skip>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.felix</groupId>
|
||||
<artifactId>maven-bundle-plugin</artifactId>
|
||||
|
|
|
@ -87,6 +87,13 @@
|
|||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-deploy-plugin</artifactId>
|
||||
<configuration>
|
||||
<skip>false</skip>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
|
|
|
@ -70,7 +70,7 @@ public abstract class AbstractODataBasicRequest<T extends ODataResponse>
|
|||
public final Future<T> asyncExecute() {
|
||||
return odataClient.getConfiguration().getExecutor().submit(new Callable<T>() {
|
||||
@Override
|
||||
public T call() throws Exception {
|
||||
public T call() throws Exception { //NOSONAR
|
||||
return execute();
|
||||
}
|
||||
});
|
||||
|
|
|
@ -101,7 +101,7 @@ public abstract class AbstractODataStreamedRequest<V extends ODataResponse, T ex
|
|||
if (URIUtils.shouldUseRepeatableHttpBodyEntry(odataClient)) {
|
||||
futureWrapper.setWrapped(odataClient.getConfiguration().getExecutor().submit(new Callable<HttpResponse>() {
|
||||
@Override
|
||||
public HttpResponse call() throws Exception {
|
||||
public HttpResponse call() throws Exception { //NOSONAR
|
||||
((HttpEntityEnclosingRequestBase) request).setEntity(
|
||||
URIUtils.buildInputStreamEntity(odataClient, payloadManager.getBody()));
|
||||
|
||||
|
@ -114,7 +114,7 @@ public abstract class AbstractODataStreamedRequest<V extends ODataResponse, T ex
|
|||
|
||||
futureWrapper.setWrapped(odataClient.getConfiguration().getExecutor().submit(new Callable<HttpResponse>() {
|
||||
@Override
|
||||
public HttpResponse call() throws Exception {
|
||||
public HttpResponse call() throws Exception { //NOSONAR
|
||||
return doExecute();
|
||||
}
|
||||
}));
|
||||
|
|
|
@ -45,14 +45,15 @@ import org.apache.http.entity.AbstractHttpEntity;
|
|||
import org.apache.http.entity.ByteArrayEntity;
|
||||
import org.apache.http.entity.InputStreamEntity;
|
||||
import org.apache.olingo.client.api.ODataClient;
|
||||
import org.apache.olingo.client.api.domain.ClientValue;
|
||||
import org.apache.olingo.client.api.http.HttpClientFactory;
|
||||
import org.apache.olingo.client.api.http.WrappingHttpClientFactory;
|
||||
import org.apache.olingo.client.api.uri.SegmentType;
|
||||
import org.apache.olingo.client.core.http.BasicAuthHttpClientFactory;
|
||||
import org.apache.olingo.commons.api.Constants;
|
||||
import org.apache.olingo.client.api.domain.ClientValue;
|
||||
import org.apache.olingo.commons.api.edm.EdmPrimitiveTypeException;
|
||||
import org.apache.olingo.commons.api.edm.geo.Geospatial;
|
||||
import org.apache.olingo.commons.api.ex.ODataRuntimeException;
|
||||
import org.apache.olingo.commons.core.edm.primitivetype.EdmBinary;
|
||||
import org.apache.olingo.commons.core.edm.primitivetype.EdmDateTimeOffset;
|
||||
import org.apache.olingo.commons.core.edm.primitivetype.EdmDecimal;
|
||||
|
@ -293,7 +294,7 @@ public final class URIUtils {
|
|||
bytes = IOUtils.toByteArray(input);
|
||||
IOUtils.closeQuietly(input);
|
||||
} catch (IOException e) {
|
||||
throw new RuntimeException("While reading input for not chunked encoding", e);
|
||||
throw new ODataRuntimeException("While reading input for not chunked encoding", e);
|
||||
}
|
||||
|
||||
entity = new ByteArrayEntity(bytes);
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-deploy-plugin</artifactId>
|
||||
<configuration>
|
||||
<skip>${olingo.deploy.skip}</skip>
|
||||
<skip>false</skip>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
|
|
|
@ -97,4 +97,16 @@
|
|||
</exclusions>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-deploy-plugin</artifactId>
|
||||
<configuration>
|
||||
<skip>${olingo.deploy.skip}</skip>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
|
|
|
@ -239,7 +239,7 @@ public class BatchResponseSerializer {
|
|||
}
|
||||
|
||||
private byte[] getContent() {
|
||||
return content;
|
||||
return content; //NOSONAR
|
||||
}
|
||||
|
||||
private byte[] getBody(final ODataResponse response) {
|
||||
|
|
Loading…
Reference in New Issue