brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From henev...@apache.org
Subject [5/6] incubator-brooklyn git commit: rename ApiError method so that it aligns with var name and ObjectMapper works in all cases
Date Fri, 20 Mar 2015 17:09:41 GMT
rename ApiError method so that it aligns with var name and ObjectMapper works in all cases


Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/da188485
Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/da188485
Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/da188485

Branch: refs/heads/master
Commit: da18848539812963b04acc2d51d81b7d824466f7
Parents: 9f5e738
Author: Alex Heneveld <alex.heneveld@cloudsoftcorp.com>
Authored: Fri Mar 20 16:42:21 2015 +0000
Committer: Alex Heneveld <alex.heneveld@cloudsoftcorp.com>
Committed: Fri Mar 20 16:42:21 2015 +0000

----------------------------------------------------------------------
 usage/rest-api/src/main/java/brooklyn/rest/domain/ApiError.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/da188485/usage/rest-api/src/main/java/brooklyn/rest/domain/ApiError.java
----------------------------------------------------------------------
diff --git a/usage/rest-api/src/main/java/brooklyn/rest/domain/ApiError.java b/usage/rest-api/src/main/java/brooklyn/rest/domain/ApiError.java
index 37f2eee..96b9e27 100644
--- a/usage/rest-api/src/main/java/brooklyn/rest/domain/ApiError.java
+++ b/usage/rest-api/src/main/java/brooklyn/rest/domain/ApiError.java
@@ -155,7 +155,7 @@ public class ApiError {
         return details;
     }
 
-    public Integer getErrorCode() {
+    public Integer getError() {
         return error;
     }
     


Mime
View raw message