continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r492760 - /maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/BuildResultAction.java
Date Thu, 04 Jan 2007 21:43:33 GMT
Author: evenisse
Date: Thu Jan  4 13:43:32 2007
New Revision: 492760

URL: http://svn.apache.org/viewvc?view=rev&rev=492760
Log:
[CONTINUUM-1081] Fix projectGroupId param from build result page

Modified:
    maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/BuildResultAction.java

Modified: maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/BuildResultAction.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/BuildResultAction.java?view=diff&rev=492760&r1=492759&r2=492760
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/BuildResultAction.java
(original)
+++ maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/BuildResultAction.java
Thu Jan  4 13:43:32 2007
@@ -45,14 +45,14 @@
 public class BuildResultAction
     extends ContinuumActionSupport
 {
+    private Project project;
+
     private BuildResult buildResult;
 
     private int buildId;
 
     private int projectId;
 
-    private int projectGroupId;
-
     private String projectName;
 
     private List changeSet;
@@ -68,7 +68,7 @@
     {
         //todo get this working for other types of test case rendering other then just surefire
         // check if there are surefire results to display
-        Project project = getContinuum().getProject( getProjectId() );
+        project = getContinuum().getProject( getProjectId() );
         hasSurefireResults = FileUtils.fileExists( project.getWorkingDirectory() + "/target/surefire-reports"
);
 
         buildResult = getContinuum().getBuildResult( getBuildId() );
@@ -98,6 +98,11 @@
         this.buildId = buildId;
     }
 
+    public Project getProject()
+    {
+        return project;
+    }
+
     public int getProjectId()
     {
         return projectId;
@@ -116,16 +121,6 @@
     public void setProjectName( String projectName )
     {
         this.projectName = projectName;
-    }
-
-    public int getProjectGroupId()
-    {
-        return projectGroupId;
-    }
-
-    public void setProjectGroupId( int projectGroupId )
-    {
-        this.projectGroupId = projectGroupId;
     }
 
     public BuildResult getBuildResult()



Mime
View raw message