Polish contribution

See gh-25429
This commit is contained in:
Sam Brannen
2020-07-25 12:27:21 +02:00
parent 650cbeee14
commit 5442d8779a
2 changed files with 70 additions and 34 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2019 the original author or authors.
* Copyright 2002-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -151,6 +151,7 @@ abstract class AnnotationsScanner {
return result;
}
if (isFiltered(source, context, classFilter)) {
// Skip the current level in the class hierarchy.
source = source.getSuperclass();
aggregateIndex++;
continue;