Skip to content

Commit b1c2e91

Browse files
committed
Update two more suppressions
1 parent 5cb787a commit b1c2e91

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

user/super/com/google/gwt/emul/java/io/Serializable.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@
2525
* The Java serialization protocol is explicitly not supported.
2626
*/
2727
public interface Serializable {
28-
// CHECKSTYLE_OFF: Utility methods.
28+
2929
@JsMethod
30+
@SuppressWarnings("checkstyle:MethodName")
3031
static boolean $isInstance(HasSerializableTypeMarker instance) {
3132
if (instance == null) {
3233
return false;
@@ -40,5 +41,4 @@ public interface Serializable {
4041
// Arrays are implicitly instances of Serializable (JLS 10.7).
4142
|| ArrayHelper.isArray(instance);
4243
}
43-
// CHECKSTYLE_ON: end utility methods
4444
}

user/super/com/google/gwt/emul/java/lang/CharSequence.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,13 @@ static int compare(CharSequence cs1, CharSequence cs2) {
9090
return cs1.toString().compareTo(cs2.toString());
9191
}
9292

93-
// CHECKSTYLE_OFF: Utility methods.
9493
@JsMethod
94+
@SuppressWarnings("checkstyle:MethodName")
9595
static boolean $isInstance(HasCharSequenceTypeMarker instance) {
9696
if (JsUtils.typeOf(instance).equals("string")) {
9797
return true;
9898
}
9999

100100
return instance != null && instance.getTypeMarker() == true;
101101
}
102-
// CHECKSTYLE_ON: end utility methods
103102
}

0 commit comments

Comments
 (0)