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 11/**
2- * Copyright 2009-2017 the original author or authors.
2+ * Copyright 2009-2018 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
@@ -313,7 +313,7 @@ private boolean isValidPropertyName(String name) {
313313 private Method [] getClassMethods (Class <?> cls ) {
314314 Map <String , Method > uniqueMethods = new HashMap <String , Method >();
315315 Class <?> currentClass = cls ;
316- while (currentClass != null ) {
316+ while (currentClass != null && currentClass != Object . class ) {
317317 addUniqueMethods (uniqueMethods , currentClass .getDeclaredMethods ());
318318
319319 // we also need to look for interface methods -
You can’t perform that action at this time.
0 commit comments