langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/util/MethodFinder.java
equal
deleted
inserted
replaced
60 return null; |
60 return null; |
61 } |
61 } |
62 |
62 |
63 public MethodDoc searchInterfaces(ClassDoc cd, MethodDoc method) { |
63 public MethodDoc searchInterfaces(ClassDoc cd, MethodDoc method) { |
64 MethodDoc[] implementedMethods = (new ImplementedMethods(method, null)).build(); |
64 MethodDoc[] implementedMethods = (new ImplementedMethods(method, null)).build(); |
65 for (int i = 0; i < implementedMethods.length; i++) { |
65 for (MethodDoc implementedMethod : implementedMethods) { |
66 if (isCorrectMethod(implementedMethods[i])) { |
66 if (isCorrectMethod(implementedMethod)) { |
67 return implementedMethods[i]; |
67 return implementedMethod; |
68 } |
68 } |
69 } |
69 } |
70 return null; |
70 return null; |
71 } |
71 } |
72 } |
72 } |