diff --git a/LICENSE.txt b/LICENSE.txt index 74365a4880e..654a0c4ff3c 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -235,7 +235,7 @@ Some files include an additional copyright notice: ---------------------------------------------------------------------- License for msinttypes.h and msstdint.h used in the C implementation: Source from: -http://code.google.com/p/msinttypes/downloads/detail?name=msinttypes-r26.zip +https://code.google.com/p/msinttypes/downloads/detail?name=msinttypes-r26.zip Copyright (c) 2006-2008 Alexander Chemeris @@ -401,7 +401,7 @@ File: Castle.Core.dll Copyright (c) 2004-2015 Castle Project License: Apache License version 2.0 (see above) -URL: http://opensource.org/licenses/Apache-2.0 +URL: https://opensource.org/licenses/Apache-2.0 ---------------------------------------------------------------------- License for the log4net binary included with the C# implementation: @@ -527,7 +527,7 @@ All rights reserved. License for g.Raphael 0.4.1 used by the Java IPC implementation: Copyright (c) 2009 Dmitry Baranovskiy (http://g.raphaeljs.com) -Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license. +Licensed under the MIT (https://www.opensource.org/licenses/mit-license.php) license. ---------------------------------------------------------------------- License for jQuery v1.4.2 used by the Java IPC implementation: diff --git a/NOTICE.txt b/NOTICE.txt index 0a5f487a016..7a43bb8bb75 100644 --- a/NOTICE.txt +++ b/NOTICE.txt @@ -35,7 +35,7 @@ is: The Odiago NOTICE at the time of the contribution: | This product includes software developed by Odiago, Inc. -| (http://www.wibidata.com). +| (https://www.wibidata.com). Apache Ivy includes the following in its NOTICE file: diff --git a/doc/NOTICE b/doc/NOTICE index 97029acf00d..7f5cd214628 100644 --- a/doc/NOTICE +++ b/doc/NOTICE @@ -29,7 +29,7 @@ is: The Odiago NOTICE at the time of the contribution: | This product includes software developed by Odiago, Inc. -| (http://www.wibidata.com). +| (https://www.wibidata.com). The documentation contains the default Apache Forrest skin. Apache Forrest includes the following in its NOTICE file: diff --git a/doc/src/content/htmldocs/canonical-completeness.html b/doc/src/content/htmldocs/canonical-completeness.html index 7958cba74d0..0827d57812e 100644 --- a/doc/src/content/htmldocs/canonical-completeness.html +++ b/doc/src/content/htmldocs/canonical-completeness.html @@ -198,7 +198,7 @@

2.0 Completeness argument for Parsing Canonical Form

3.0 Concluding remarks

-Engineers have a history of running ahead of formal mathematical proofs, when things "seem correct" to them. In this case, it seems pretty obvious that Parsing Canonical Form is complete as well as sound, and we should go ahead and treat it as such. At the same time, formal proofs often turn up corner cases and exceptions that are valuable to document and account for. Thus, it'd nice if someone could provide a better completeness argument than we've been able to so far. +Engineers have a history of running ahead of formal mathematical proofs, when things "seem correct" to them. In this case, it seems pretty obvious that Parsing Canonical Form is complete as well as sound, and we should go ahead and treat it as such. At the same time, formal proofs often turn up corner cases and exceptions that are valuable to document and account for. Thus, it'd nice if someone could provide a better completeness argument than we've been able to so far. diff --git a/doc/src/content/xdocs/gettingstartedpython.xml b/doc/src/content/xdocs/gettingstartedpython.xml index ecdb3e2d57c..23e4add268a 100644 --- a/doc/src/content/xdocs/gettingstartedpython.xml +++ b/doc/src/content/xdocs/gettingstartedpython.xml @@ -157,7 +157,7 @@ reader.close() Do make sure that you open your files in binary mode (i.e. using the modes wb or rb respectively). Otherwise you might generate corrupt files due to - + automatic replacement of newline characters with the platform-specific representations.

diff --git a/doc/src/content/xdocs/index.xml b/doc/src/content/xdocs/index.xml index 2d31b1fa132..4247e212ec3 100644 --- a/doc/src/content/xdocs/index.xml +++ b/doc/src/content/xdocs/index.xml @@ -61,7 +61,7 @@ schema, correspondence between same named fields, missing fields, extra fields, etc. can all be easily resolved.

Avro schemas are defined with - JSON . This + JSON . This facilitates implementation in languages that already have JSON libraries.

diff --git a/doc/src/content/xdocs/sasl.xml b/doc/src/content/xdocs/sasl.xml index 24419698a39..031ad17b3bd 100644 --- a/doc/src/content/xdocs/sasl.xml +++ b/doc/src/content/xdocs/sasl.xml @@ -28,7 +28,7 @@
Introduction -

SASL (RFC 2222) +

SASL (RFC 2222) provides a framework for authentication and security of network protocols. Each protocol that uses SASL is meant to define a SASL profile. This document provides a SASL profile @@ -126,7 +126,7 @@

Anonymous Mechanism

The SASL anonymous mechanism - (RFC 2245) is + (RFC 2245) is quite simple to implement. In particular, an initial anonymous request may be prefixed by the following static sequence:

| 0 | 0009 | ANONYMOUS | 0000 | diff --git a/doc/src/content/xdocs/site.xml b/doc/src/content/xdocs/site.xml index b6c66c83683..e77517afd43 100644 --- a/doc/src/content/xdocs/site.xml +++ b/doc/src/content/xdocs/site.xml @@ -33,7 +33,7 @@ See https://forrest.apache.org/docs/linking.html for more info Use elements project-name and group-name in skinconfig to change name of your site or project that is usually shown at the top of page. No matter what you configure for the href attribute, Forrest will - always use index.html when you request http://yourHost/ + always use index.html when you request https://yourHost/ See FAQ: "How can I use a start-up-page other than index.html?" --> diff --git a/doc/src/content/xdocs/spec.xml b/doc/src/content/xdocs/spec.xml index 8e389b6beec..7c01cd02def 100644 --- a/doc/src/content/xdocs/spec.xml +++ b/doc/src/content/xdocs/spec.xml @@ -410,11 +410,11 @@
  • a float is written as 4 bytes. The float is converted into a 32-bit integer using a method equivalent - to Java's floatToIntBits and then encoded + to Java's floatToIntBits and then encoded in little-endian format.
  • a double is written as 8 bytes. The double is converted into a 64-bit integer using a method equivalent - to Java's + to Java's doubleToLongBits and then encoded in little-endian format.
  • bytes are encoded as @@ -763,7 +763,7 @@ deflate

    The "deflate" codec writes the data block using the deflate algorithm as specified in - RFC 1951, + RFC 1951, and typically implemented using the zlib library. Note that this format (unlike the "zlib format" in RFC 1950) does not have a checksum. @@ -775,7 +775,7 @@

    snappy

    The "snappy" codec uses - Google's Snappy + Google's Snappy compression library. Each compressed block is followed by the 4-byte, big-endian CRC32 checksum of the uncompressed data in the block.

    @@ -901,7 +901,7 @@
    HTTP as Transport

    When - HTTP + HTTP is used as a transport, each Avro message exchange is an HTTP request/response pair. All messages of an Avro protocol should share a single URL at an HTTP server. @@ -1305,7 +1305,7 @@ much shorter bit string, its fingerprint, that uniquely identifies the original data for all practical purposes" (quoted from [Wikipedia]). + href="https://en.wikipedia.org/wiki/Fingerprint_(computing)">Wikipedia]). In the Avro context, fingerprints of Parsing Canonical Form can be useful in a number of applications; for example, to cache encoder and decoder objects, to tag data items with a @@ -1323,14 +1323,14 @@

    diff --git a/lang/c++/CMakeLists.txt b/lang/c++/CMakeLists.txt index 775bc09a469..30a5d66f064 100644 --- a/lang/c++/CMakeLists.txt +++ b/lang/c++/CMakeLists.txt @@ -61,7 +61,7 @@ if (AVRO_ADD_PROTECTOR_FLAGS) set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -fstack-protector-all -D_GLIBCXX_DEBUG") # Unset _GLIBCXX_DEBUG for avrogencpp.cc because using Boost Program Options # leads to linking errors when compiling with _GLIBCXX_DEBUG as described on - # http://stackoverflow.com/questions/19729036/ + # https://stackoverflow.com/questions/19729036/ set_source_files_properties(impl/avrogencpp.cc PROPERTIES COMPILE_FLAGS "-U_GLIBCXX_DEBUG") endif () endif () diff --git a/lang/c++/MainPage.dox b/lang/c++/MainPage.dox index 98d5171a2a8..6716e6c6f14 100644 --- a/lang/c++/MainPage.dox +++ b/lang/c++/MainPage.dox @@ -56,8 +56,8 @@ One should be able to build Avro C++ on (1) any UNIX flavor including cygwin for In order to build Avro C++, one needs the following:
    • A C++ compiler and runtime libraries. -
    • Boost library version 1.38 or later. Apart from the header-only libraries of Boost, Avro C++ requires filesystem, iostreams, system and program_options libraries. Please see http://www.boost.org or your platform's documentation for details on how to set up Boost for your platform. -
    • CMake build tool version 2.6 or later. Please see http://www.cmake.org or your platform's documentation for details on how to set up CMake for your system. +
    • Boost library version 1.38 or later. Apart from the header-only libraries of Boost, Avro C++ requires filesystem, iostreams, system and program_options libraries. Please see https://www.boost.org or your platform's documentation for details on how to set up Boost for your platform. +
    • CMake build tool version 2.6 or later. Please see https://www.cmake.org or your platform's documentation for details on how to set up CMake for your system.
    • Python. If not already present, please consult your platform-specific documentation on how to install Python on your system.
    diff --git a/lang/c++/m4/m4_ax_boost_asio.m4 b/lang/c++/m4/m4_ax_boost_asio.m4 index 434096df0b3..cd47c3582c5 100644 --- a/lang/c++/m4/m4_ax_boost_asio.m4 +++ b/lang/c++/m4/m4_ax_boost_asio.m4 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.gnu.org/software/autoconf-archive/ax_boost_asio.html +# https://www.gnu.org/software/autoconf-archive/ax_boost_asio.html # =========================================================================== # # SYNOPSIS diff --git a/lang/c/INSTALL b/lang/c/INSTALL index 2157d1030c0..75b336c0efd 100644 --- a/lang/c/INSTALL +++ b/lang/c/INSTALL @@ -4,7 +4,7 @@ Installation instructions The Avro library is written in ANSI C. It uses CMake [1] as its build manager. -[1] http://www.cmake.org/ +[1] https://www.cmake.org/ Prerequisites @@ -23,7 +23,7 @@ To build the documentation you need asciidoc [3] and source-highlight [4] installed. The build scripts will automatically detect whether these tools are installed, and will skip the documentation if they're not. -[1] http://www.cmake.org/ +[1] https://www.cmake.org/ [2] http://www.digip.org/jansson/ [3] http://www.methods.co.nz/asciidoc [4] http://www.gnu.org/software/src-highlite/ diff --git a/lang/c/LICENSE b/lang/c/LICENSE index 7bc09aacce2..a7cd64e89ec 100644 --- a/lang/c/LICENSE +++ b/lang/c/LICENSE @@ -204,7 +204,7 @@ ---------------------------------------------------------------------- License for msinttypes.h and msstdint.h used in the C implementation: Source from: -http://code.google.com/p/msinttypes/downloads/detail?name=msinttypes-r26.zip +https://code.google.com/p/msinttypes/downloads/detail?name=msinttypes-r26.zip Copyright (c) 2006-2008 Alexander Chemeris diff --git a/lang/c/README.maintaining_win32.txt b/lang/c/README.maintaining_win32.txt index f630c03a91f..b603b1ec3cc 100644 --- a/lang/c/README.maintaining_win32.txt +++ b/lang/c/README.maintaining_win32.txt @@ -33,7 +33,7 @@ Limitations of Windows Build: 2. The shared library, i.e. DLL, for avro has not been built. There are instructions on how to build DLLs using CMake at - http://www.cmake.org/Wiki/BuildingWinDLL + https://www.cmake.org/Wiki/BuildingWinDLL 3. Currently avropipe.c and avromod.c do not compile under Windows. In order for them to compile we would have to either port getopt() to @@ -102,7 +102,7 @@ Instructions for Maintenance preprocessor macro, whose only purpose is to properly expand its input. This method is described here: - http://stackoverflow.com/questions/2575864/the-problem-about-different-treatment-to-va-args-when-using-vs-2008-and-gcc + https://stackoverflow.com/questions/2575864/the-problem-about-different-treatment-to-va-args-when-using-vs-2008-and-gcc See the solution described by monkeyman. This method is used in the macro expand_args(...) in test_avro_values.c. diff --git a/lang/c/src/CMakeLists.txt b/lang/c/src/CMakeLists.txt index c661cd78889..6f56597503a 100644 --- a/lang/c/src/CMakeLists.txt +++ b/lang/c/src/CMakeLists.txt @@ -89,7 +89,7 @@ target_link_libraries(avro-static ${JANSSON_LIBRARIES} ${CODEC_LIBRARIES} ${THRE set_target_properties(avro-static PROPERTIES OUTPUT_NAME avro) if (NOT WIN32) -# TODO: Create Windows DLLs. See http://www.cmake.org/Wiki/BuildingWinDLL +# TODO: Create Windows DLLs. See https://www.cmake.org/Wiki/BuildingWinDLL add_library(avro-shared SHARED ${AVRO_SRC}) target_link_libraries(avro-shared ${JANSSON_LIBRARIES} ${CODEC_LIBRARIES} ${THREADS_LIBRARIES}) set_target_properties(avro-shared PROPERTIES diff --git a/lang/c/src/value-hash.c b/lang/c/src/value-hash.c index f9ad4effdc5..c717924be80 100644 --- a/lang/c/src/value-hash.c +++ b/lang/c/src/value-hash.c @@ -35,7 +35,7 @@ * We currently use MurmurHash3 [1], which is public domain, as our hash * implementation. * - * [1] http://code.google.com/p/smhasher/ + * [1] https://code.google.com/p/smhasher/ */ /* Our seed is the MurmurHash3 of the string "avro.value" */ diff --git a/lang/c/tests/test_avro_values.c b/lang/c/tests/test_avro_values.c index 487d98a6b3c..4930b8ca3e7 100644 --- a/lang/c/tests/test_avro_values.c +++ b/lang/c/tests/test_avro_values.c @@ -126,7 +126,7 @@ _check_invalid_methods(const char *name, avro_value_t *val) /* For a description on GCC vs Visual Studio 2008 usage of variadic * macros see: - * http://stackoverflow.com/questions/2575864/the-problem-about-different + * https://stackoverflow.com/questions/2575864/the-problem-about-different * -treatment-to-va-args-when-using-vs-2008-and-gcc */ #define expand_args(...) __VA_ARGS__ diff --git a/lang/c/version.sh b/lang/c/version.sh index d3d756171a1..8ab84852895 100755 --- a/lang/c/version.sh +++ b/lang/c/version.sh @@ -47,7 +47,7 @@ if test $# != 1; then exit 1 fi -# http://sources.redhat.com/autobook/autobook/autobook_91.html +# https://www.sourceware.org/autobook/autobook/autobook_91.html # 'Current' is the most recent interface number that this library implements libcurrent=$(($libavro_micro_version - $libavro_interface_age)) # The implementation number of the 'current' interface diff --git a/lang/csharp/LICENSE b/lang/csharp/LICENSE index 1648d65aa53..247916fb05c 100644 --- a/lang/csharp/LICENSE +++ b/lang/csharp/LICENSE @@ -233,7 +233,7 @@ File: Castle.Core.dll Copyright (c) 2004-2015 Castle Project License: Apache License version 2.0 (see above) -URL: http://opensource.org/licenses/Apache-2.0 +URL: https://opensource.org/licenses/Apache-2.0 ---------------------------------------------------------------------- License for the log4net binary included with the C# implementation: diff --git a/lang/csharp/src/apache/main/CodeGen/CodeGenUtil.cs b/lang/csharp/src/apache/main/CodeGen/CodeGenUtil.cs index 2782f7c4f7d..4738aa12e2f 100644 --- a/lang/csharp/src/apache/main/CodeGen/CodeGenUtil.cs +++ b/lang/csharp/src/apache/main/CodeGen/CodeGenUtil.cs @@ -56,7 +56,7 @@ is regenerated ------------------------------------------------------------------------------"); - // Visual Studio 2010 http://msdn.microsoft.com/en-us/library/x53a06bb.aspx + // Visual Studio 2010 https://msdn.microsoft.com/en-us/library/x53a06bb.aspx ReservedKeywords = new HashSet() { "abstract","as", "base", "bool", "break", "byte", "case", "catch", "char", "checked", "class", "const", "continue", "decimal", "default", "delegate", "do", "double", "else", "enum", "event", diff --git a/lang/java/avro/src/main/java/org/apache/avro/Protocol.java b/lang/java/avro/src/main/java/org/apache/avro/Protocol.java index 3bc0833b316..33228b8a5c2 100644 --- a/lang/java/avro/src/main/java/org/apache/avro/Protocol.java +++ b/lang/java/avro/src/main/java/org/apache/avro/Protocol.java @@ -392,14 +392,14 @@ public int hashCode() { return name.hashCode() + namespace.hashCode() + types.hashCode() + messages.hashCode() + propsHashCode(); } - /** Render this as JSON. */ + /** Render this as JSON. */ @Override public String toString() { return toString(false); } /** - * Render this as JSON. + * Render this as JSON. * * @param pretty if true, pretty-print JSON. */ diff --git a/lang/java/avro/src/main/java/org/apache/avro/Schema.java b/lang/java/avro/src/main/java/org/apache/avro/Schema.java index 60f43b8de9f..d5e873524fd 100644 --- a/lang/java/avro/src/main/java/org/apache/avro/Schema.java +++ b/lang/java/avro/src/main/java/org/apache/avro/Schema.java @@ -346,14 +346,14 @@ public int getFixedSize() { throw new AvroRuntimeException("Not fixed: " + this); } - /** Render this as JSON. */ + /** Render this as JSON. */ @Override public String toString() { return toString(false); } /** - * Render this as JSON. + * Render this as JSON. * * @param pretty if true, pretty-print JSON. */ @@ -1403,7 +1403,7 @@ public static Schema parse(InputStream in) throws IOException { } /** - * Construct a schema from JSON text. + * Construct a schema from JSON text. * * @deprecated use {@link Schema.Parser} instead. */ @@ -1413,7 +1413,7 @@ public static Schema parse(String jsonSchema) { } /** - * Construct a schema from JSON text. + * Construct a schema from JSON text. * * @param validate true if names should be validated, false if not. * @deprecated use {@link Schema.Parser} instead. diff --git a/lang/java/avro/src/main/java/org/apache/avro/generic/GenericData.java b/lang/java/avro/src/main/java/org/apache/avro/generic/GenericData.java index 46f9a372690..21690d9a71a 100644 --- a/lang/java/avro/src/main/java/org/apache/avro/generic/GenericData.java +++ b/lang/java/avro/src/main/java/org/apache/avro/generic/GenericData.java @@ -594,7 +594,7 @@ public boolean validate(Schema schema, Object datum) { } } - /** Renders a Java datum as JSON. */ + /** Renders a Java datum as JSON. */ public String toString(Object datum) { StringBuilder buffer = new StringBuilder(); toString(datum, buffer, new IdentityHashMap<>(128)); @@ -603,7 +603,7 @@ public String toString(Object datum) { private static final String TOSTRING_CIRCULAR_REFERENCE_ERROR_TEXT = " \">>> CIRCULAR REFERENCE CANNOT BE PUT IN JSON STRING, ABORTING RECURSION <<<\" "; - /** Renders a Java datum as JSON. */ + /** Renders a Java datum as JSON. */ protected void toString(Object datum, StringBuilder buffer, IdentityHashMap seenObjects) { if (isRecord(datum)) { if (seenObjects.containsKey(datum)) { @@ -688,7 +688,7 @@ protected void toString(Object datum, StringBuilder buffer, IdentityHashMap c) { /** * List of Java reserved words from - * http://docs.oracle.com/javase/specs/jls/se8/html/jls-3.html#jls-3.9 combined + * https://docs.oracle.com/javase/specs/jls/se8/html/jls-3.html#jls-3.9 combined * with the boolean and null literals. combined with the classnames used * internally in the generated avro code. */ diff --git a/lang/java/avro/src/main/java/overview.html b/lang/java/avro/src/main/java/overview.html index 8f04965eef8..5a1a34002e8 100644 --- a/lang/java/avro/src/main/java/overview.html +++ b/lang/java/avro/src/main/java/overview.html @@ -59,7 +59,7 @@

    Schemas

    fields, extra fields, etc. can all be easily resolved.

    Avro schemas are defined with - with JSON . This facilitates + with JSON . This facilitates implementation in languages that already have JSON libraries.

    Comparison with other systems

    diff --git a/lang/java/compiler/src/main/java/org/apache/avro/compiler/specific/SpecificCompiler.java b/lang/java/compiler/src/main/java/org/apache/avro/compiler/specific/SpecificCompiler.java index e58a48f1d49..9320480bc31 100644 --- a/lang/java/compiler/src/main/java/org/apache/avro/compiler/specific/SpecificCompiler.java +++ b/lang/java/compiler/src/main/java/org/apache/avro/compiler/specific/SpecificCompiler.java @@ -82,8 +82,8 @@ public class SpecificCompiler { * arguments. * * @see JVM - * Spec: Section 4.10 + * "https://docs.oracle.com/javase/specs/jvms/se7/html/jvms-4.html#jvms-4.10"> + * JVM Spec: Section 4.10 */ private static final int JVM_METHOD_ARG_LIMIT = 255; diff --git a/lang/java/ipc/src/main/java/org/apache/avro/ipc/SaslSocketServer.java b/lang/java/ipc/src/main/java/org/apache/avro/ipc/SaslSocketServer.java index 480f5f7c99a..f63bed804c7 100644 --- a/lang/java/ipc/src/main/java/org/apache/avro/ipc/SaslSocketServer.java +++ b/lang/java/ipc/src/main/java/org/apache/avro/ipc/SaslSocketServer.java @@ -47,7 +47,7 @@ private static abstract class SaslServerFactory { /** * Create using SASL's anonymous - * (RFC 2245) mechanism. + * (RFC 2245) mechanism. */ public SaslSocketServer(Responder responder, SocketAddress addr) throws IOException { this(responder, addr, new SaslServerFactory() { diff --git a/lang/java/ipc/src/main/java/org/apache/avro/ipc/SaslSocketTransceiver.java b/lang/java/ipc/src/main/java/org/apache/avro/ipc/SaslSocketTransceiver.java index a9752d51c19..3876bcb9c9b 100644 --- a/lang/java/ipc/src/main/java/org/apache/avro/ipc/SaslSocketTransceiver.java +++ b/lang/java/ipc/src/main/java/org/apache/avro/ipc/SaslSocketTransceiver.java @@ -65,7 +65,7 @@ private static enum Status { /** * Create using SASL's anonymous - * (RFC 2245) mechanism. + * (RFC 2245) mechanism. */ public SaslSocketTransceiver(SocketAddress address) throws IOException { this(address, new AnonymousClient()); diff --git a/lang/java/ipc/src/main/velocity/org/apache/avro/ipc/stats/static/g.bar.js b/lang/java/ipc/src/main/velocity/org/apache/avro/ipc/stats/static/g.bar.js index 9ff5e5bfa7a..61a3b59e07c 100644 --- a/lang/java/ipc/src/main/velocity/org/apache/avro/ipc/stats/static/g.bar.js +++ b/lang/java/ipc/src/main/velocity/org/apache/avro/ipc/stats/static/g.bar.js @@ -2,7 +2,7 @@ * g.Raphael 0.4.1 - Charting library, based on Raphaƫl * * Copyright (c) 2009 Dmitry Baranovskiy (http://g.raphaeljs.com) - * Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license. + * Licensed under the MIT (https://www.opensource.org/licenses/mit-license.php) license. */ Raphael.fn.g.barchart = function (x, y, width, height, values, opts) { opts = opts || {}; diff --git a/lang/java/mapred/src/main/java/org/apache/avro/mapred/AvroAsTextInputFormat.java b/lang/java/mapred/src/main/java/org/apache/avro/mapred/AvroAsTextInputFormat.java index c8c7be098dc..f0856b63d52 100644 --- a/lang/java/mapred/src/main/java/org/apache/avro/mapred/AvroAsTextInputFormat.java +++ b/lang/java/mapred/src/main/java/org/apache/avro/mapred/AvroAsTextInputFormat.java @@ -35,7 +35,7 @@ * An {@link org.apache.hadoop.mapred.InputFormat} for Avro data files, which * converts each datum to string form in the input key. The input value is * always empty. The string representation is - * JSON. + * JSON. *

    * This {@link org.apache.hadoop.mapred.InputFormat} is useful for applications * that wish to process Avro data using tools like MapReduce Streaming. diff --git a/lang/java/mapred/src/main/resources/META-INF/NOTICE b/lang/java/mapred/src/main/resources/META-INF/NOTICE index de67de97c99..94f0a56597a 100644 --- a/lang/java/mapred/src/main/resources/META-INF/NOTICE +++ b/lang/java/mapred/src/main/resources/META-INF/NOTICE @@ -29,4 +29,4 @@ is: The Odiago NOTICE at the time of the contribution: | This product includes software developed by Odiago, Inc. -| (http://www.wibidata.com). +| (https://www.wibidata.com). diff --git a/lang/java/protobuf/src/main/java/org/apache/avro/protobuf/package.html b/lang/java/protobuf/src/main/java/org/apache/avro/protobuf/package.html index f2ec6ea56c7..673dbe9d2b6 100644 --- a/lang/java/protobuf/src/main/java/org/apache/avro/protobuf/package.html +++ b/lang/java/protobuf/src/main/java/org/apache/avro/protobuf/package.html @@ -17,7 +17,7 @@ limitations under the License. --> -Protocol Buffer +Protocol Buffer compatibility.

    Protocol Buffer primitive types are mapped to Avro types as follows: diff --git a/lang/java/tools/src/main/resources/META-INF/NOTICE b/lang/java/tools/src/main/resources/META-INF/NOTICE index 5d87f0e74ab..9b6aa465380 100644 --- a/lang/java/tools/src/main/resources/META-INF/NOTICE +++ b/lang/java/tools/src/main/resources/META-INF/NOTICE @@ -29,7 +29,7 @@ is: The Odiago NOTICE at the time of the contribution: | This product includes software developed by Odiago, Inc. -| (http://www.wibidata.com). +| (https://www.wibidata.com). Apache Commons compress includes the following in its NOTICE file: @@ -253,7 +253,7 @@ Netty 3.5.13.Final includes the following in its NOTICE file: | * LICENSE: | * license/LICENSE.protobuf.txt (New BSD License) | * HOMEPAGE: -| * http://code.google.com/p/protobuf/ +| * https://code.google.com/p/protobuf/ | | This product optionally depends on 'SLF4J', a simple logging facade for Java, | which can be obtained at: @@ -285,7 +285,7 @@ Netty 3.5.13.Final includes the following in its NOTICE file: | * LICENSE: | * license/LICENSE.jboss-logging.txt (GNU LGPL 2.1) | * HOMEPAGE: -| * http://anonsvn.jboss.org/repos/common/common-logging-spi/ +| * https://anonsvn.jboss.org/repos/common/common-logging-spi/ | | [JBOSS LOGGING IS NOT INCLUDED IN AVRO TOOLS.] | diff --git a/lang/java/tools/src/test/java/org/apache/avro/tool/TestSpecificCompilerTool.java b/lang/java/tools/src/test/java/org/apache/avro/tool/TestSpecificCompilerTool.java index d0a5cc23d16..a52b8bb9dd1 100644 --- a/lang/java/tools/src/test/java/org/apache/avro/tool/TestSpecificCompilerTool.java +++ b/lang/java/tools/src/test/java/org/apache/avro/tool/TestSpecificCompilerTool.java @@ -127,7 +127,7 @@ private void doCompile(String[] args) throws Exception { * sources and do a deeper comparison. * * See - * http://download.oracle.com/javase/6/docs/api/javax/tools/JavaCompiler.html + * https://download.oracle.com/javase/6/docs/api/javax/tools/JavaCompiler.html */ private static void assertFileMatch(File expected, File found) throws IOException { Assert.assertEquals("Found file: " + found + " does not match expected file: " + expected, readFile(expected), diff --git a/lang/java/trevni/core/src/main/java/org/apache/trevni/SnappyCodec.java b/lang/java/trevni/core/src/main/java/org/apache/trevni/SnappyCodec.java index c68a316acca..203e074e7e1 100644 --- a/lang/java/trevni/core/src/main/java/org/apache/trevni/SnappyCodec.java +++ b/lang/java/trevni/core/src/main/java/org/apache/trevni/SnappyCodec.java @@ -21,7 +21,7 @@ import java.nio.ByteBuffer; import org.xerial.snappy.Snappy; -/** Implements Snappy codec. */ +/** Implements Snappy codec. */ final class SnappyCodec extends Codec { @Override diff --git a/lang/java/trevni/core/src/main/java/overview.html b/lang/java/trevni/core/src/main/java/overview.html index 8f04965eef8..5a1a34002e8 100644 --- a/lang/java/trevni/core/src/main/java/overview.html +++ b/lang/java/trevni/core/src/main/java/overview.html @@ -59,7 +59,7 @@

    Schemas

    fields, extra fields, etc. can all be easily resolved.

    Avro schemas are defined with - with JSON . This facilitates + with JSON . This facilitates implementation in languages that already have JSON libraries.

    Comparison with other systems

    diff --git a/lang/java/trevni/doc/apt/spec.apt b/lang/java/trevni/doc/apt/spec.apt index b8b685c8d46..3b39560b715 100644 --- a/lang/java/trevni/doc/apt/spec.apt +++ b/lang/java/trevni/doc/apt/spec.apt @@ -462,10 +462,10 @@ Implementation Notes * References - {CIF} {{{http://arxiv.org/pdf/1105.4252.pdf}}}, Floratou, Patel, Shekita, & Tata, VLDB 2011. - {DREMEL} {{{http://research.google.com/pubs/archive/36632.pdf}}}, Melnik, Gubarev, Long, Romer, Shivakumar, & Tolton, VLDB 2010. diff --git a/lang/js/etc/deprecated/README b/lang/js/etc/deprecated/README index 85d12b754f4..c853b60fa58 100644 --- a/lang/js/etc/deprecated/README +++ b/lang/js/etc/deprecated/README @@ -8,7 +8,7 @@ Usage use ```require('avro-js')``` in your program. * *Outside of node.js (e.g., browser)*: Include the validator.js file and the - [underscore.js library](http://underscorejs.org/). + [underscore.js library](https://underscorejs.org/). Running tests diff --git a/lang/js/lib/schemas.js b/lang/js/lib/schemas.js index 6c09dfa0795..a68182695e4 100644 --- a/lang/js/lib/schemas.js +++ b/lang/js/lib/schemas.js @@ -2151,7 +2151,7 @@ function stringify(obj, noDeref) { // Since JS objects are unordered, this implementation (unfortunately) // relies on engines returning properties in the same order that they are // inserted in. This is not in the JS spec, but can be "somewhat" safely - // assumed (more here: http://stackoverflow.com/q/5525795/1062617). + // assumed (more here: https://stackoverflow.com/q/5525795/1062617). return (function (registry) { return JSON.stringify(obj, function (key, value) { if (value instanceof Field) { diff --git a/lang/js/lib/utils.js b/lang/js/lib/utils.js index ed46e487d4c..ab1bcdc03b5 100644 --- a/lang/js/lib/utils.js +++ b/lang/js/lib/utils.js @@ -130,7 +130,7 @@ function abstractFunction() { throw new Error('abstract'); } /** * Generator of random things. * - * Inspired by: http://stackoverflow.com/a/424445/1062617 + * Inspired by: https://stackoverflow.com/a/424445/1062617 * */ function Lcg(seed) { diff --git a/lang/js/package.json b/lang/js/package.json index 7c3e7c12f30..1eb0a0760b4 100644 --- a/lang/js/package.json +++ b/lang/js/package.json @@ -14,8 +14,8 @@ } ], "repository": { - "type": "svn", - "url": "http://svn.apache.org/repos/asf/avro/trunk/lang/js/" + "type": "git", + "url": "https://github.com/apache/avro" }, "keywords": [ "avro", diff --git a/lang/php/README.txt b/lang/php/README.txt index eb746e78941..8e7b2bc30d4 100644 --- a/lang/php/README.txt +++ b/lang/php/README.txt @@ -6,8 +6,8 @@ A library for using [Avro](https://avro.apache.org/) with PHP. Requirements ============ * PHP 5 - * On 32-bit platforms, the [GMP PHP extension](http://php.net/gmp) - * For testing, [PHPUnit](http://www.phpunit.de/) + * On 32-bit platforms, the [GMP PHP extension](https://php.net/gmp) + * For testing, [PHPUnit](https://www.phpunit.de/) Both GMP and PHPUnit are often available via package management systems as `php5-gmp` and `phpunit`, respectively. diff --git a/lang/php/lib/avro.php b/lang/php/lib/avro.php index 7c37d5d4e1d..0a1541c2ea8 100644 --- a/lang/php/lib/avro.php +++ b/lang/php/lib/avro.php @@ -138,7 +138,7 @@ private static function check_little_endian() * Determines the endianness of the host platform and memoizes * the result to Avro::$endianness. * - * Based on a similar check perfomed in http://pear.php.net/package/Math_BinaryUtils + * Based on a similar check perfomed in https://pear.php.net/package/Math_BinaryUtils * * @throws AvroException if the endianness cannot be determined. */ diff --git a/lang/php/lib/avro/data_file.php b/lang/php/lib/avro/data_file.php index 72272957e13..563d4cf3fed 100644 --- a/lang/php/lib/avro/data_file.php +++ b/lang/php/lib/avro/data_file.php @@ -361,7 +361,7 @@ class AvroDataIOWriter */ private static function generate_sync_marker() { - // From http://php.net/manual/en/function.mt-rand.php comments + // From https://php.net/manual/en/function.mt-rand.php comments return pack('S8', mt_rand(0, 0xffff), mt_rand(0, 0xffff), mt_rand(0, 0xffff), diff --git a/lang/php/test/SchemaTest.php b/lang/php/test/SchemaTest.php index 3ea96ad108e..9fa6016f3ae 100644 --- a/lang/php/test/SchemaTest.php +++ b/lang/php/test/SchemaTest.php @@ -421,7 +421,7 @@ function test_json_decode() $this->assertEquals(json_decode('{"type": "null"}', true), array("type" => 'null')); // PHP now only accept lowercase true, and rejects TRUE etc. - // http://php.net/manual/en/migration56.incompatible.php#migration56.incompatible.json-decode + // https://php.net/manual/en/migration56.incompatible.php#migration56.incompatible.json-decode $this->assertEquals(json_decode('true', true), true, 'true'); $this->assertEquals(json_decode('"boolean"'), 'boolean'); diff --git a/lang/py/lib/simplejson/__init__.py b/lang/py/lib/simplejson/__init__.py index d5b4d399137..e98cec9ec2b 100644 --- a/lang/py/lib/simplejson/__init__.py +++ b/lang/py/lib/simplejson/__init__.py @@ -1,4 +1,4 @@ -r"""JSON (JavaScript Object Notation) is a subset of +r"""JSON (JavaScript Object Notation) is a subset of JavaScript syntax (ECMA-262 3rd edition) used as a lightweight data interchange format. diff --git a/lang/py/lib/simplejson/decoder.py b/lang/py/lib/simplejson/decoder.py index b769ea486ca..0c30e764e90 100644 --- a/lang/py/lib/simplejson/decoder.py +++ b/lang/py/lib/simplejson/decoder.py @@ -257,7 +257,7 @@ def JSONArray((s, end), scan_once, _w=WHITESPACE.match, _ws=WHITESPACE_STR): return values, end class JSONDecoder(object): - """Simple JSON decoder + """Simple JSON decoder Performs the following translations in decoding by default: diff --git a/lang/py/lib/simplejson/encoder.py b/lang/py/lib/simplejson/encoder.py index cf58290366b..2f3d343a4e8 100644 --- a/lang/py/lib/simplejson/encoder.py +++ b/lang/py/lib/simplejson/encoder.py @@ -68,7 +68,7 @@ def replace(match): encode_basestring_ascii = c_encode_basestring_ascii or py_encode_basestring_ascii class JSONEncoder(object): - """Extensible JSON encoder for Python data structures. + """Extensible JSON encoder for Python data structures. Supports the following objects and types by default: diff --git a/lang/py/test/set_avro_test_path.py b/lang/py/test/set_avro_test_path.py index 0bbfce51be1..8c9e242b169 100644 --- a/lang/py/test/set_avro_test_path.py +++ b/lang/py/test/set_avro_test_path.py @@ -20,8 +20,8 @@ directories set via the environment variable PYTHONPATH. For reference see: -http://www.velocityreviews.com/forums/t716589-pythonpath-and-eggs.html -http://stackoverflow.com/questions/897792/pythons-sys-path-value. +https://www.velocityreviews.com/forums/t716589-pythonpath-and-eggs.html +https://stackoverflow.com/questions/897792/pythons-sys-path-value. Unittests would therefore use the installed AVRO and not the AVRO being built. To work around this the unittests import this module before diff --git a/pom.xml b/pom.xml index c235578cdd0..ee8afbec7ec 100644 --- a/pom.xml +++ b/pom.xml @@ -297,6 +297,7 @@ lang/js/node_modules/** lang/c++/doc/html/** lang/c++/build/** + lang/csharp/build/** lang/perl/pm_to_blib lang/perl/blib/**/.exists lang/py/build/**