mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
equals()规范吧,常量已经写在前面,避免null异常
This commit is contained in:
parent
467865e02c
commit
73cd33450a
@ -606,10 +606,11 @@ public class GifDecoder {
|
|||||||
for (int i = 0; i < 11; i++) {
|
for (int i = 0; i < 11; i++) {
|
||||||
app.append((char) block[i]);
|
app.append((char) block[i]);
|
||||||
}
|
}
|
||||||
if (app.toString().equals("NETSCAPE2.0")) {
|
if ("NETSCAPE2.0".equals(app.toString())) {
|
||||||
readNetscapeExt();
|
readNetscapeExt();
|
||||||
} else
|
} else {
|
||||||
skip(); // don't care
|
skip(); // don't care
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default: // uninteresting extension
|
default: // uninteresting extension
|
||||||
|
Loading…
x
Reference in New Issue
Block a user