dion 02/05/14 17:37:08
Modified: src/java/org/apache/maven MavenUtils.java
Log:
More checkstyle fixes (and Netbeans testing)
Revision Changes Path
1.15 +12 -7 jakarta-turbine-maven/src/java/org/apache/maven/MavenUtils.java
Index: MavenUtils.java
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/src/java/org/apache/maven/MavenUtils.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- MavenUtils.java 15 May 2002 00:09:43 -0000 1.14
+++ MavenUtils.java 15 May 2002 00:37:08 -0000 1.15
@@ -73,7 +73,7 @@
* the project.
*
* @author <a href="[EMAIL PROTECTED]">Jason van Zyl</a>
- * @version $Id: MavenUtils.java,v 1.14 2002/05/15 00:09:43 dion Exp $
+ * @version $Id: MavenUtils.java,v 1.15 2002/05/15 00:37:08 dion Exp $
*/
public class MavenUtils
{
@@ -88,7 +88,7 @@
*
* @param projectDescriptor a maven project.xml
* @return the Maven project object for the given project descriptor
- * @throws Exception
+ * @throws Exception when any errors occur
*/
public static Project getProject(String projectDescriptor)
throws Exception
@@ -98,22 +98,27 @@
/**
* Create a Project object given a file descriptor.
- *
- * @throws Exception
+ * @param projectDescriptor a maven project.xml {@link File}
+ * @return the Maven project object for the given project descriptor
+ * @throws Exception when any errors occur
*/
public static Project getProject(File projectDescriptor)
throws Exception
{
Mapper mapper = new Mapper();
- Project project = (Project) mapper.map(projectDescriptor,PROJECT_CLASS);
+ Project project = (Project) mapper.map(projectDescriptor, PROJECT_CLASS);
return project;
}
/**
* Create a Workspace object given a workspace and profile
* descriptor.
- *
- * @throws Exception
+ *
+ * @param workspaceDescriptor the file name of a maven workspace descriptor
+ * @param projectDescriptor the file name of a maven project descriptor
+ * @param mavenLocalRepo a local maven repository
+ * @return a maven {@link Workspace} specifed by the given descriptors
+ * @throws Exception when any error occurs
*/
public static Workspace getWorkspace(String workspaceDescriptor,
String profileDescriptor,
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>