From issues-return-5999-archive-asf-public=cust-asf.ponee.io@lucene.apache.org Tue Dec 3 18:13:09 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 3CBFA180629 for ; Tue, 3 Dec 2019 19:13:09 +0100 (CET) Received: (qmail 63799 invoked by uid 500); 3 Dec 2019 18:13:08 -0000 Mailing-List: contact issues-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list issues@lucene.apache.org Received: (qmail 63790 invoked by uid 99); 3 Dec 2019 18:13:08 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Dec 2019 18:13:08 +0000 From: GitBox To: issues@lucene.apache.org Subject: [GitHub] [lucene-solr] anshumg commented on a change in pull request #1053: SOLR-13998: Add thread safety annotations to classes Message-ID: <157539678847.23407.15582208737409749561.gitbox@gitbox.apache.org> Date: Tue, 03 Dec 2019 18:13:08 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit anshumg commented on a change in pull request #1053: SOLR-13998: Add thread safety annotations to classes URL: https://github.com/apache/lucene-solr/pull/1053#discussion_r353340985 ########## File path: solr/solrj/src/java/org/apache/solr/common/patterns/SolrSingleThreaded.java ########## @@ -0,0 +1,31 @@ +/* + * 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. + */ +package org.apache.solr.common.patterns; + +import static java.lang.annotation.ElementType.TYPE; +import static java.lang.annotation.RetentionPolicy.SOURCE; + +import java.lang.annotation.Documented; +import java.lang.annotation.Retention; +import java.lang.annotation.Target; + +@Documented +@Retention(SOURCE) +@Target(TYPE) +public @interface SolrSingleThreaded { Review comment: Absolutely, I'll add some javadoc here. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org For additional commands, e-mail: issues-help@lucene.apache.org