details: https://code.openbravo.com/erp/devel/pi/rev/9764917cf0cc changeset: 30980:9764917cf0cc user: Carlos Aristu <carlos.aristu <at> openbravo.com> date: Mon Dec 19 10:05:00 2016 +0100 summary: related to issue 34721: apply formatting + update copyright year
diffstat: src/org/openbravo/service/web/BaseWebServiceServlet.java | 13 +++++++------ src/org/openbravo/service/web/WebServiceServlet.java | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) diffs (50 lines): diff -r 36f2c736e8ed -r 9764917cf0cc src/org/openbravo/service/web/BaseWebServiceServlet.java --- a/src/org/openbravo/service/web/BaseWebServiceServlet.java Mon Dec 19 09:06:33 2016 +0100 +++ b/src/org/openbravo/service/web/BaseWebServiceServlet.java Mon Dec 19 10:05:00 2016 +0100 @@ -11,7 +11,7 @@ * under the License. * The Original Code is Openbravo ERP. * The Initial Developer of the Original Code is Openbravo SLU - * All portions are Copyright (C) 2008-2014 Openbravo SLU + * All portions are Copyright (C) 2008-2016 Openbravo SLU * All Rights Reserved. * Contributor(s): ______________________________________. ************************************************************************ @@ -36,10 +36,11 @@ import org.openbravo.dal.core.SessionHandler; /** - * This servlet has two main responsibilities: 1) authenticate, 2) set the correct {@link OBContext} , and 3) translate Exceptions - * into the correct Http response code. + * This servlet has two main responsibilities: 1) authenticate, 2) set the correct {@link OBContext} + * , and 3) translate Exceptions into the correct Http response code. * <p/> - * In regard to authentication: there is support for basic-authentication as well as url parameter based authentication. + * In regard to authentication: there is support for basic-authentication as well as url parameter + * based authentication. * * @author mtaal */ @@ -132,8 +133,8 @@ log.error("User " + OBContext.getOBContext().getUser() + " with role " + OBContext.getOBContext().getRole() + " is trying to access to non granted web service " + request.getRequestURL()); - throw new OBSecurityException( - "Web Services are not granted to " + OBContext.getOBContext().getRole() + " role"); + throw new OBSecurityException("Web Services are not granted to " + + OBContext.getOBContext().getRole() + " role"); } } super.service(request, response); diff -r 36f2c736e8ed -r 9764917cf0cc src/org/openbravo/service/web/WebServiceServlet.java --- a/src/org/openbravo/service/web/WebServiceServlet.java Mon Dec 19 09:06:33 2016 +0100 +++ b/src/org/openbravo/service/web/WebServiceServlet.java Mon Dec 19 10:05:00 2016 +0100 @@ -11,7 +11,7 @@ * under the License. * The Original Code is Openbravo ERP. * The Initial Developer of the Original Code is Openbravo SLU - * All portions are Copyright (C) 2008-2010 Openbravo SLU + * All portions are Copyright (C) 2008-2016 Openbravo SLU * All Rights Reserved. * Contributor(s): ______________________________________. ************************************************************************ ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Openbravo-commits mailing list Openbravo-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbravo-commits