From c92c9dd8ee0d3c8c80a8022116c6aaee10caadb8 Mon Sep 17 00:00:00 2001 From: Atsushi Eno Date: Thu, 13 Jun 2013 18:59:38 +0900 Subject: [PATCH] append slashes to doc paths if missing. --- Start.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Start.java b/Start.java index df743fb..87da63f 100644 --- a/Start.java +++ b/Start.java @@ -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=")) {