Skip to content

Commit 1bf3ecd

Browse files
vlsiError Prone Team
authored andcommitted
style: prefer https:// links in favour of http://
See #4897 Fixes #4898 PiperOrigin-RevId: 738438228
1 parent 0c3371f commit 1bf3ecd

File tree

7 files changed

+21
-21
lines changed

7 files changed

+21
-21
lines changed

_includes/nav.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<li {% if include.active == 'docs' %} class="active" {% endif %}>
1919
<a href="{{ site.baseurl }}/docs/installation">Docs</a>
2020
</li>
21-
<li><a href="http://github.com/google/error-prone">GitHub</a></li>
21+
<li><a href="https://github.com/google/error-prone">GitHub</a></li>
2222
</ul>
2323
</div>
2424
</div>

docs/flags.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ We no longer support the old-style Error Prone disabling flags that used the
6969

7070
There are a couple of flags for configuration of patching in suggested fixes,
7171
e.g. `-XepPatchChecks:VALUE` and `-XepPatchLocation:VALUE`. See the
72-
[patching docs](http://errorprone.info/docs/patching) for more info.
72+
[patching docs](https://errorprone.info/docs/patching) for more info.
7373

7474
### Pass Additional Info to BugCheckers
7575

docs/installation.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ can still be used to build Java 8 code by setting the appropriate `-source` /
99
`-target` / `-bootclasspath` flags.)
1010

1111
Please join our
12-
[mailing list](http://groups.google.com/group/error-prone-announce) to know when
13-
a new version is released!
12+
[mailing list](https://groups.google.com/group/error-prone-announce) to know
13+
when a new version is released!
1414

1515
## Bazel
1616

17-
Error Prone works out of the box with [Bazel](http://bazel.io).
17+
Error Prone works out of the box with [Bazel](https://bazel.io).
1818

1919
```
2020
java_library(
@@ -29,7 +29,7 @@ ERROR: example/myproject/BUILD:29:1: Java compilation in rule '//example/myproje
2929
examples/maven/error_prone_should_flag/src/main/java/Main.java:20: error: [DeadException] Exception created but not thrown
3030
new Exception();
3131
^
32-
(see http://errorprone.info/bugpattern/DeadException)
32+
(see https://errorprone.info/bugpattern/DeadException)
3333
Did you mean 'throw new Exception();'?
3434
1 error
3535
BazelJavaBuilder threw exception: java compilation returned status ERROR
@@ -111,8 +111,8 @@ file:
111111
--add-opens jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED
112112
```
113113

114-
See the [flags documentation](http://errorprone.info/docs/flags#maven) for
115-
details on how to customize the plugin's behavior.
114+
See the [flags documentation](https://errorprone.info/docs/flags#maven) for details on
115+
how to customize the plugin's behavior.
116116

117117
## Gradle
118118

@@ -214,7 +214,7 @@ javac \
214214
ShortSet.java:8: error: [CollectionIncompatibleType] Argument 'i - 1' should not be passed to this method; its type int is not compatible with its collection's type argument Short
215215
s.remove(i - 1);
216216
^
217-
(see http://errorprone.info/bugpattern/CollectionIncompatibleType)
217+
(see https://errorprone.info/bugpattern/CollectionIncompatibleType)
218218
1 error
219219
```
220220

docs/patching.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@ In addition to reporting errors as part of your regular compile phase, Error Pro
1111
error: [DeadException] Exception created but not thrown
1212
new RuntimeException();
1313
^
14-
(see http://errorprone.info/bugpattern/DeadException)
14+
(see https://errorprone.info/bugpattern/DeadException)
1515
Did you mean 'throw new RuntimeException();'?
1616
1 error
1717
```
18-
Here, Error Prone is suggesting to fix this issue by prepending a `throw` keyword to the code.
18+
19+
Here, Error Prone is suggesting to fix this issue by prepending a `throw`
20+
keyword to the code.
1921

2022
While you can, of course, manually make these changes to your source code, you can also use Error Prone to modify the source code with the suggested replacements. This is useful when first adding Error Prone enforcement to an existing codebase, or for fixing warning-level issues that don't break the build (like [MissingOverride] or [DefaultCharset]).
2123

docs/plugins.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,9 @@ dependencies {
9595

9696
## Command-Line Arguments
9797

98-
Plugin checkers can accept additional configuration flags by defining
99-
a single-argument constructor taking an `ErrorProneFlags` object (see
100-
the [flags docs](http://errorprone.info/docs/flags)). However, note
101-
that plugin checkers must also define a zero-argument constructor, as
102-
they are loaded by a `ServiceLoader`. The actual checker instance
103-
used by Error Prone will be constructed using the `ErrorProneFlags`
104-
constructor.
105-
98+
Plugin checkers can accept additional configuration flags by defining a
99+
single-argument constructor taking an `ErrorProneFlags` object (see the
100+
[flags docs](https://errorprone.info/docs/flags)). However, note that plugin checkers
101+
must also define a zero-argument constructor, as they are loaded by a
102+
`ServiceLoader`. The actual checker instance used by Error Prone will be
103+
constructed using the `ErrorProneFlags` constructor.

docs/refaster.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Use the Error Prone javac JAR and the Error Prone Refaster JAR to compile the
7171
Refaster template, using JDK 9 or newer:
7272

7373
```shell
74-
wget http://repo1.maven.org/maven2/com/google/errorprone/error_prone_refaster/2.3.1/error_prone_refaster-2.3.1.jar
74+
wget https://repo1.maven.org/maven2/com/google/errorprone/error_prone_refaster/2.3.1/error_prone_refaster-2.3.1.jar
7575

7676
javac \
7777
-cp error_prone_refaster-2.3.1.jar \

index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ ShortSet.java:6: error: [CollectionIncompatibleType] Argument 'i - 1' should not
4747
its type int is not compatible with its collection's type argument Short
4848
s.remove(i - 1);
4949
^
50-
(see http://errorprone.info/bugpattern/CollectionIncompatibleType)
50+
(see https://errorprone.info/bugpattern/CollectionIncompatibleType)
5151
1 error
5252
```
5353

0 commit comments

Comments
 (0)