Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Partially revert type name fixup in href regex.

  • Loading branch information...
commit ba1791c16c4013bb9d9ee6a71e2dd0bd30714bf3 1 parent c74a3da
@atsushieno atsushieno authored
Showing with 5 additions and 2 deletions.
  1. +5 −2 AndroidDocScraper.java
View
7 AndroidDocScraper.java
@@ -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\\)\".*\\((.*)\\)");
Please sign in to comment.
Something went wrong with that request. Please try again.