Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

43页,“故符合xxxx.startWith(BOOT_INF_LIB)的判断”,应该为“故符合xxxx.startWith(BOOT_INF_CLASSES)的判断” #49

Closed
Axinghub opened this issue Jul 30, 2019 · 0 comments

Comments

@Axinghub
Copy link

43页,“故符合xxxx.startWith(BOOT_INF_LIB)的判断”,应该为“故符合xxxx.startWith(BOOT_INF_CLASSES)的判断”

✅ 谢谢 @nosqlcoco 反馈,已确认编写错误并收录~

Originally posted by @nosqlcoco in #3 (comment)

43页,感觉改了好像有点问题:源码里面并没有xxxx.startWith(BOOT_INF_CLASSES),改成xxxx.equals(BOOT_INF_CLASSES);又感觉不太对,请小马哥确认一下,不知道是不是我错了
源码:
@OverRide
protected boolean isNestedArchive(Archive.Entry entry) {
if (entry.isDirectory()) {
return entry.getName().equals(BOOT_INF_CLASSES);
}
return entry.getName().startsWith(BOOT_INF_LIB);
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant