Add errorprone and fix warnings/errors

The compiler will also treat all warnings as errors from now on.
This commit is contained in:
Alexander Söderberg 2020-10-23 10:20:45 +02:00 committed by Alexander Söderberg
parent 6ffee9d04f
commit cfac2639ad
101 changed files with 309 additions and 146 deletions

View file

@ -38,7 +38,7 @@ public abstract class CustomUser {
* @param user Sending user
* @param channel Channel that the message was sent in
*/
public CustomUser(final @NonNull User user, final @NonNull MessageChannel channel) {
protected CustomUser(final @NonNull User user, final @NonNull MessageChannel channel) {
this.user = user;
this.channel = channel;
}