Skip to content

Commit

Permalink
[#noissue] Polishing
Browse files Browse the repository at this point in the history
  • Loading branch information
emeroad committed May 19, 2022
1 parent 41d4ab6 commit 7589386
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,8 @@ public ProfilerLibClass(List<String> profilerClass) {

@Override
public boolean onLoadClass(String clazzName) {
final int length = profilerClass.length;
for (int i = 0; i < length; i++) {
if (clazzName.startsWith(profilerClass[i])) {
for (String libClassName : profilerClass) {
if (clazzName.startsWith(libClassName)) {
return ON_LOAD_CLASS;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,8 @@ public ProfilerLibClass(List<String> libClass) {


public boolean onLoadClass(String clazzName) {
final int length = libClass.length;
for (int i = 0; i < length; i++) {
if (clazzName.startsWith(libClass[i])) {
for (String libClassName : libClass) {
if (clazzName.startsWith(libClassName)) {
return ON_LOAD_CLASS;
}
}
Expand Down

0 comments on commit 7589386

Please sign in to comment.