You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by cz...@apache.org on 2017/09/20 07:25:42 UTC

svn commit: r1808971 - /felix/trunk/http/api/src/main/java/org/osgi/service/http/runtime/dto/DTOConstants.java

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;
 }