]> source.dussan.org Git - sonarqube.git/commitdiff
Fix quality flaw and add action plans html id
authorJulien Lancelot <julien.lancelot@gmail.com>
Thu, 23 May 2013 07:30:44 +0000 (09:30 +0200)
committerJulien Lancelot <julien.lancelot@gmail.com>
Thu, 23 May 2013 07:30:44 +0000 (09:30 +0200)
sonar-server/src/main/java/org/sonar/server/issue/IssuesFinderSort.java
sonar-server/src/main/webapp/WEB-INF/app/views/action_plans/index.html.erb

index fae20ee7eb55ef0e65aff0c4f7384ff6a55a6e0d..e8ac95c74db0194fe2a32dbfb085a0dcba195ad4 100644 (file)
@@ -25,6 +25,8 @@ import org.sonar.api.issue.IssueQuery;
 import org.sonar.api.rule.Severity;
 import org.sonar.core.issue.db.IssueDto;
 
+import javax.annotation.Nonnull;
+
 import java.util.Collection;
 import java.util.Date;
 import java.util.List;
@@ -34,7 +36,7 @@ class IssuesFinderSort {
   private List<IssueDto> issues;
   private IssueQuery query;
 
-  public IssuesFinderSort(List<IssueDto> issues, IssueQuery query) {
+  public IssuesFinderSort(List<IssueDto> issues, @Nonnull IssueQuery query) {
     this.issues = issues;
     this.query = query;
   }
index a3d08301a5bdba1f40259bd15f862b0acc84cd44..0aab48eee0a61c29c18f91f8651b85b7fbb0becd 100644 (file)
@@ -1,10 +1,10 @@
-<table width="100%">
+<table width="100%" id="action-plans">
   <tr>
     <td valign="top">
 
       <h1><%= message('action_plans.page_title') -%></h1>
 
-      <table class="width100 data sortable actionPlans" id="openActionPlans">
+      <table class="width100 data sortable actionPlans" id="open-action-plans">
         <thead>
         <tr>
           <th class="thin nowrap"><%= message('action_plans.col.status') -%></th>
@@ -63,7 +63,7 @@
 
         <h1><%= message('action_plans.closed_action_plan') -%></h1>
 
-        <table class="width100 data sortable actionPlans" id="closedActionPlans">
+        <table class="width100 data sortable actionPlans" id="closed-action-plans">
           <thead>
           <tr>
             <th class="thin nowrap"><%= message('action_plans.col.status') -%></th>