Return-Path: X-Original-To: apmail-lucene-commits-archive@www.apache.org Delivered-To: apmail-lucene-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F0F3B10D7D for ; Sat, 2 Nov 2013 19:32:30 +0000 (UTC) Received: (qmail 69694 invoked by uid 500); 2 Nov 2013 19:32:30 -0000 Mailing-List: contact commits-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 commits@lucene.apache.org Received: (qmail 69687 invoked by uid 99); 2 Nov 2013 19:32:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Nov 2013 19:32:30 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Nov 2013 19:32:28 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 51BB223888E7; Sat, 2 Nov 2013 19:32:07 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1538258 - /lucene/dev/branches/branch_4x/lucene/core/src/java/org/apache/lucene/index/SegmentInfo.java Date: Sat, 02 Nov 2013 19:32:07 -0000 To: commits@lucene.apache.org From: shaie@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20131102193207.51BB223888E7@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: shaie Date: Sat Nov 2 19:32:06 2013 New Revision: 1538258 URL: http://svn.apache.org/r1538258 Log: LUCENE-5189: add @Deprecated annotation to SegmentInfo.attributes Modified: lucene/dev/branches/branch_4x/lucene/core/src/java/org/apache/lucene/index/SegmentInfo.java Modified: lucene/dev/branches/branch_4x/lucene/core/src/java/org/apache/lucene/index/SegmentInfo.java URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/core/src/java/org/apache/lucene/index/SegmentInfo.java?rev=1538258&r1=1538257&r2=1538258&view=diff ============================================================================== --- lucene/dev/branches/branch_4x/lucene/core/src/java/org/apache/lucene/index/SegmentInfo.java (original) +++ lucene/dev/branches/branch_4x/lucene/core/src/java/org/apache/lucene/index/SegmentInfo.java Sat Nov 2 19:32:06 2013 @@ -62,6 +62,7 @@ public final class SegmentInfo { private Map diagnostics; /** @deprecated not used anymore */ + @Deprecated private Map attributes; // Tracks the Lucene version this segment was created with, since 3.1. Null @@ -284,6 +285,7 @@ public final class SegmentInfo { * * @deprecated no longer supported */ + @Deprecated public String getAttribute(String key) { if (attributes == null) { return null; @@ -304,6 +306,7 @@ public final class SegmentInfo { * * @deprecated no longer supported */ + @Deprecated public String putAttribute(String key, String value) { if (attributes == null) { attributes = new HashMap(); @@ -318,6 +321,7 @@ public final class SegmentInfo { * * @deprecated no longer supported */ + @Deprecated public Map attributes() { return attributes; }