lib/avro/data_file.rb in avro-1.9.0 vs lib/avro/data_file.rb in avro-1.9.1
- old
+ new
@@ -4,11 +4,11 @@
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
-# http://www.apache.org/licenses/LICENSE-2.0
+# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
@@ -314,10 +314,10 @@
def codec_name; 'deflate'; end
def decompress(compressed)
# Passing a negative number to Inflate puts it into "raw" RFC1951 mode
# (without the RFC1950 header & checksum). See the docs for
- # inflateInit2 in http://www.zlib.net/manual.html
+ # inflateInit2 in https://www.zlib.net/manual.html
zstream = Zlib::Inflate.new(-Zlib::MAX_WBITS)
data = zstream.inflate(compressed)
data << zstream.finish
ensure
zstream.close