Rev 1929 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1929 | Rev 1930 | ||
---|---|---|---|
Line 51... | Line 51... | ||
51 | return null; |
51 | return null; |
52 | } |
52 | } |
53 | 53 | ||
54 | public DocComponent findDocComponent(1.5.0/docs/api/java/lang/Class.html">Class compClass, 1.5.0/docs/api/java/lang/String.html">String internalCode) |
54 | public DocComponent findDocComponent(1.5.0/docs/api/java/lang/Class.html">Class compClass, 1.5.0/docs/api/java/lang/String.html">String internalCode) |
55 | { |
55 | { |
56 | - | ||
57 | if(getComponents() != null) |
56 | if(getComponents() != null && internalCode != null) |
58 | for(DocComponent comp: getComponents()) |
57 | for(DocComponent comp: getComponents()) |
59 | { |
- | |
60 | if(comp.getClass().equals(compClass) && comp.getInternalCode().equals(internalCode)) |
- | |
61 | { |
58 | { |
- | 59 | if(comp.getClass().equals(compClass) && comp.getInternalCode().equals(internalCode)) |
|
- | 60 | { |
|
62 | return comp; |
61 | return comp; |
- | 62 | } |
|
63 | } |
63 | } |
64 | } |
- | |
65 | return null; |
64 | return null; |
66 | } |
65 | } |
67 | } |
66 | } |
68 | 67 |