Permalink
Browse files

Partially revert type name fixup in href regex.

  • Loading branch information...
1 parent c74a3da commit ba1791c16c4013bb9d9ee6a71e2dd0bd30714bf3 @atsushieno atsushieno committed Jul 19, 2013
Showing with 5 additions and 2 deletions.
  1. +5 −2 AndroidDocScraper.java
View
@@ -113,8 +113,11 @@ protected AndroidDocScraper (File dir, String patternHead, String resetPatternHe
String type = JavaClass.getGenericTypeName (ptypes[i]);
if (isVarArgs && i == ptypes.length - 1)
type = type.replace ("[]", "...");
- if (type.indexOf ('<') > 0) // remove generic args in href
- type = type.substring (0, type.indexOf ('<'));
+ // FIXME: some javadocs (e.g. OSMDroid) seems to cause type name mismatch
+ // by having generic arguments in this type name, but removing this causes
+ // android-support-4 parse regression. We need to revisit here later.
+ //if (type.indexOf ('<') > 0) // remove generic args in href
+ // type = type.substring (0, type.indexOf ('<'));
buffer.append (type);
}
buffer.append("\\E\\)\".*\\((.*)\\)");

0 comments on commit ba1791c

Please sign in to comment.