Skip to content

Commit

Permalink
Fix coverage for clone (#968)
Browse files Browse the repository at this point in the history
  • Loading branch information
3vilhamster authored Nov 25, 2024
1 parent 559776a commit dae4b36
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,10 @@ private static int getPropertyCount(Object obj) {
Field[] fields = clazz.getDeclaredFields();

for (Field field : fields) {
if (!field.getName().equals("$jacocoData")) {
count++;
if (field.getName().equals("$jacocoData") || field.getName().equals("__$hits$__")) {
continue;
}
count++;
}
clazz = clazz.getSuperclass();
}
Expand Down

0 comments on commit dae4b36

Please sign in to comment.