lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sh...@apache.org
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 GMT
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<String,String> diagnostics;
   
   /** @deprecated not used anymore */
+  @Deprecated
   private Map<String,String> 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<String,String>();
@@ -318,6 +321,7 @@ public final class SegmentInfo {
    * 
    * @deprecated no longer supported
    */
+  @Deprecated
   public Map<String,String> attributes() {
     return attributes;
   }



Mime
View raw message