usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sfeld...@apache.org
Subject [43/50] [abbrv] incubator-usergrid git commit: Removed exception swallowing
Date Thu, 19 Mar 2015 23:27:00 GMT
Removed exception swallowing


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

Branch: refs/heads/USERGRID-480
Commit: 61c5f9ccadf74dc997235d5d9a71403e6cd7f60c
Parents: d8f949b
Author: Todd Nine <tnine@apigee.com>
Authored: Wed Mar 18 17:45:43 2015 -0600
Committer: Todd Nine <tnine@apigee.com>
Committed: Wed Mar 18 17:45:43 2015 -0600

----------------------------------------------------------------------
 .../organizations/applications/ApplicationsResource.java       | 6 ------
 1 file changed, 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/61c5f9cc/stack/rest/src/main/java/org/apache/usergrid/rest/management/organizations/applications/ApplicationsResource.java
----------------------------------------------------------------------
diff --git a/stack/rest/src/main/java/org/apache/usergrid/rest/management/organizations/applications/ApplicationsResource.java
b/stack/rest/src/main/java/org/apache/usergrid/rest/management/organizations/applications/ApplicationsResource.java
index 2a5ce9d..f94fa34 100644
--- a/stack/rest/src/main/java/org/apache/usergrid/rest/management/organizations/applications/ApplicationsResource.java
+++ b/stack/rest/src/main/java/org/apache/usergrid/rest/management/organizations/applications/ApplicationsResource.java
@@ -107,8 +107,6 @@ public class ApplicationsResource extends AbstractContextResource {
 
         logger.debug("newApplicationForOrganizationFromForm");
 
-        try {
-
         Preconditions.checkArgument( !isEmpty( applicationName ),
                 "The 'name' parameter is required and cannot be empty: " + applicationName
);
 
@@ -123,10 +121,6 @@ public class ApplicationsResource extends AbstractContextResource {
         response.setResults( management.getApplicationMetadata( applicationInfo.getId() )
);
         return new JSONWithPadding( response, callback );
 
-        } catch (Exception e) {
-            logger.debug("Error in newApplicationForOrganizationFromForm", e);
-            return null;
-        }
     }
 
 


Mime
View raw message