[errorprone] Suppress JavaLangClash to avoid breaking change
Renaming this class is a breaking change. Add a todo to rename it in next major release. See https://errorprone.info/bugpattern/JavaLangClash Change-Id: I3528fd654e30d98f4ea43e71107d83324942141c
This commit is contained in:
parent
049782743e
commit
ac3794bf01
|
@ -27,6 +27,8 @@ class Action {
|
|||
public Map<String, String> header;
|
||||
}
|
||||
|
||||
// TODO(ms): rename this class in next major release
|
||||
@SuppressWarnings("JavaLangClash")
|
||||
/** Describes an error to be returned by the LFS batch API */
|
||||
class Error {
|
||||
public int code;
|
||||
|
|
|
@ -30,6 +30,8 @@ public class LfsGson {
|
|||
/**
|
||||
* Wrapper class only used for serialization of error messages.
|
||||
*/
|
||||
// TODO(ms): rename this class in next major release
|
||||
@SuppressWarnings("JavaLangClash")
|
||||
static class Error {
|
||||
String message;
|
||||
|
||||
|
|
|
@ -87,6 +87,8 @@ class ExpiringAction extends Action {
|
|||
}
|
||||
|
||||
/** Describes an error to be returned by the LFS batch API */
|
||||
// TODO(ms): rename this class in next major release
|
||||
@SuppressWarnings("JavaLangClash")
|
||||
class Error {
|
||||
public int code;
|
||||
|
||||
|
|
|
@ -162,6 +162,8 @@ public static class Result {
|
|||
*
|
||||
* @since 6.6
|
||||
*/
|
||||
// TODO(ms): rename this class in next major release
|
||||
@SuppressWarnings("JavaLangClash")
|
||||
public static class Error {
|
||||
|
||||
private String msg;
|
||||
|
|
Loading…
Reference in New Issue