avro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r1036223 - in /avro/trunk: CHANGES.txt lang/java/src/java/org/apache/avro/file/DataFileWriter.java
Date Wed, 17 Nov 2010 21:03:02 GMT
Author: cutting
Date: Wed Nov 17 21:03:02 2010
New Revision: 1036223

URL: http://svn.apache.org/viewvc?rev=1036223&view=rev
Log:
AVRO-696. Java: Make DataFileWriter.setMetaInternal(String,String) private.  Contributed by
Patrick Linehan.

Modified:
    avro/trunk/CHANGES.txt
    avro/trunk/lang/java/src/java/org/apache/avro/file/DataFileWriter.java

Modified: avro/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/avro/trunk/CHANGES.txt?rev=1036223&r1=1036222&r2=1036223&view=diff
==============================================================================
--- avro/trunk/CHANGES.txt (original)
+++ avro/trunk/CHANGES.txt Wed Nov 17 21:03:02 2010
@@ -14,6 +14,9 @@ Avro 1.5.0 (unreleased)
     moves some protected GenericDatumReader/Writer methods to
     GenericData, potentially breaking subclasses. (cutting)
 
+    AVRO-696. Java: Make DataFileWriter.setMetaInternal(String,String)
+    private. (Patrick Linehan via cutting)    
+
   IMPROVEMENTS
 
     AVRO-682. Java: Add method DataFileStream.getMetaKeys().

Modified: avro/trunk/lang/java/src/java/org/apache/avro/file/DataFileWriter.java
URL: http://svn.apache.org/viewvc/avro/trunk/lang/java/src/java/org/apache/avro/file/DataFileWriter.java?rev=1036223&r1=1036222&r2=1036223&view=diff
==============================================================================
--- avro/trunk/lang/java/src/java/org/apache/avro/file/DataFileWriter.java (original)
+++ avro/trunk/lang/java/src/java/org/apache/avro/file/DataFileWriter.java Wed Nov 17 21:03:02
2010
@@ -206,7 +206,7 @@ public class DataFileWriter<D> implement
     return this;
   }
   
-  public DataFileWriter<D> setMetaInternal(String key, String value) {
+  private DataFileWriter<D> setMetaInternal(String key, String value) {
     try {
       return setMetaInternal(key, value.getBytes("UTF-8"));
     } catch (UnsupportedEncodingException e) {



Mime
View raw message