File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/org/apache/ibatis/reflection Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
/**
2
- * Copyright 2009-2017 the original author or authors.
2
+ * Copyright 2009-2018 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -313,7 +313,7 @@ private boolean isValidPropertyName(String name) {
313
313
private Method [] getClassMethods (Class <?> cls ) {
314
314
Map <String , Method > uniqueMethods = new HashMap <String , Method >();
315
315
Class <?> currentClass = cls ;
316
- while (currentClass != null ) {
316
+ while (currentClass != null && currentClass != Object . class ) {
317
317
addUniqueMethods (uniqueMethods , currentClass .getDeclaredMethods ());
318
318
319
319
// we also need to look for interface methods -
You can’t perform that action at this time.
0 commit comments