From 0bb088769e3a0ca5cc26161f60a8559ee8e932d8 Mon Sep 17 00:00:00 2001 From: Raphael Moll Date: Tue, 18 May 2010 08:44:56 +0200 Subject: Fix missing @override. Also fixes some javadocs. Change-Id: Ic2bc0ae1c822f184bde63b29fdc15d897661c623 --- anttasks/src/com/android/ant/MultiApkExportTask.java | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'anttasks') diff --git a/anttasks/src/com/android/ant/MultiApkExportTask.java b/anttasks/src/com/android/ant/MultiApkExportTask.java index 850004e..d6df8ec 100644 --- a/anttasks/src/com/android/ant/MultiApkExportTask.java +++ b/anttasks/src/com/android/ant/MultiApkExportTask.java @@ -108,6 +108,7 @@ public class MultiApkExportTask extends Task { glVersion = data.glVersion; } + @Override public String toString() { StringBuilder sb = new StringBuilder(outputName); sb.append(" / ").append(relativePath); @@ -151,7 +152,7 @@ public class MultiApkExportTask extends Task { /** * Writes the apk description in the given writer. a single line is used to write * everything. - * @param writer + * @param writer The {@link FileWriter} to write to. * @throws IOException * * @see {@link #read(String)} @@ -164,7 +165,7 @@ public class MultiApkExportTask extends Task { /** * reads the apk description from a log line. - * @param data + * @param line The fields to read, comma-separated. * * @see #write(FileWriter) */ @@ -538,10 +539,13 @@ public class MultiApkExportTask extends Task { /** * Checks a manifest of the project for inclusion in the list of exported APK. * If the manifest is correct, a list of apk to export is created and returned. + * * @param androidManifest the manifest to check * @param appPackage the package name of the application being exported, as read from * export.properties. - * @return + * @return A new non-null {@link ArrayList} of {@link ApkData}. + * + * @throws BuildException in case of error. */ private ArrayList checkManifest(FileWrapper androidManifest, String appPackage) { try { @@ -611,8 +615,9 @@ public class MultiApkExportTask extends Task { /** * Finds ABIs in a project folder. This is based on the presence of libs// folder. - * @param projectPath - * @return + * + * @param projectPath The OS path of the project. + * @return A new non-null, possibly empty, list of ABI strings. */ private List findAbis(String projectPath) { ArrayList abiList = new ArrayList(); @@ -669,7 +674,7 @@ public class MultiApkExportTask extends Task { * Returns the {@link File} for the build log. * @param appPackage * @param versionCode - * @return + * @return A new non-null {@link File} mapping to the build log. */ private File getBuildLog(String appPackage, int versionCode) { return new File(appPackage + "." + versionCode + ".log"); @@ -678,7 +683,8 @@ public class MultiApkExportTask extends Task { /** * Loads and returns a list of {@link ApkData} from a build log. * @param log - * @return + * @return A new non-null, possibly empty, array of {@link ApkData}. + * @throws BuildException in case of error. */ private ApkData[] getProjects(File log) { ArrayList datalist = new ArrayList(); -- cgit v1.1