Skip to content

Commit

Permalink
Automatic code cleanup.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 195486836
  • Loading branch information
Googler authored and Copybara-Service committed May 4, 2018
1 parent 4fb4e03 commit 24e1409
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions site/blog/_posts/2015-06-25-ErrorProne.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ layout: posts
title: Checking your Java errors with Error Prone.
---

We recently open-sourced our support for [Error Prone](http://errorprone.info).
[Error Prone](http://errorprone.info) checks for common mistakes in Java code
We recently open-sourced our support for [Error Prone](https://errorprone.info).
[Error Prone](https://errorprone.info) checks for common mistakes in Java code
that will not be caught by the compiler.

We turned [Error Prone](http://errorprone.info) on by default but you can easily
We turned [Error Prone](https://errorprone.info) on by default but you can easily
turn it off by using the Javac option `-XepDisableAllChecks`. To do so, simply
specify `--javacopt='XepDisableAllChecks` to the list of Bazel's options. You
can also tune the checks error-prone will perform by using the [`-Xep:`
flags](http://errorprone.info/docs/flags).
flags](https://errorprone.info/docs/flags).

See the [documentation of Error Prone](http://errorprone.info/docs/installation) for more
See the [documentation of Error Prone](https://errorprone.info/docs/installation) for more
on Error Prone.
2 changes: 1 addition & 1 deletion site/blog/_posts/2015-07-08-Java-Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ java_toolchain(
source_version = "8",
target_version = "8",
misc = [
"-Xep:CollectionIncompatibleType:ERROR", # http://errorprone.info/bugpattern/CollectionIncompatibleType
"-Xep:CollectionIncompatibleType:ERROR", # https://errorprone.info/bugpattern/CollectionIncompatibleType
],
)
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public RuleClass build(RuleClass.Builder builder, RuleDefinitionEnvironment env)
contribute an annotation processor to the Java compiler's annotation processing, but its
runtime classpath will still be included on the compiler's annotation processor path. (This
is primarily intended for use by
<a href="http://errorprone.info/docs/plugins">Error Prone plugins</a>, which are loaded
<a href="https://errorprone.info/docs/plugins">Error Prone plugins</a>, which are loaded
from the annotation processor path using
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/ServiceLoader.html">
java.util.ServiceLoader</a>.)
Expand Down

0 comments on commit 24e1409

Please sign in to comment.