[prev in list] [next in list] [prev in thread] [next in thread]
List: httpcomponents-commits
Subject: svn commit: r1647261 - in /httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/anno
From: olegk () apache ! org
Date: 2014-12-22 8:31:34
Message-ID: 20141222083134.96550AC092E () hades ! apache ! org
[Download RAW message or body]
Author: olegk
Date: Mon Dec 22 08:31:34 2014
New Revision: 1647261
URL: http://svn.apache.org/r1647261
Log:
Fixed @Experimental and @Obsolete target definitions
Modified:
httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/annotation/Experimental.java
httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/annotation/Obsolete.java
Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/annotation/Experimental.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java \
/org/apache/http/annotation/Experimental.java?rev=1647261&r1=1647260&r2=1647261&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/annotation/Experimental.java \
(original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/annotation/Experimental.java \
Mon Dec 22 08:31:34 2014 @@ -36,7 +36,7 @@ import java.lang.annotation.Target;
* The field or method to which this annotation is applied is marked as \
experimental.
*/
@Documented
-@Target({ElementType.FIELD, ElementType.METHOD})
+@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.CLASS)
public @interface Experimental {
}
Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/annotation/Obsolete.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java \
/org/apache/http/annotation/Obsolete.java?rev=1647261&r1=1647260&r2=1647261&view=diff \
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/annotation/Obsolete.java \
(original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/annotation/Obsolete.java \
Mon Dec 22 08:31:34 2014 @@ -37,7 +37,7 @@ import java.lang.annotation.Target;
* requirements of the HTTP protocol or a related protocol that are now obsolete.
*/
@Documented
-@Target({ElementType.FIELD, ElementType.METHOD})
+@Target({ElementType.FIELD, ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.CLASS)
public @interface Obsolete {
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic