hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject Fwd: svn commit: r1792527 - /httpcomponents/httpcore/trunk/httpcore5/src/main/java/org/apache/hc/core5/annotation/Internal.java
Date Mon, 24 Apr 2017 19:30:42 GMT
I like it!

Gary

---------- Forwarded message ----------
From: <olegk@apache.org>
Date: Mon, Apr 24, 2017 at 11:11 AM
Subject: svn commit: r1792527 -
/httpcomponents/httpcore/trunk/httpcore5/src/main/java/org/apache/hc/core5/annotation/Internal.java
To: commits@hc.apache.org


Author: olegk
Date: Mon Apr 24 18:11:03 2017
New Revision: 1792527

URL: http://svn.apache.org/viewvc?rev=1792527&view=rev
Log:
Added annotation of internal APIs

Added:
    httpcomponents/httpcore/trunk/httpcore5/src/main/java/org/
apache/hc/core5/annotation/Internal.java   (with props)

Added: httpcomponents/httpcore/trunk/httpcore5/src/main/java/org/
apache/hc/core5/annotation/Internal.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/
httpcore5/src/main/java/org/apache/hc/core5/annotation/
Internal.java?rev=1792527&view=auto
============================================================
==================
--- httpcomponents/httpcore/trunk/httpcore5/src/main/java/org/
apache/hc/core5/annotation/Internal.java (added)
+++ httpcomponents/httpcore/trunk/httpcore5/src/main/java/org/
apache/hc/core5/annotation/Internal.java Mon Apr 24 18:11:03 2017
@@ -0,0 +1,43 @@
+/*
+ * ====================================================================
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation.  For more
+ * information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
+ *
+ */
+package org.apache.hc.core5.annotation;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * The package, class or method to which this annotation is applied is
marked as internal
+ * and its use ought to be avoided.
+ */
+@Documented
+@Target({ElementType.TYPE, ElementType.METHOD, ElementType.CONSTRUCTOR,
ElementType.PACKAGE})
+@Retention(RetentionPolicy.CLASS)
+public @interface Internal {
+}

Propchange: httpcomponents/httpcore/trunk/httpcore5/src/main/java/org/
apache/hc/core5/annotation/Internal.java
------------------------------------------------------------
------------------
    svn:eol-style = native

Propchange: httpcomponents/httpcore/trunk/httpcore5/src/main/java/org/
apache/hc/core5/annotation/Internal.java
------------------------------------------------------------
------------------
    svn:keywords = Date Revision

Propchange: httpcomponents/httpcore/trunk/httpcore5/src/main/java/org/
apache/hc/core5/annotation/Internal.java
------------------------------------------------------------
------------------
    svn:mime-type = text/plain





-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
Java Persistence with Hibernate, Second Edition
<https://www.amazon.com/gp/product/1617290459/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1617290459&linkCode=as2&tag=garygregory-20&linkId=cadb800f39946ec62ea2b1af9fe6a2b8>

<http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1617290459>
JUnit in Action, Second Edition
<https://www.amazon.com/gp/product/1935182021/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182021&linkCode=as2&tag=garygregory-20&linkId=31ecd1f6b6d1eaf8886ac902a24de418%22>

<http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1935182021>
Spring Batch in Action
<https://www.amazon.com/gp/product/1935182951/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1935182951&linkCode=%7B%7BlinkCode%7D%7D&tag=garygregory-20&linkId=%7B%7Blink_id%7D%7D%22%3ESpring+Batch+in+Action>
<http:////ir-na.amazon-adsystem.com/e/ir?t=garygregory-20&l=am2&o=1&a=1935182951>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message