avro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ieme...@apache.org
Subject [avro] branch master updated (46485b5 -> 1119b6e)
Date Mon, 18 Mar 2019 09:01:41 GMT
This is an automated email from the ASF dual-hosted git repository.

iemejia pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/avro.git.


    from 46485b5  Remove unused import (fix broken master)
     add 1119b6e  Multiple static analysis fixes and code modernization

No new revisions were added by this update.

Summary of changes:
 .../main/java/org/apache/avro/JsonProperties.java  |   4 +-
 .../main/java/org/apache/avro/LogicalTypes.java    |   4 +-
 .../avro/src/main/java/org/apache/avro/Schema.java |  56 +++------
 .../java/org/apache/avro/SchemaCompatibility.java  |  26 ++--
 .../src/main/java/org/apache/avro/ValidateAll.java |   6 +-
 .../src/main/java/org/apache/avro/data/Json.java   |   5 +-
 .../org/apache/avro/data/RecordBuilderBase.java    |  11 +-
 .../main/java/org/apache/avro/file/BZip2Codec.java |   4 +-
 .../org/apache/avro/file/DataFileReader12.java     |   4 +-
 .../java/org/apache/avro/file/DataFileWriter.java  |  14 +--
 .../java/org/apache/avro/file/SnappyCodec.java     |   4 +-
 .../java/org/apache/avro/file/ZstandardCodec.java  |   4 +-
 .../apache/avro/generic/GenericDatumReader.java    |  15 +--
 .../apache/avro/generic/GenericRecordBuilder.java  |   7 +-
 .../main/java/org/apache/avro/io/BinaryData.java   |   8 +-
 .../java/org/apache/avro/io/BinaryDecoder.java     |   1 -
 .../java/org/apache/avro/io/ResolvingDecoder.java  |   2 +-
 .../java/org/apache/avro/io/parsing/Symbol.java    |   2 +-
 .../apache/avro/message/BinaryMessageDecoder.java  |  18 +--
 .../org/apache/avro/message/MessageDecoder.java    |  14 +--
 .../org/apache/avro/message/RawMessageDecoder.java |   8 +-
 .../org/apache/avro/message/RawMessageEncoder.java |  12 +-
 .../org/apache/avro/reflect/ArrayAccessor.java     |  28 ++---
 .../java/org/apache/avro/reflect/ReflectData.java  |  14 +--
 .../apache/avro/reflect/ReflectDatumWriter.java    |   4 +-
 .../src/main/java/org/apache/avro/util/Utf8.java   |   2 +-
 .../org/apache/avro/util/WeakIdentityHashMap.java  |   5 +-
 .../java/org/apache/avro/ByteBufferRecord.java     |   3 +-
 .../java/org/apache/avro/FooBarSpecificRecord.java |   6 +-
 .../org/apache/avro/TestCircularReferences.java    |  40 +-----
 .../test/java/org/apache/avro/TestDataFile.java    |  57 +++------
 .../java/org/apache/avro/TestDataFileReflect.java  |   6 +-
 .../test/java/org/apache/avro/TestLogicalType.java |  65 ++++------
 .../java/org/apache/avro/TestNestedRecords.java    |   4 +-
 .../java/org/apache/avro/TestSchemaBuilder.java    |   8 +-
 .../org/apache/avro/TestSchemaCompatibility.java   |  12 +-
 .../TestSchemaCompatibilityFixedSizeMismatch.java  |   3 -
 .../TestSchemaCompatibilityMissingEnumSymbols.java |   3 -
 .../TestSchemaCompatibilityMissingUnionBranch.java |  33 +++--
 .../avro/TestSchemaCompatibilityNameMismatch.java  |   2 -
 ...ompatibilityReaderFieldMissingDefaultValue.java |   2 -
 .../avro/TestSchemaCompatibilityTypeMismatch.java  |   2 -
 .../org/apache/avro/TestSchemaNormalization.java   |   8 +-
 .../java/org/apache/avro/TestSchemaValidation.java |  11 +-
 .../apache/avro/data/RecordBuilderBaseTest.java    |  12 +-
 .../avro/file/TestIOExceptionDuringWrite.java      |   5 +-
 .../avro/file/TestSeekableByteArrayInput.java      |  27 ++--
 .../org/apache/avro/file/codec/CustomCodec.java    |   8 +-
 .../org/apache/avro/generic/TestGenericData.java   |  64 +++++-----
 .../avro/generic/TestGenericDatumWriter.java       |  18 +--
 .../avro/generic/TestGenericLogicalTypes.java      |  22 +---
 .../avro/generic/TestGenericRecordBuilder.java     |   7 +-
 .../java/org/apache/avro/io/TestBinaryDecoder.java |   3 +-
 .../java/org/apache/avro/io/TestBlockingIO.java    |   1 -
 .../java/org/apache/avro/io/TestValidatingIO.java  |   6 +-
 .../io/parsing/TestResolvingGrammarGenerator.java  |  10 +-
 .../io/parsing/TestResolvingGrammarGenerator2.java |   3 +-
 .../apache/avro/reflect/TestNonStringMapKeys.java  |  24 ++--
 .../java/org/apache/avro/reflect/TestReflect.java  |  17 +--
 .../avro/reflect/TestReflectDatumReader.java       |  11 +-
 .../avro/reflect/TestReflectLogicalTypes.java      |  31 ++---
 .../org/apache/avro/compiler/schema/Schemas.java   |  18 +--
 .../avro/compiler/specific/ProtocolTask.java       |  11 +-
 .../avro/compiler/specific/SpecificCompiler.java   |   6 +-
 .../org/apache/avro/compiler/idl/TestCycle.java    |   3 +-
 .../compiler/specific/TestSpecificCompiler.java    |   2 +-
 .../org/apache/avro/grpc/ServiceDescriptor.java    |   3 +-
 .../org/apache/avro/grpc/TestAvroProtocolGrpc.java |   8 +-
 .../org/apache/avro/ipc/jetty/TestBulkData.java    |   4 +-
 .../org/apache/avro/ipc/netty/NettyServer.java     |  29 ++---
 .../apache/avro/ipc/netty/NettyTransceiver.java    |  21 ++--
 .../apache/avro/ipc/netty/NettyTransportCodec.java |   2 +-
 .../netty/NettyTransceiverWhenFailsToConnect.java  |  42 +++----
 .../ipc/netty/TestNettyServerWithCallbacks.java    |  61 ++++-----
 .../netty/TestNettyTransceiverWhenServerStops.java |  25 ++--
 .../java/org/apache/avro/ipc/HttpTransceiver.java  |  10 +-
 .../org/apache/avro/ipc/SaslSocketTransceiver.java |   2 +-
 .../java/org/apache/avro/ipc/SocketServer.java     |   5 +-
 .../avro/ipc/specific/SpecificRequestor.java       | 101 ++++++++-------
 .../avro/ipc/specific/SpecificResponder.java       |   4 +-
 .../org/apache/avro/ipc/stats/StatsServlet.java    |   6 -
 .../src/test/java/org/apache/avro/TestCompare.java |  20 +--
 .../java/org/apache/avro/TestDataFileSpecific.java |   1 -
 .../java/org/apache/avro/TestProtocolGeneric.java  |  22 ++--
 .../org/apache/avro/TestProtocolReflectMeta.java   |   2 +-
 .../java/org/apache/avro/TestProtocolSpecific.java |   9 +-
 .../src/test/java/org/apache/avro/TestSchema.java  |   6 +-
 .../compiler/specific/TestSpecificCompiler.java    |   3 +-
 .../java/org/apache/avro/generic/TestDeepCopy.java |   8 +-
 .../ipc/src/test/java/org/apache/avro/io/Perf.java | 136 ++++++++++-----------
 .../org/apache/avro/ipc/TestSaslAnonymous.java     |   6 +-
 .../org/apache/avro/ipc/stats/TestHistogram.java   |  12 +-
 .../apache/avro/message/TestCustomSchemaStore.java |   2 +-
 .../avro/specific/TestSpecificBuilderTree.java     |   1 -
 .../org/apache/avro/specific/TestSpecificData.java |   7 +-
 .../avro/specific/TestSpecificDatumReader.java     |   3 +-
 .../avro/specific/TestSpecificRecordBuilder.java   |  16 +--
 .../avro/hadoop/file/SortedKeyValueFile.java       |  35 +++---
 .../apache/avro/hadoop/io/AvroSequenceFile.java    |   8 +-
 .../apache/avro/hadoop/io/AvroSerialization.java   |   2 +-
 .../hadoop/util/AvroCharSequenceComparator.java    |   2 +-
 .../main/java/org/apache/avro/mapred/AvroJob.java  |   2 +-
 .../java/org/apache/avro/mapred/AvroWrapper.java   |   7 +-
 .../apache/avro/mapred/DelegatingInputFormat.java  |   7 +-
 .../src/main/java/org/apache/avro/mapred/Pair.java |   6 +-
 .../org/apache/avro/mapred/SequenceFileReader.java |  44 ++-----
 .../org/apache/avro/mapred/TaggedInputSplit.java   |   2 +-
 .../avro/mapred/tether/TetherOutputService.java    |   4 +-
 .../apache/avro/mapred/tether/TetheredProcess.java |   4 +-
 .../apache/avro/mapreduce/AvroMultipleOutputs.java |   4 +-
 .../avro/hadoop/file/TestSortedKeyValueFile.java   |  65 ++--------
 .../hadoop/io/TestAvroDatumConverterFactory.java   |   6 +-
 .../org/apache/avro/mapred/TestAvroTextSort.java   |   3 -
 .../org/apache/avro/mapred/TestGenericJob.java     |   4 -
 .../avro/mapred/tether/TestWordCountTether.java    |   1 -
 .../org/apache/avro/mapred/tether/TetherTask.java  |   7 +-
 .../avro/mapred/tether/TetherTaskRunner.java       |   7 +-
 .../avro/mapreduce/TestAvroMultipleOutputs.java    |   5 +-
 .../org/apache/avro/mapreduce/TestWordCount.java   |   7 +-
 .../org/apache/avro/mojo/AbstractAvroMojo.java     |   2 +-
 .../java/org/apache/avro/mojo/IDLProtocolMojo.java |   6 +-
 .../main/java/org/apache/avro/mojo/InduceMojo.java |   2 +-
 .../java/org/apache/avro/mojo/ProtocolMojo.java    |   4 +-
 .../main/java/org/apache/avro/mojo/SchemaMojo.java |   4 +-
 .../java/org/apache/avro/mojo/TestInduceMojo.java  |   4 +-
 .../org/apache/avro/protobuf/ProtobufData.java     |  16 +--
 .../test/java/org/apache/avro/protobuf/Test.java   |  97 +++++++--------
 .../java/org/apache/avro/thrift/test/Error.java    |   5 +-
 .../test/java/org/apache/avro/thrift/test/Foo.java |  46 +++----
 .../java/org/apache/avro/thrift/test/Nested.java   |   7 +-
 .../java/org/apache/avro/thrift/test/Test.java     |  53 ++++----
 .../org/apache/avro/tool/DataFileReadTool.java     |   9 +-
 .../org/apache/avro/tool/DataFileRepairTool.java   |  11 +-
 .../main/java/org/apache/avro/tool/IdlTool.java    |   2 +-
 .../src/main/java/org/apache/avro/tool/Main.java   |  10 +-
 .../java/org/apache/avro/tool/RpcProtocolTool.java |  17 +--
 .../java/org/apache/avro/tool/RpcReceiveTool.java  |  15 +--
 .../main/java/org/apache/avro/tool/TetherTool.java |   6 +-
 .../org/apache/avro/tool/TrevniMetadataTool.java   |   3 +-
 .../org/apache/avro/tool/TrevniToJsonTool.java     |   5 +-
 .../src/main/java/org/apache/avro/tool/Util.java   |   8 +-
 .../java/org/apache/avro/tool/TestCatTool.java     |   2 +-
 .../apache/avro/tool/TestCreateRandomFileTool.java |  29 ++---
 .../apache/avro/tool/TestDataFileRepairTool.java   |   1 -
 .../java/org/apache/avro/tool/TestRecodecTool.java |   5 +-
 .../org/apache/avro/tool/TestRpcProtocolTool.java  |   3 +-
 .../java/org/apache/avro/tool/TestTetherTool.java  |   1 -
 .../org/apache/trevni/avro/AvroColumnReader.java   |  16 +--
 .../org/apache/trevni/avro/AvroColumnator.java     |   6 +-
 .../apache/trevni/avro/AvroTrevniOutputFormat.java |   5 +-
 .../avro/mapreduce/AvroTrevniRecordWriterBase.java |  12 +-
 .../java/org/apache/trevni/avro/TestCases.java     |  13 +-
 .../java/org/apache/trevni/avro/WordCountUtil.java |   4 +-
 .../main/java/org/apache/trevni/BZip2Codec.java    |  12 +-
 .../java/org/apache/trevni/ColumnFileWriter.java   |  12 +-
 .../main/java/org/apache/trevni/InputBuffer.java   |   2 +-
 .../java/org/apache/trevni/TestBZip2Codec.java     |   4 +-
 lang/java/trevni/doc/pom.xml                       |   1 -
 lang/java/trevni/pom.xml                           |   1 -
 159 files changed, 763 insertions(+), 1363 deletions(-)


Mime
View raw message