Skip to content

Commit

Permalink
append slashes to doc paths if missing.
Browse files Browse the repository at this point in the history
  • Loading branch information
Atsushi Eno committed Jun 13, 2013
1 parent 4c866d1 commit c92c9dd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Start.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,12 @@ public static void main (String[] args)
for (String arg : args) {
if (arg.startsWith ("--javadocpath=")) {
javadocs = arg.substring (14);
if (!javadocs.endsWith ("/"))
javadocs += "/";
} else if (arg.startsWith ("--droiddocpath=")) {
droiddocs = arg.substring (15);
if (!droiddocs.endsWith ("/"))
droiddocs += "/";
} else if (arg.startsWith ("--annotations=")) {
annots = arg.substring (14);
} else if (arg.startsWith ("--jar=")) {
Expand Down

0 comments on commit c92c9dd

Please sign in to comment.