aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/components/SourceViewer/helpers
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2019-01-02 11:24:36 +0100
committerSonarTech <sonartech@sonarsource.com>2019-01-02 20:21:01 +0100
commit252b3897e794a692ba96a14a3defc342bd549c9d (patch)
tree9e6d985b83ab0810c5871049de347e02c90d574d /server/sonar-web/src/main/js/components/SourceViewer/helpers
parentea6102e599b37a73cce37675bff9456338c1f75f (diff)
downloadsonarqube-252b3897e794a692ba96a14a3defc342bd549c9d.tar.gz
sonarqube-252b3897e794a692ba96a14a3defc342bd549c9d.zip
Fix license headers for 2019
Diffstat (limited to 'server/sonar-web/src/main/js/components/SourceViewer/helpers')
-rw-r--r--server/sonar-web/src/main/js/components/SourceViewer/helpers/__tests__/highlight-test.ts2
-rw-r--r--server/sonar-web/src/main/js/components/SourceViewer/helpers/__tests__/indexing-test.ts2
-rw-r--r--server/sonar-web/src/main/js/components/SourceViewer/helpers/getCoverageStatus.tsx3
-rw-r--r--server/sonar-web/src/main/js/components/SourceViewer/helpers/highlight.ts2
-rw-r--r--server/sonar-web/src/main/js/components/SourceViewer/helpers/indexing.ts2
-rw-r--r--server/sonar-web/src/main/js/components/SourceViewer/helpers/issueLocations.tsx3
-rw-r--r--server/sonar-web/src/main/js/components/SourceViewer/helpers/loadIssues.tsx2
7 files changed, 7 insertions, 9 deletions
diff --git a/server/sonar-web/src/main/js/components/SourceViewer/helpers/__tests__/highlight-test.ts b/server/sonar-web/src/main/js/components/SourceViewer/helpers/__tests__/highlight-test.ts
index 47900d5ef8f..365a426bfd4 100644
--- a/server/sonar-web/src/main/js/components/SourceViewer/helpers/__tests__/highlight-test.ts
+++ b/server/sonar-web/src/main/js/components/SourceViewer/helpers/__tests__/highlight-test.ts
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2018 SonarSource SA
+ * Copyright (C) 2009-2019 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/server/sonar-web/src/main/js/components/SourceViewer/helpers/__tests__/indexing-test.ts b/server/sonar-web/src/main/js/components/SourceViewer/helpers/__tests__/indexing-test.ts
index 2e88dd661a5..1dbd82fac36 100644
--- a/server/sonar-web/src/main/js/components/SourceViewer/helpers/__tests__/indexing-test.ts
+++ b/server/sonar-web/src/main/js/components/SourceViewer/helpers/__tests__/indexing-test.ts
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2018 SonarSource SA
+ * Copyright (C) 2009-2019 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/server/sonar-web/src/main/js/components/SourceViewer/helpers/getCoverageStatus.tsx b/server/sonar-web/src/main/js/components/SourceViewer/helpers/getCoverageStatus.tsx
index 9a29f60c7a5..2315af1115d 100644
--- a/server/sonar-web/src/main/js/components/SourceViewer/helpers/getCoverageStatus.tsx
+++ b/server/sonar-web/src/main/js/components/SourceViewer/helpers/getCoverageStatus.tsx
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2018 SonarSource SA
+ * Copyright (C) 2009-2019 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
@@ -17,7 +17,6 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-
export default function getCoverageStatus(s: T.SourceLine): T.SourceLineCoverageStatus | undefined {
let status: T.SourceLineCoverageStatus | undefined;
if (s.lineHits != null && s.lineHits > 0) {
diff --git a/server/sonar-web/src/main/js/components/SourceViewer/helpers/highlight.ts b/server/sonar-web/src/main/js/components/SourceViewer/helpers/highlight.ts
index 45a6b7649bb..6bd78badd50 100644
--- a/server/sonar-web/src/main/js/components/SourceViewer/helpers/highlight.ts
+++ b/server/sonar-web/src/main/js/components/SourceViewer/helpers/highlight.ts
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2018 SonarSource SA
+ * Copyright (C) 2009-2019 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/server/sonar-web/src/main/js/components/SourceViewer/helpers/indexing.ts b/server/sonar-web/src/main/js/components/SourceViewer/helpers/indexing.ts
index 5046bbead7f..23d0b0221ba 100644
--- a/server/sonar-web/src/main/js/components/SourceViewer/helpers/indexing.ts
+++ b/server/sonar-web/src/main/js/components/SourceViewer/helpers/indexing.ts
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2018 SonarSource SA
+ * Copyright (C) 2009-2019 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
diff --git a/server/sonar-web/src/main/js/components/SourceViewer/helpers/issueLocations.tsx b/server/sonar-web/src/main/js/components/SourceViewer/helpers/issueLocations.tsx
index 09ba8f805f3..67cfae3cbf6 100644
--- a/server/sonar-web/src/main/js/components/SourceViewer/helpers/issueLocations.tsx
+++ b/server/sonar-web/src/main/js/components/SourceViewer/helpers/issueLocations.tsx
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2018 SonarSource SA
+ * Copyright (C) 2009-2019 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
@@ -17,7 +17,6 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-
export function getLinearLocations(textRange: T.TextRange | undefined): T.LinearIssueLocation[] {
if (!textRange) {
return [];
diff --git a/server/sonar-web/src/main/js/components/SourceViewer/helpers/loadIssues.tsx b/server/sonar-web/src/main/js/components/SourceViewer/helpers/loadIssues.tsx
index fd9a03de6f2..0bf83942ced 100644
--- a/server/sonar-web/src/main/js/components/SourceViewer/helpers/loadIssues.tsx
+++ b/server/sonar-web/src/main/js/components/SourceViewer/helpers/loadIssues.tsx
@@ -1,6 +1,6 @@
/*
* SonarQube
- * Copyright (C) 2009-2018 SonarSource SA
+ * Copyright (C) 2009-2019 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or