From 2ecea22e6d53fa55ccc7959c04bccb292e70a4ca Mon Sep 17 00:00:00 2001 From: Sebastian Bazley Date: Tue, 13 Sep 2011 12:45:53 +0000 Subject: [PATCH] Annotations are now in httpcore git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1170154 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/http/annotation/GuardedBy.java | 75 ------------------- .../org/apache/http/annotation/Immutable.java | 58 -------------- .../apache/http/annotation/NotThreadSafe.java | 49 ------------ .../apache/http/annotation/ThreadSafe.java | 50 ------------- 4 files changed, 232 deletions(-) delete mode 100644 httpclient/src/main/java/org/apache/http/annotation/GuardedBy.java delete mode 100644 httpclient/src/main/java/org/apache/http/annotation/Immutable.java delete mode 100644 httpclient/src/main/java/org/apache/http/annotation/NotThreadSafe.java delete mode 100644 httpclient/src/main/java/org/apache/http/annotation/ThreadSafe.java diff --git a/httpclient/src/main/java/org/apache/http/annotation/GuardedBy.java b/httpclient/src/main/java/org/apache/http/annotation/GuardedBy.java deleted file mode 100644 index 5907d268c..000000000 --- a/httpclient/src/main/java/org/apache/http/annotation/GuardedBy.java +++ /dev/null @@ -1,75 +0,0 @@ -/* - * ==================================================================== - * - * 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 - * . - * - */ -package org.apache.http.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 field or method to which this annotation is applied can only be accessed - * when holding a particular lock, which may be a built-in (synchronization) lock, - * or may be an explicit java.util.concurrent.Lock. - * - * The argument determines which lock guards the annotated field or method: - *