Yi EungJun 2015-02-24
Add missed assignments
@91e3e7c406b0d680e4b05c8b10fb542d59983b0c
app/controllers/CodeHistoryApp.java
--- app/controllers/CodeHistoryApp.java
+++ app/controllers/CodeHistoryApp.java
@@ -98,7 +98,7 @@
         Project project = Project.findByOwnerAndProjectName(ownerName, projectName);
         PlayRepository repository = RepositoryService.getRepository(project);
 
-        Commit commit = null;
+        Commit commit;
 
         try {
             commit = repository.getCommit(commitId);
app/controllers/IssueApp.java
--- app/controllers/IssueApp.java
+++ app/controllers/IssueApp.java
@@ -312,7 +312,7 @@
                 if(hasAssignee(issue)) {
                     oldAssignee = issue.assignee.user;
                 }
-                Assignee newAssignee = null;
+                Assignee newAssignee;
                 if (issueMassUpdate.assignee.isAnonymous()) {
                     newAssignee = null;
                 } else {
app/models/resource/Resource.java
--- app/models/resource/Resource.java
+++ app/models/resource/Resource.java
@@ -258,7 +258,7 @@
             return null;
         }
 
-        ResourceType resourceType = null;
+        ResourceType resourceType;
 
         try {
             resourceType = ResourceType.getValue(segments[0]);
app/models/support/SearchCondition.java
--- app/models/support/SearchCondition.java
+++ app/models/support/SearchCondition.java
@@ -256,7 +256,7 @@
             Junction<Issue> junction = el.disjunction();
             junction.icontains("title", filter)
             .icontains("body", filter);
-            List<Object> ids = null;
+            List<Object> ids;
             if( project == null){
                 ids = Issue.finder.where()
                         .icontains("comments.contents", filter).findIds();
Add a comment
List