Commit 32c25351f9373604d121ee693331fcae11e74e4b

Authored by Luis Pedro
1 parent c09b5e16fe
Exists in master and in 1 other branch API_v3.0

C5065

src/main/java/org/um/dsi/gavea/orcid/client/BaseOrcidOAuthClient.java
... ... @@ -189,8 +189,6 @@ public class BaseOrcidOAuthClient implements Serializable {
189 189 }
190 190  
191 191 protected void exceptionBuilder(Response response) throws OrcidClientException {
192   - Error error = new Error();
193   -
194 192 if (response.getStatus() > 300) {
195 193 if (response.getStatus() == 400) {
196 194 Error error = response.readEntity(Error.class);
... ...