]> source.dussan.org Git - sonarqube.git/commitdiff
BRANCH-63 Do not run PR decorators when not on a PR
authorJulien HENRY <julien.henry@sonarsource.com>
Mon, 21 May 2018 09:32:09 +0000 (11:32 +0200)
committerSonarTech <sonartech@sonarsource.com>
Mon, 21 May 2018 18:21:10 +0000 (20:21 +0200)
server/sonar-db-dao/src/main/java/org/sonar/db/component/BranchDto.java

index a1b11b8d2fb6a9fed786d7c8f169986494a9dc53..7af3e55f2589ca84fdd02f5b5ae0c8e5f74dc87b 100644 (file)
@@ -134,7 +134,7 @@ public class BranchDto {
     return this;
   }
 
-  BranchDto setKeyType(@Nullable KeyType keyType) {
+  BranchDto setKeyType(KeyType keyType) {
     this.keyType = keyType;
     return this;
   }
@@ -143,7 +143,7 @@ public class BranchDto {
     return branchType;
   }
 
-  public BranchDto setBranchType(@Nullable BranchType b) {
+  public BranchDto setBranchType(BranchType b) {
     this.branchType = b;
     return this;
   }