Change in ovirt-engine-sdk-java[master]: codegen: Remove explicit dependency on httpclient

juan.hernandez at redhat.com juan.hernandez at redhat.com
Thu Jan 2 16:59:25 UTC 2014


Juan Hernandez has submitted this change and it was merged.

Change subject: codegen: Remove explicit dependency on httpclient
......................................................................


codegen: Remove explicit dependency on httpclient

Currently the code generator depends explictly on the httpclient because
many methods declare org.apache.http.client.ClientProtocolException as
one of the exceptions that they may throw. But all these methods already
declare that they may throw the more generic java.io.IOException, so the
former is redundant. This patch removes the dependency from the POM and
the exception from the throws declarations.

Change-Id: I8f5fdbb0d82d9606763ef16786438e30ac53a8fc
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M ovirt-engine-sdk-java-codegen/pom.xml
M ovirt-engine-sdk-java-codegen/src/main/java/org/ovirt/engine/sdk/codegen/Main.java
M ovirt-engine-sdk-java-codegen/src/main/java/org/ovirt/engine/sdk/codegen/common/AbstractCodegen.java
M ovirt-engine-sdk-java-codegen/src/main/java/org/ovirt/engine/sdk/codegen/common/ICodegen.java
M ovirt-engine-sdk-java-codegen/src/main/java/org/ovirt/engine/sdk/codegen/rsdl/ApiCodegen.java
M ovirt-engine-sdk-java-codegen/src/main/java/org/ovirt/engine/sdk/codegen/rsdl/RsdlCodegen.java
M ovirt-engine-sdk-java-codegen/src/main/java/org/ovirt/engine/sdk/codegen/xsd/XsdCodegen.java
7 files changed, 9 insertions(+), 34 deletions(-)

Approvals:
  Juan Hernandez: Verified; Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/22893
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I8f5fdbb0d82d9606763ef16786438e30ac53a8fc
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine-sdk-java
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>



More information about the Engine-commits mailing list