From eeb95825bf3763959ddd073d20b11045d2c01131 Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Mon, 6 Nov 2017 03:28:43 +0100 Subject: [PATCH] Update links to use HTTPS (#526) --- CONTRIBUTING.md | 2 +- HOCON.md | 6 +++--- LICENSE-2.0.txt | 4 ++-- NEWS.md | 2 +- README.md | 18 +++++++++--------- config/src/test/resources/test04.conf | 2 +- project/PublishToSonatype.scala | 2 +- 7 files changed, 18 insertions(+), 18 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a3227a33..30ebc7fd 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -14,7 +14,7 @@ fine... just be willing to revise it! Before we can accept pull requests, you will need to agree to the Typesafe Contributor License Agreement online, using your GitHub account - it takes 30 seconds. You can do this at -http://www.typesafe.com/contribute/cla +https://www.lightbend.com/contribute/cla Expect that most PRs will need revision before merge. If people suggest revisions, you can make them yourself or wait for a diff --git a/HOCON.md b/HOCON.md index f85c4b05..6e0818c0 100644 --- a/HOCON.md +++ b/HOCON.md @@ -109,7 +109,7 @@ the config file to the computer program. ## Syntax Much of this is defined with reference to JSON; you can find the -JSON spec at http://json.org/ of course. +JSON spec at https://json.org/ of course. ### Unchanged from JSON @@ -1337,7 +1337,7 @@ such that following the standard leads to people being confused. Worse, common usage varies based on whether people are talking about RAM or disk sizes, and various existing operating systems and apps do all kinds of different things. See -http://en.wikipedia.org/wiki/Binary_prefix#Deviation_between_powers_of_1024_and_powers_of_1000 +https://en.wikipedia.org/wiki/Binary_prefix#Deviation_between_powers_of_1024_and_powers_of_1000 for examples. It appears impossible to sort this out without causing confusion for someone sometime. @@ -1427,7 +1427,7 @@ way to get rid of default fallback values they don't want. It may be useful to merge Java properties data with data loaded from JSON or HOCON. See the Java properties spec here: -http://download.oracle.com/javase/7/docs/api/java/util/Properties.html#load%28java.io.Reader%29 +https://docs.oracle.com/javase/8/docs/api/java/util/Properties.html#load-java.io.Reader- Java properties parse as a one-level map from string keys to string values. diff --git a/LICENSE-2.0.txt b/LICENSE-2.0.txt index d6456956..62589edd 100644 --- a/LICENSE-2.0.txt +++ b/LICENSE-2.0.txt @@ -1,7 +1,7 @@ Apache License Version 2.0, January 2004 - http://www.apache.org/licenses/ + https://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION @@ -193,7 +193,7 @@ 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, diff --git a/NEWS.md b/NEWS.md index 60280909..0e93dee2 100644 --- a/NEWS.md +++ b/NEWS.md @@ -222,7 +222,7 @@ Thank you to contributors with commits since v1.2.1 tag: - build jar using Java 1.6 (and enforce this in build) - change getDuration to return unboxed long instead of boxed - API documentation improvements - http://lightbend.github.io/config/latest/api/ + https://lightbend.github.io/config/latest/api/ # 1.1.0-9f31d6308e7ebbc3d7904b64ebb9f61f7e22a968: January 6, 2014 diff --git a/README.md b/README.md index 1ce689c9..220ae87f 100644 --- a/README.md +++ b/README.md @@ -123,7 +123,7 @@ https://github.com/lightbend/config/blob/master/NEWS.md ### API docs - - Online: http://lightbend.github.io/config/latest/api/ + - Online: https://lightbend.github.io/config/latest/api/ - also published in jar form - consider reading this README first for an intro - for questions about the `.conf` file format, read @@ -138,7 +138,7 @@ requests on GitHub. Before we can accept pull requests, you will need to agree to the Typesafe Contributor License Agreement online, using your GitHub account - it takes 30 seconds. You can do this at -http://www.typesafe.com/contribute/cla +https://www.lightbend.com/contribute/cla Please see [CONTRIBUTING](https://github.com/lightbend/config/blob/master/CONTRIBUTING.md) @@ -186,7 +186,7 @@ Objects are immutable, so methods on `Config` which transform the configuration return a new `Config`. Other types such as `ConfigParseOptions`, `ConfigResolveOptions`, `ConfigObject`, etc. are also immutable. See the -[API docs](http://lightbend.github.io/config/latest/api/) for +[API docs](https://lightbend.github.io/config/latest/api/) for details of course. ### Schemas and Validation @@ -195,7 +195,7 @@ There isn't a schema language or anything like that. However, two suggested tools are: - use the - [checkValid() method](http://lightbend.github.io/config/latest/api/com/typesafe/config/Config.html#checkValid-com.typesafe.config.Config-java.lang.String...-) + [checkValid() method](https://lightbend.github.io/config/latest/api/com/typesafe/config/Config.html#checkValid-com.typesafe.config.Config-java.lang.String...-) - access your config through a Settings class with a field for each setting, and instantiate it on startup (immediately throwing an exception if any settings are missing) @@ -432,7 +432,7 @@ values into multiple places in your code. You have been warned! ### Understanding `Config` and `ConfigObject` To read and modify configuration, you'll use the -[Config](http://lightbend.github.io/config/latest/api/com/typesafe/config/Config.html) +[Config](https://lightbend.github.io/config/latest/api/com/typesafe/config/Config.html) interface. A `Config` looks at a JSON-equivalent data structure as a one-level map from paths to values. So if your JSON looks like this: @@ -460,7 +460,7 @@ skip `null` values. You can also look at a `Config` in the way most JSON APIs would, through the -[ConfigObject](http://lightbend.github.io/config/latest/api/com/typesafe/config/ConfigObject.html) +[ConfigObject](https://lightbend.github.io/config/latest/api/com/typesafe/config/ConfigObject.html) interface. This interface represents an object node in the JSON tree. `ConfigObject` instances come in multi-level trees, and the keys do not have any syntax (they are just strings, not path @@ -472,15 +472,15 @@ expressions). Iterating over the above example as a In `ConfigObject`, `null` values are visible (distinct from missing values), just as they are in JSON. -`ConfigObject` is a subtype of [ConfigValue](http://lightbend.github.io/config/latest/api/com/typesafe/config/ConfigValue.html), where the other +`ConfigObject` is a subtype of [ConfigValue](https://lightbend.github.io/config/latest/api/com/typesafe/config/ConfigValue.html), where the other subtypes are the other JSON types (list, string, number, boolean, null). `Config` and `ConfigObject` are two ways to look at the same internal data structure, and you can convert between them for free using -[Config.root()](http://lightbend.github.io/config/latest/api/com/typesafe/config/Config.html#root%28%29) +[Config.root()](https://lightbend.github.io/config/latest/api/com/typesafe/config/Config.html#root--) and -[ConfigObject.toConfig()](http://lightbend.github.io/config/latest/api/com/typesafe/config/ConfigObject.html#toConfig%28%29). +[ConfigObject.toConfig()](https://lightbend.github.io/config/latest/api/com/typesafe/config/ConfigObject.html#toConfig--). ### ConfigBeanFactory diff --git a/config/src/test/resources/test04.conf b/config/src/test/resources/test04.conf index 1aa55df0..cf024f00 100644 --- a/config/src/test/resources/test04.conf +++ b/config/src/test/resources/test04.conf @@ -174,7 +174,7 @@ akka { mongodb { # Any specified collection name will be used as a prefix for collections that use durable mongo mailboxes - uri = "mongodb://localhost/akka.mailbox" # Follow Mongo URI Spec - http://www.mongodb.org/display/DOCS/Connections + uri = "mongodb://localhost/akka.mailbox" # Follow Mongo URI Spec - https://docs.mongodb.com/manual/reference/connection-string/ # Configurable timeouts for certain ops timeout { diff --git a/project/PublishToSonatype.scala b/project/PublishToSonatype.scala index b6b7ca54..9c12d5cd 100644 --- a/project/PublishToSonatype.scala +++ b/project/PublishToSonatype.scala @@ -11,7 +11,7 @@ abstract class PublishToSonatype { def developerUrl: String def licenseName = "Apache License, Version 2.0" - def licenseUrl = "http://www.apache.org/licenses/LICENSE-2.0" + def licenseUrl = "https://www.apache.org/licenses/LICENSE-2.0" def licenseDistribution = "repo" def scmUrl: String def scmConnection = "scm:git:" + scmUrl