Skip to content

Commit 3efb7c3

Browse files
committed
Use interface in private method signature
1 parent 137e340 commit 3efb7c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/apache/commons/lang3/ClassUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ public static List<Class<?>> getAllInterfaces(final Class<?> cls) {
383383
* @param cls the class to look up, may be {@code null}.
384384
* @param interfacesFound the {@link Set} of interfaces for the class.
385385
*/
386-
private static void getAllInterfaces(Class<?> cls, final HashSet<Class<?>> interfacesFound) {
386+
private static void getAllInterfaces(Class<?> cls, final Set<Class<?>> interfacesFound) {
387387
while (cls != null) {
388388
for (final Class<?> i : cls.getInterfaces()) {
389389
if (interfacesFound.add(i)) {

0 commit comments

Comments
 (0)