Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 57261200D0C for ; Wed, 20 Sep 2017 09:25:48 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 558E51609E2; Wed, 20 Sep 2017 07:25:48 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 95EA31609E1 for ; Wed, 20 Sep 2017 09:25:47 +0200 (CEST) Received: (qmail 33237 invoked by uid 500); 20 Sep 2017 07:25:46 -0000 Mailing-List: contact commits-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list commits@felix.apache.org Received: (qmail 33198 invoked by uid 99); 20 Sep 2017 07:25:46 -0000 Received: from Unknown (HELO svn01-us-west.apache.org) (209.188.14.144) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Sep 2017 07:25:46 +0000 Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id 47E943A0334 for ; Wed, 20 Sep 2017 07:25:44 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1808971 - /felix/trunk/http/api/src/main/java/org/osgi/service/http/runtime/dto/DTOConstants.java Date: Wed, 20 Sep 2017 07:25:42 -0000 To: commits@felix.apache.org From: cziegeler@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20170920072545.47E943A0334@svn01-us-west.apache.org> archived-at: Wed, 20 Sep 2017 07:25:48 -0000 Author: cziegeler Date: Wed Sep 20 07:25:42 2017 New Revision: 1808971 URL: http://svn.apache.org/viewvc?rev=1808971&view=rev Log: [http whiteboard] Update error codes Modified: felix/trunk/http/api/src/main/java/org/osgi/service/http/runtime/dto/DTOConstants.java Modified: felix/trunk/http/api/src/main/java/org/osgi/service/http/runtime/dto/DTOConstants.java URL: http://svn.apache.org/viewvc/felix/trunk/http/api/src/main/java/org/osgi/service/http/runtime/dto/DTOConstants.java?rev=1808971&r1=1808970&r2=1808971&view=diff ============================================================================== --- felix/trunk/http/api/src/main/java/org/osgi/service/http/runtime/dto/DTOConstants.java (original) +++ felix/trunk/http/api/src/main/java/org/osgi/service/http/runtime/dto/DTOConstants.java Wed Sep 20 07:25:42 2017 @@ -1,6 +1,6 @@ /* * Copyright (c) OSGi Alliance (2012, 2017). All Rights Reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -78,35 +78,26 @@ public final class DTOConstants { * The servlet is not registered as it is configured to have multipart * enabled, but the bundle containing the servlet has no write permission to * the provided location for the uploaded files. - * + * * @since 1.1 */ public static final int FAILURE_REASON_SERVLET_WRITE_TO_LOCATION_DENIED = 8; /** * The servlet is not registered as it is configured to have multipart - * enabled, but the bundle containing the servlet has no read permission to - * the provided location for the uploaded files. - * - * @since 1.1 - */ - public static final int FAILURE_REASON_SERVLET_READ_FROM_LOCATION_DENIED = 9; - - /** - * The servlet is not registered as it is configured to have multipart * enabled, but the whiteboard implementation has no write permission to the * default location for the uploaded files. - * + * * @since 1.1 */ - public static final int FAILURE_REASON_WHITEBOARD_WRITE_TO_DEFAULT_DENIED = 10; + public static final int FAILURE_REASON_WHITEBOARD_WRITE_TO_DEFAULT_DENIED = 9; /** * The servlet is not registered as it is configured to have multipart * enabled, but the bundle containing the servlet has no read permission to * the default location for the uploaded files. - * + * * @since 1.1 */ - public static final int FAILURE_REASON_SERVLET_READ_FROM_DEFAULT_DENIED = 11; + public static final int FAILURE_REASON_SERVLET_READ_FROM_DEFAULT_DENIED = 10; }