diff --git a/LICENSE_HEADER b/LICENSE_HEADER index 39f124457..8daf6edad 100644 --- a/LICENSE_HEADER +++ b/LICENSE_HEADER @@ -1,16 +1,16 @@ /* * SonarSource Kotlin * Copyright (C) 2018-$YEAR SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ \ No newline at end of file + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ diff --git a/its/plugin/src/test/java/org/sonarsource/slang/DuplicationsTest.java b/its/plugin/src/test/java/org/sonarsource/slang/DuplicationsTest.java index 5918c6710..e11601049 100644 --- a/its/plugin/src/test/java/org/sonarsource/slang/DuplicationsTest.java +++ b/its/plugin/src/test/java/org/sonarsource/slang/DuplicationsTest.java @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.slang; import org.junit.jupiter.api.Test; diff --git a/its/plugin/src/test/java/org/sonarsource/slang/ExternalReportTest.java b/its/plugin/src/test/java/org/sonarsource/slang/ExternalReportTest.java index f21262d59..4aeabd17a 100644 --- a/its/plugin/src/test/java/org/sonarsource/slang/ExternalReportTest.java +++ b/its/plugin/src/test/java/org/sonarsource/slang/ExternalReportTest.java @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.slang; import com.sonar.orchestrator.build.SonarScanner; diff --git a/its/plugin/src/test/java/org/sonarsource/slang/MeasuresTest.java b/its/plugin/src/test/java/org/sonarsource/slang/MeasuresTest.java index cd1f0e2c5..382b3397a 100644 --- a/its/plugin/src/test/java/org/sonarsource/slang/MeasuresTest.java +++ b/its/plugin/src/test/java/org/sonarsource/slang/MeasuresTest.java @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.slang; import org.junit.jupiter.api.Test; diff --git a/its/plugin/src/test/java/org/sonarsource/slang/SonarLintTest.java b/its/plugin/src/test/java/org/sonarsource/slang/SonarLintTest.java index 61ffe1a2c..0999ac643 100644 --- a/its/plugin/src/test/java/org/sonarsource/slang/SonarLintTest.java +++ b/its/plugin/src/test/java/org/sonarsource/slang/SonarLintTest.java @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.slang; import com.sonar.orchestrator.junit5.OrchestratorExtension; diff --git a/its/plugin/src/test/java/org/sonarsource/slang/SuppressWarningsTest.java b/its/plugin/src/test/java/org/sonarsource/slang/SuppressWarningsTest.java index 606ff3e29..5cafc3547 100644 --- a/its/plugin/src/test/java/org/sonarsource/slang/SuppressWarningsTest.java +++ b/its/plugin/src/test/java/org/sonarsource/slang/SuppressWarningsTest.java @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.slang; diff --git a/its/plugin/src/test/java/org/sonarsource/slang/SurefireTest.java b/its/plugin/src/test/java/org/sonarsource/slang/SurefireTest.java index 2349a7818..c609043ec 100644 --- a/its/plugin/src/test/java/org/sonarsource/slang/SurefireTest.java +++ b/its/plugin/src/test/java/org/sonarsource/slang/SurefireTest.java @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.slang; import com.sonar.orchestrator.build.MavenBuild; diff --git a/its/plugin/src/test/java/org/sonarsource/slang/TestBase.java b/its/plugin/src/test/java/org/sonarsource/slang/TestBase.java index cda2a7b19..2afd70d3d 100644 --- a/its/plugin/src/test/java/org/sonarsource/slang/TestBase.java +++ b/its/plugin/src/test/java/org/sonarsource/slang/TestBase.java @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.slang; import com.sonar.orchestrator.build.SonarScanner; diff --git a/its/plugin/src/test/java/org/sonarsource/slang/TestsHelper.java b/its/plugin/src/test/java/org/sonarsource/slang/TestsHelper.java index 18d738ac1..081620ec0 100644 --- a/its/plugin/src/test/java/org/sonarsource/slang/TestsHelper.java +++ b/its/plugin/src/test/java/org/sonarsource/slang/TestsHelper.java @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.slang; import com.sonar.orchestrator.OrchestratorBuilder; diff --git a/its/ruling/src/test/java/org/sonarsource/slang/SlangRulingTest.java b/its/ruling/src/test/java/org/sonarsource/slang/SlangRulingTest.java index fe4839b92..3a340ec71 100644 --- a/its/ruling/src/test/java/org/sonarsource/slang/SlangRulingTest.java +++ b/its/ruling/src/test/java/org/sonarsource/slang/SlangRulingTest.java @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.slang; import com.sonar.orchestrator.OrchestratorBuilder; diff --git a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/checks/AbstractCheck.kt b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/checks/AbstractCheck.kt index 27f72cb8a..eaaec75fa 100644 --- a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/checks/AbstractCheck.kt +++ b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/checks/AbstractCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.api.checks import com.intellij.psi.PsiComment diff --git a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/checks/ApiExtensions.kt b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/checks/ApiExtensions.kt index 69c760e09..9f95debf8 100644 --- a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/checks/ApiExtensions.kt +++ b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/checks/ApiExtensions.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.api.checks import com.intellij.psi.PsiComment diff --git a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/checks/ArgumentMatcher.kt b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/checks/ArgumentMatcher.kt index 08bffe0fc..999c60f7c 100644 --- a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/checks/ArgumentMatcher.kt +++ b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/checks/ArgumentMatcher.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.api.checks import org.jetbrains.kotlin.descriptors.ValueParameterDescriptor diff --git a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/checks/CallAbstractCheck.kt b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/checks/CallAbstractCheck.kt index f8dddb053..23f86189e 100644 --- a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/checks/CallAbstractCheck.kt +++ b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/checks/CallAbstractCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.api.checks import org.jetbrains.kotlin.psi.KtCallExpression diff --git a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/checks/CollectionExtensions.kt b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/checks/CollectionExtensions.kt index 197d22118..1c1419904 100644 --- a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/checks/CollectionExtensions.kt +++ b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/checks/CollectionExtensions.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.api.checks /** diff --git a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/checks/CommonConstants.kt b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/checks/CommonConstants.kt index 8163cf12f..056fd7f0a 100644 --- a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/checks/CommonConstants.kt +++ b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/checks/CommonConstants.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.api.checks const val INT_TYPE = "kotlin.Int" diff --git a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/checks/FieldMatcher.kt b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/checks/FieldMatcher.kt index 7ffff19ef..b38f7443b 100644 --- a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/checks/FieldMatcher.kt +++ b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/checks/FieldMatcher.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.api.checks import org.jetbrains.kotlin.descriptors.ClassifierDescriptor diff --git a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/checks/FunMatcher.kt b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/checks/FunMatcher.kt index 117862b96..0218887e3 100644 --- a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/checks/FunMatcher.kt +++ b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/checks/FunMatcher.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.api.checks import org.jetbrains.kotlin.backend.common.descriptors.isSuspend diff --git a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/checks/InputFileContext.kt b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/checks/InputFileContext.kt index 1d1ae1792..0f5a1a97c 100644 --- a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/checks/InputFileContext.kt +++ b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/checks/InputFileContext.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.api.checks import org.sonar.api.batch.fs.InputFile diff --git a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/checks/InputFileContextImpl.kt b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/checks/InputFileContextImpl.kt index 36917d395..656af4df4 100644 --- a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/checks/InputFileContextImpl.kt +++ b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/checks/InputFileContextImpl.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.api.checks import org.slf4j.LoggerFactory diff --git a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/checks/KotlinCheck.kt b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/checks/KotlinCheck.kt index d61ef5b4e..7b671f7e8 100644 --- a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/checks/KotlinCheck.kt +++ b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/checks/KotlinCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.api.checks import org.sonar.api.rule.RuleKey diff --git a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/common/KotlinLanguage.kt b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/common/KotlinLanguage.kt index 1c4b54374..19f20eb22 100644 --- a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/common/KotlinLanguage.kt +++ b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/common/KotlinLanguage.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.api.common import org.sonar.api.config.Configuration diff --git a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/common/MeasureDuration.kt b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/common/MeasureDuration.kt index ace2b025a..86f0b4885 100644 --- a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/common/MeasureDuration.kt +++ b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/common/MeasureDuration.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.api.common import org.sonarsource.performance.measure.PerformanceMeasure diff --git a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/common/constants.kt b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/common/constants.kt index f779b128b..a302770dd 100644 --- a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/common/constants.kt +++ b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/common/constants.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.api.common import org.jetbrains.kotlin.config.LanguageVersion diff --git a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/frontend/AbstractPropertyHandlerSensor.kt b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/frontend/AbstractPropertyHandlerSensor.kt index 4ffa93ea5..5b0553c1c 100644 --- a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/frontend/AbstractPropertyHandlerSensor.kt +++ b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/frontend/AbstractPropertyHandlerSensor.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.api.frontend import org.slf4j.LoggerFactory diff --git a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/frontend/KotlinAnalyzerRegexSource.kt b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/frontend/KotlinAnalyzerRegexSource.kt index c3c817405..0f51b56d3 100644 --- a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/frontend/KotlinAnalyzerRegexSource.kt +++ b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/frontend/KotlinAnalyzerRegexSource.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.api.frontend import com.intellij.openapi.editor.Document diff --git a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/frontend/KotlinCodeVerifier.kt b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/frontend/KotlinCodeVerifier.kt index f09ae6daa..fc57fcece 100644 --- a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/frontend/KotlinCodeVerifier.kt +++ b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/frontend/KotlinCodeVerifier.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.api.frontend import com.intellij.psi.PsiElement diff --git a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/frontend/KotlinCoreEnvironmentTools.kt b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/frontend/KotlinCoreEnvironmentTools.kt index bf10eaab8..ef6277228 100644 --- a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/frontend/KotlinCoreEnvironmentTools.kt +++ b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/frontend/KotlinCoreEnvironmentTools.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.api.frontend import org.jetbrains.kotlin.cli.common.CLIConfigurationKeys diff --git a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/frontend/KotlinFileContext.kt b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/frontend/KotlinFileContext.kt index dac55a99d..943920efd 100644 --- a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/frontend/KotlinFileContext.kt +++ b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/frontend/KotlinFileContext.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.api.frontend import com.intellij.psi.PsiElement diff --git a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/frontend/KotlinTree.kt b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/frontend/KotlinTree.kt index ffbd97993..44c1a01cf 100644 --- a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/frontend/KotlinTree.kt +++ b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/frontend/KotlinTree.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.api.frontend import com.intellij.openapi.editor.Document diff --git a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/frontend/ParseException.kt b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/frontend/ParseException.kt index a8f05474d..3f7d1c5be 100644 --- a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/frontend/ParseException.kt +++ b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/frontend/ParseException.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.api.frontend import org.sonar.api.batch.fs.TextPointer diff --git a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/frontend/RegexCache.kt b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/frontend/RegexCache.kt index 103cb4d93..4535d8840 100644 --- a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/frontend/RegexCache.kt +++ b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/frontend/RegexCache.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.api.frontend import org.jetbrains.kotlin.psi.KtStringTemplateEntry diff --git a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/logging/LoggerExtensions.kt b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/logging/LoggerExtensions.kt index 738634274..cd7cba5fc 100644 --- a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/logging/LoggerExtensions.kt +++ b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/logging/LoggerExtensions.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.api.logging import org.slf4j.Logger diff --git a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/regex/AbstractRegexCheck.kt b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/regex/AbstractRegexCheck.kt index 49de41254..5d829dd99 100644 --- a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/regex/AbstractRegexCheck.kt +++ b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/regex/AbstractRegexCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.api.regex import org.jetbrains.kotlin.psi.KtBinaryExpression diff --git a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/regex/RegexContext.kt b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/regex/RegexContext.kt index cd64a3e61..02ac5c47e 100644 --- a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/regex/RegexContext.kt +++ b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/regex/RegexContext.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.api.regex import org.jetbrains.kotlin.psi.KtStringTemplateEntry diff --git a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/reporting/KotlinTextRanges.kt b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/reporting/KotlinTextRanges.kt index dd795847e..114cb56c3 100644 --- a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/reporting/KotlinTextRanges.kt +++ b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/reporting/KotlinTextRanges.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.api.reporting import com.intellij.openapi.editor.Document diff --git a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/reporting/Message.kt b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/reporting/Message.kt index 5a68677d4..bdaa36803 100644 --- a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/reporting/Message.kt +++ b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/reporting/Message.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.api.reporting class Message(text: String = "", ranges: List> = mutableListOf()) { diff --git a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/reporting/SecondaryLocation.kt b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/reporting/SecondaryLocation.kt index 47f665907..e2de32e5e 100644 --- a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/reporting/SecondaryLocation.kt +++ b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/reporting/SecondaryLocation.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.api.reporting import org.sonar.api.batch.fs.TextRange diff --git a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/sensors/AbstractKotlinSensor.kt b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/sensors/AbstractKotlinSensor.kt index b39786556..daa0f41f5 100644 --- a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/sensors/AbstractKotlinSensor.kt +++ b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/sensors/AbstractKotlinSensor.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.api.sensors import org.sonar.api.batch.fs.InputFile diff --git a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/sensors/AbstractKotlinSensorExecuteContext.kt b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/sensors/AbstractKotlinSensorExecuteContext.kt index fbd2e6ba5..df4d82893 100644 --- a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/sensors/AbstractKotlinSensorExecuteContext.kt +++ b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/sensors/AbstractKotlinSensorExecuteContext.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.api.sensors import com.intellij.openapi.util.Disposer diff --git a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/visiting/CommentAnnotationsAndTokenVisitor.kt b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/visiting/CommentAnnotationsAndTokenVisitor.kt index f67540d71..f539028cd 100644 --- a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/visiting/CommentAnnotationsAndTokenVisitor.kt +++ b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/visiting/CommentAnnotationsAndTokenVisitor.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.api.visiting import com.intellij.openapi.editor.Document diff --git a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/visiting/KotlinFileVisitor.kt b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/visiting/KotlinFileVisitor.kt index df4a5a02f..fd828dad5 100644 --- a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/visiting/KotlinFileVisitor.kt +++ b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/visiting/KotlinFileVisitor.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.api.visiting import org.sonarsource.kotlin.api.checks.InputFileContext diff --git a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/visiting/KtChecksVisitor.kt b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/visiting/KtChecksVisitor.kt index 14a51a30e..30ee754db 100644 --- a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/visiting/KtChecksVisitor.kt +++ b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/visiting/KtChecksVisitor.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.api.visiting import com.intellij.psi.PsiElement diff --git a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/visiting/KtTreeVisitor.kt b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/visiting/KtTreeVisitor.kt index d6ca76f46..f17d6111a 100644 --- a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/visiting/KtTreeVisitor.kt +++ b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/api/visiting/KtTreeVisitor.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.api.visiting import org.jetbrains.kotlin.psi.KtElement diff --git a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/ast/AstPrinter.kt b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/ast/AstPrinter.kt index e33a930a8..1e047b672 100644 --- a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/ast/AstPrinter.kt +++ b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/ast/AstPrinter.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.ast import org.jetbrains.kotlin.config.LanguageVersion diff --git a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/tools/AstPrinter.kt b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/tools/AstPrinter.kt index 626b5ac99..6c25297f3 100644 --- a/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/tools/AstPrinter.kt +++ b/sonar-kotlin-api/src/main/java/org/sonarsource/kotlin/tools/AstPrinter.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.tools import com.intellij.openapi.editor.Document diff --git a/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/checks/AbstractCheckTest.kt b/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/checks/AbstractCheckTest.kt index 04956347e..b079e0cb6 100644 --- a/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/checks/AbstractCheckTest.kt +++ b/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/checks/AbstractCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.api.checks import org.assertj.core.api.Assertions.assertThat diff --git a/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/checks/ApiExtensionsKtTest.kt b/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/checks/ApiExtensionsKtTest.kt index af9c513cc..18a421ba9 100644 --- a/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/checks/ApiExtensionsKtTest.kt +++ b/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/checks/ApiExtensionsKtTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.api.checks import org.assertj.core.api.Assertions.assertThat diff --git a/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/checks/CollectionExtensionsKtTest.kt b/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/checks/CollectionExtensionsKtTest.kt index 2ded597c3..4dcc20fff 100644 --- a/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/checks/CollectionExtensionsKtTest.kt +++ b/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/checks/CollectionExtensionsKtTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.api.checks import org.assertj.core.api.Assertions.assertThat diff --git a/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/checks/FieldMatcherTest.kt b/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/checks/FieldMatcherTest.kt index 554d90dc2..0f04c9b15 100644 --- a/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/checks/FieldMatcherTest.kt +++ b/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/checks/FieldMatcherTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.api.checks import org.assertj.core.api.Assertions.assertThat diff --git a/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/checks/FunMatcherTest.kt b/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/checks/FunMatcherTest.kt index f4ee1683c..49159493f 100644 --- a/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/checks/FunMatcherTest.kt +++ b/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/checks/FunMatcherTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.api.checks import io.mockk.Called diff --git a/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/checks/InputFileContextImplTest.kt b/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/checks/InputFileContextImplTest.kt index 519d9cb96..5b024fb53 100644 --- a/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/checks/InputFileContextImplTest.kt +++ b/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/checks/InputFileContextImplTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.api.checks import io.mockk.every diff --git a/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/frontend/KotlinASTTest.kt b/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/frontend/KotlinASTTest.kt index 31e05fef7..f56d35bd5 100644 --- a/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/frontend/KotlinASTTest.kt +++ b/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/frontend/KotlinASTTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.api.frontend import org.assertj.core.api.Assertions diff --git a/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/frontend/KotlinCodeVerifierTest.kt b/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/frontend/KotlinCodeVerifierTest.kt index a87406864..bed83da58 100644 --- a/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/frontend/KotlinCodeVerifierTest.kt +++ b/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/frontend/KotlinCodeVerifierTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.api.frontend import org.assertj.core.api.Assertions.assertThat diff --git a/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/frontend/KotlinCoreEnvironmentToolsTest.kt b/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/frontend/KotlinCoreEnvironmentToolsTest.kt index a8b9ca05d..b468be644 100644 --- a/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/frontend/KotlinCoreEnvironmentToolsTest.kt +++ b/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/frontend/KotlinCoreEnvironmentToolsTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.api.frontend import org.assertj.core.api.Assertions.assertThat diff --git a/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/frontend/KotlinSyntaxStructureTest.kt b/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/frontend/KotlinSyntaxStructureTest.kt index 28c5f6cc8..0ae774efd 100644 --- a/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/frontend/KotlinSyntaxStructureTest.kt +++ b/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/frontend/KotlinSyntaxStructureTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.api.frontend import io.mockk.every diff --git a/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/frontend/KotlinTreeTest.kt b/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/frontend/KotlinTreeTest.kt index 4a53ec38a..dde0f5399 100644 --- a/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/frontend/KotlinTreeTest.kt +++ b/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/frontend/KotlinTreeTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.api.frontend import java.nio.file.Files diff --git a/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/frontend/TextRangeTrackerTest.kt b/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/frontend/TextRangeTrackerTest.kt index 9b8a974bc..062b5b1b0 100644 --- a/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/frontend/TextRangeTrackerTest.kt +++ b/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/frontend/TextRangeTrackerTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.api.frontend import org.jetbrains.kotlin.config.LanguageVersion diff --git a/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/regex/AbstractRegexCheckTest.kt b/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/regex/AbstractRegexCheckTest.kt index a152c38fd..bbc43e9d8 100644 --- a/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/regex/AbstractRegexCheckTest.kt +++ b/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/regex/AbstractRegexCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.api.regex import org.junit.jupiter.api.Test diff --git a/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/sensors/AbstractKotlinSensorTest.kt b/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/sensors/AbstractKotlinSensorTest.kt index 55859a467..b3b562fc5 100644 --- a/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/sensors/AbstractKotlinSensorTest.kt +++ b/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/api/sensors/AbstractKotlinSensorTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.api.sensors import io.mockk.every diff --git a/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/ast/AstPrinterTest.kt b/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/ast/AstPrinterTest.kt index cf009d27f..754038807 100644 --- a/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/ast/AstPrinterTest.kt +++ b/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/ast/AstPrinterTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.ast import org.assertj.core.api.Assertions diff --git a/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/tools/AstPrinterTest.kt b/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/tools/AstPrinterTest.kt index afdd8675d..08e5ee5e8 100644 --- a/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/tools/AstPrinterTest.kt +++ b/sonar-kotlin-api/src/test/java/org/sonarsource/kotlin/tools/AstPrinterTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.tools import org.jetbrains.kotlin.config.LanguageVersion diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/AbstractBranchDuplication.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/AbstractBranchDuplication.kt index 3a3995043..4bf913a72 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/AbstractBranchDuplication.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/AbstractBranchDuplication.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtElement diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/AbstractClassShouldBeInterfaceCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/AbstractClassShouldBeInterfaceCheck.kt index ad2fe9efb..1fcc86c4d 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/AbstractClassShouldBeInterfaceCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/AbstractClassShouldBeInterfaceCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.lexer.KtTokens diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/AbstractTooLongFunctionRule.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/AbstractTooLongFunctionRule.kt index a4d503f51..d106b877b 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/AbstractTooLongFunctionRule.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/AbstractTooLongFunctionRule.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtFunction diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/AllBranchesIdenticalCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/AllBranchesIdenticalCheck.kt index d68647146..154b04aae 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/AllBranchesIdenticalCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/AllBranchesIdenticalCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtElement diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/AnchorPrecedenceCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/AnchorPrecedenceCheck.kt index f45b1de80..7ddb22666 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/AnchorPrecedenceCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/AnchorPrecedenceCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.sonar.check.Rule diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/AndroidBroadcastingCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/AndroidBroadcastingCheck.kt index 48fc7d0f9..2db930561 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/AndroidBroadcastingCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/AndroidBroadcastingCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtCallExpression diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ArrayHashCodeAndToStringCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ArrayHashCodeAndToStringCheck.kt index ab0b9bdb8..b6b08db7d 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ArrayHashCodeAndToStringCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ArrayHashCodeAndToStringCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.js.descriptorUtils.getKotlinTypeFqName diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/AuthorisingNonAuthenticatedUsersCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/AuthorisingNonAuthenticatedUsersCheck.kt index a73691970..ae54ac6ab 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/AuthorisingNonAuthenticatedUsersCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/AuthorisingNonAuthenticatedUsersCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtCallExpression diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/BadClassNameCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/BadClassNameCheck.kt index a01fec301..55d9f7a6f 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/BadClassNameCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/BadClassNameCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtClass diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/BadFunctionNameCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/BadFunctionNameCheck.kt index 8686c9c17..4e994d63f 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/BadFunctionNameCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/BadFunctionNameCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtNamedFunction diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/BiometricAuthWithoutCryptoCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/BiometricAuthWithoutCryptoCheck.kt index e1b76527e..2019c4457 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/BiometricAuthWithoutCryptoCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/BiometricAuthWithoutCryptoCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtCallExpression diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/BooleanInversionCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/BooleanInversionCheck.kt index 5609a6ac7..bb7605c9e 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/BooleanInversionCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/BooleanInversionCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.lexer.KtTokens diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/BooleanLiteralCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/BooleanLiteralCheck.kt index a6aed7559..3f9249ede 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/BooleanLiteralCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/BooleanLiteralCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.lexer.KtTokens diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/CipherBlockChainingCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/CipherBlockChainingCheck.kt index 6e6dfdf31..1d140b013 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/CipherBlockChainingCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/CipherBlockChainingCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtCallExpression diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/CipherModeOperationCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/CipherModeOperationCheck.kt index a6cf8c65c..70a6a89fc 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/CipherModeOperationCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/CipherModeOperationCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import com.intellij.psi.PsiElement diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ClearTextProtocolCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ClearTextProtocolCheck.kt index ddf6a3764..fb907c6ba 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ClearTextProtocolCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ClearTextProtocolCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.lexer.KtTokens diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/CodeAfterJumpCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/CodeAfterJumpCheck.kt index 7a0bdb054..44b898f6b 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/CodeAfterJumpCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/CodeAfterJumpCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtBlockExpression diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/CognitiveComplexity.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/CognitiveComplexity.kt index e61920875..d224f86b2 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/CognitiveComplexity.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/CognitiveComplexity.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import com.intellij.psi.PsiElement diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/CollapsibleIfStatementsCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/CollapsibleIfStatementsCheck.kt index 6a2875103..4fc7a83eb 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/CollapsibleIfStatementsCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/CollapsibleIfStatementsCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtBlockExpression diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/CollectionCallingItselfCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/CollectionCallingItselfCheck.kt index c8c5e914a..f4c37e9dc 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/CollectionCallingItselfCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/CollectionCallingItselfCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtCallExpression diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/CollectionInappropriateCallsCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/CollectionInappropriateCallsCheck.kt index be6ff725b..222e429f6 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/CollectionInappropriateCallsCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/CollectionInappropriateCallsCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtCallExpression diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/CollectionShouldBeImmutableCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/CollectionShouldBeImmutableCheck.kt index 8e91d3bbb..b574e1d0f 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/CollectionShouldBeImmutableCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/CollectionShouldBeImmutableCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import com.intellij.psi.PsiElement diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/CollectionSizeAndArrayLengthCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/CollectionSizeAndArrayLengthCheck.kt index 75ead46b4..1317b1ef9 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/CollectionSizeAndArrayLengthCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/CollectionSizeAndArrayLengthCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import com.intellij.psi.tree.IElementType diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/CommentedCodeCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/CommentedCodeCheck.kt index 27d665d2c..c2922d0e9 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/CommentedCodeCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/CommentedCodeCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import com.intellij.psi.PsiComment diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/CoroutineScopeFunSuspendingCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/CoroutineScopeFunSuspendingCheck.kt index 428d56ce0..176277c22 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/CoroutineScopeFunSuspendingCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/CoroutineScopeFunSuspendingCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.js.descriptorUtils.getKotlinTypeFqName diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/CoroutinesTimeoutApiUnusedCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/CoroutinesTimeoutApiUnusedCheck.kt index 573abae74..7a5739bd0 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/CoroutinesTimeoutApiUnusedCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/CoroutinesTimeoutApiUnusedCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import com.intellij.psi.PsiElement diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/DataHashingCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/DataHashingCheck.kt index 358004c34..6227e4e54 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/DataHashingCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/DataHashingCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtCallExpression diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/DebugFeatureEnabledCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/DebugFeatureEnabledCheck.kt index 380751001..e1c13801b 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/DebugFeatureEnabledCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/DebugFeatureEnabledCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtCallExpression diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/DelegationPatternCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/DelegationPatternCheck.kt index 133bc2fc2..0f746cb0d 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/DelegationPatternCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/DelegationPatternCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import com.intellij.psi.PsiElement diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/DeprecatedCodeCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/DeprecatedCodeCheck.kt index 8d14aff77..704082b13 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/DeprecatedCodeCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/DeprecatedCodeCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import com.intellij.psi.PsiElement diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/DeprecatedCodeUsedCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/DeprecatedCodeUsedCheck.kt index fc443646d..509cd341c 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/DeprecatedCodeUsedCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/DeprecatedCodeUsedCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import com.intellij.psi.PsiElement diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/DuplicateBranchCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/DuplicateBranchCheck.kt index 4b2a5aa0a..624f0bad9 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/DuplicateBranchCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/DuplicateBranchCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtBlockExpression diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/DuplicatedFunctionImplementationCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/DuplicatedFunctionImplementationCheck.kt index 87a05133e..c67085b06 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/DuplicatedFunctionImplementationCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/DuplicatedFunctionImplementationCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import com.intellij.psi.PsiElement diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/DuplicatesInCharacterClassCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/DuplicatesInCharacterClassCheck.kt index bfa0ab58d..30831dd4f 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/DuplicatesInCharacterClassCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/DuplicatesInCharacterClassCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.sonar.check.Rule diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ElseIfWithoutElseCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ElseIfWithoutElseCheck.kt index ba17ec625..9c5cafc39 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ElseIfWithoutElseCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ElseIfWithoutElseCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtBreakExpression diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/EmptyBlockCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/EmptyBlockCheck.kt index d5a58db4d..5a6178402 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/EmptyBlockCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/EmptyBlockCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtBlockExpression diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/EmptyCommentCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/EmptyCommentCheck.kt index e903f8ed6..0a7f8bf8f 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/EmptyCommentCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/EmptyCommentCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import com.intellij.psi.PsiComment diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/EmptyFunctionCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/EmptyFunctionCheck.kt index 212e5fdad..669965e1c 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/EmptyFunctionCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/EmptyFunctionCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtNamedFunction diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/EmptyLineRegexCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/EmptyLineRegexCheck.kt index 3bb21a4d7..5bfc2520e 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/EmptyLineRegexCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/EmptyLineRegexCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import java.util.regex.Pattern diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/EmptyStringRepetitionCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/EmptyStringRepetitionCheck.kt index a03b3dd49..779d4b4ee 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/EmptyStringRepetitionCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/EmptyStringRepetitionCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.sonar.check.Rule diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/EncryptionAlgorithmCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/EncryptionAlgorithmCheck.kt index dca268c7e..acbcb469a 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/EncryptionAlgorithmCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/EncryptionAlgorithmCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtCallExpression diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/EqualsArgumentTypeCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/EqualsArgumentTypeCheck.kt index 314952306..6b6dbf706 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/EqualsArgumentTypeCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/EqualsArgumentTypeCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.lexer.KtTokens diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/EqualsMethodUsageCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/EqualsMethodUsageCheck.kt index 3b7e12b6b..255a761a5 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/EqualsMethodUsageCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/EqualsMethodUsageCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.lexer.KtTokens diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/EqualsOverriddenWithArrayFieldCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/EqualsOverriddenWithArrayFieldCheck.kt index 04d668041..b39958209 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/EqualsOverriddenWithArrayFieldCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/EqualsOverriddenWithArrayFieldCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtClass diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/EqualsOverridenWithHashCodeCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/EqualsOverridenWithHashCodeCheck.kt index fe05144f1..8f587aab6 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/EqualsOverridenWithHashCodeCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/EqualsOverridenWithHashCodeCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtClassBody diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ExposedMutableFlowCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ExposedMutableFlowCheck.kt index f8bd2f662..af25d1bbd 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ExposedMutableFlowCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ExposedMutableFlowCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtDeclaration diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ExternalAndroidStorageAccessCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ExternalAndroidStorageAccessCheck.kt index eff3022b7..16d1a70e9 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ExternalAndroidStorageAccessCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ExternalAndroidStorageAccessCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.descriptors.PropertyDescriptor diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/FileHeaderCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/FileHeaderCheck.kt index 302b71c68..0fc134105 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/FileHeaderCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/FileHeaderCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtFile diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/FinalFlowOperationCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/FinalFlowOperationCheck.kt index 9795367cb..376cf130d 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/FinalFlowOperationCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/FinalFlowOperationCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtCallExpression diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/FixMeCommentCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/FixMeCommentCheck.kt index 791d0b44b..cd9bfda03 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/FixMeCommentCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/FixMeCommentCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import com.intellij.psi.PsiComment diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/FlowChannelReturningFunsNotSuspendingCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/FlowChannelReturningFunsNotSuspendingCheck.kt index bad63ed46..4d2df5bc0 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/FlowChannelReturningFunsNotSuspendingCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/FlowChannelReturningFunsNotSuspendingCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtNamedFunction diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/FunctionCognitiveComplexityCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/FunctionCognitiveComplexityCheck.kt index 8011a0044..9bb7f66c9 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/FunctionCognitiveComplexityCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/FunctionCognitiveComplexityCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtNamedFunction diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/GraphemeClustersInClassesCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/GraphemeClustersInClassesCheck.kt index acc0e27ee..eb2ad1c07 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/GraphemeClustersInClassesCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/GraphemeClustersInClassesCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.sonar.check.Rule diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/HardcodedCredentialsCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/HardcodedCredentialsCheck.kt index 2a431ab5c..83d85c5b9 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/HardcodedCredentialsCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/HardcodedCredentialsCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import java.net.URI diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/HardcodedIpCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/HardcodedIpCheck.kt index 832de21e0..07b059b77 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/HardcodedIpCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/HardcodedIpCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtStringTemplateExpression diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/IdenticalBinaryOperandCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/IdenticalBinaryOperandCheck.kt index 32ec45de0..6d3ede897 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/IdenticalBinaryOperandCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/IdenticalBinaryOperandCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.lexer.KtTokens diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/IdenticalConditionsCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/IdenticalConditionsCheck.kt index aa5fa5f00..55f3a41de 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/IdenticalConditionsCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/IdenticalConditionsCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtContainerNodeForControlStructureBody diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/IfConditionalAlwaysTrueOrFalseCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/IfConditionalAlwaysTrueOrFalseCheck.kt index 3ec80675a..ffbe05367 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/IfConditionalAlwaysTrueOrFalseCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/IfConditionalAlwaysTrueOrFalseCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.lexer.KtSingleValueToken diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/IgnoredOperationStatusCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/IgnoredOperationStatusCheck.kt index 7d18191f2..3c543f99a 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/IgnoredOperationStatusCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/IgnoredOperationStatusCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtCallExpression diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ImplicitParameterInLambdaCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ImplicitParameterInLambdaCheck.kt index 90e63dec5..fdfe928bb 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ImplicitParameterInLambdaCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ImplicitParameterInLambdaCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtLambdaArgument diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/IndexedAccessCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/IndexedAccessCheck.kt index 20c8c227b..4a2eb4d75 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/IndexedAccessCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/IndexedAccessCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtCallExpression diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/InjectableDispatchersCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/InjectableDispatchersCheck.kt index 0799a99c8..0e20fb0e5 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/InjectableDispatchersCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/InjectableDispatchersCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtCallExpression diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/InterfaceCouldBeFunctionalCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/InterfaceCouldBeFunctionalCheck.kt index f108d2f06..f24a39b22 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/InterfaceCouldBeFunctionalCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/InterfaceCouldBeFunctionalCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.js.descriptorUtils.getKotlinTypeFqName diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/InvalidRegexCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/InvalidRegexCheck.kt index d2a997bf4..a0fce121e 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/InvalidRegexCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/InvalidRegexCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtCallExpression diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/IsInstanceMethodCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/IsInstanceMethodCheck.kt index 8311c2f90..8dad42147 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/IsInstanceMethodCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/IsInstanceMethodCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import com.intellij.psi.PsiElement diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/JumpInFinallyCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/JumpInFinallyCheck.kt index 16e8655df..d784642aa 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/JumpInFinallyCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/JumpInFinallyCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtBreakExpression diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/LiftReturnStatementCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/LiftReturnStatementCheck.kt index 8831f2914..a1aee3688 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/LiftReturnStatementCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/LiftReturnStatementCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import com.intellij.psi.PsiElement diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/MainSafeCoroutinesCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/MainSafeCoroutinesCheck.kt index f8c38db78..88355946c 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/MainSafeCoroutinesCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/MainSafeCoroutinesCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.Call diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/MapValuesShouldBeAccessedSafelyCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/MapValuesShouldBeAccessedSafelyCheck.kt index a8ba583c3..9c1ed66c6 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/MapValuesShouldBeAccessedSafelyCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/MapValuesShouldBeAccessedSafelyCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.js.descriptorUtils.getKotlinTypeFqName diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/MatchCaseTooBigCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/MatchCaseTooBigCheck.kt index e310794f3..437414114 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/MatchCaseTooBigCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/MatchCaseTooBigCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtWhenEntry diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/MergeIfElseIntoWhenCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/MergeIfElseIntoWhenCheck.kt index de4b7907f..f52edd1a7 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/MergeIfElseIntoWhenCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/MergeIfElseIntoWhenCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.KtNodeTypes diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/MobileDatabaseEncryptionKeysCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/MobileDatabaseEncryptionKeysCheck.kt index 32859d1de..917b77c97 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/MobileDatabaseEncryptionKeysCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/MobileDatabaseEncryptionKeysCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import com.intellij.psi.PsiElement diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/NestedMatchCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/NestedMatchCheck.kt index d7f67b260..550bf2b19 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/NestedMatchCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/NestedMatchCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtWhenExpression diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/OneStatementPerLineCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/OneStatementPerLineCheck.kt index 8afc981f4..c7f3d1a68 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/OneStatementPerLineCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/OneStatementPerLineCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtBlockExpression diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ParsingErrorCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ParsingErrorCheck.kt index 2fa1433e8..72ffde74a 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ParsingErrorCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ParsingErrorCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.sonar.check.Rule diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/PreparedStatementAndResultSetCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/PreparedStatementAndResultSetCheck.kt index 6f1296e91..dfadb6416 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/PreparedStatementAndResultSetCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/PreparedStatementAndResultSetCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtCallExpression diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/PropertyGetterAndSetterUsageCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/PropertyGetterAndSetterUsageCheck.kt index 20d43b6ea..b7d0f0ed3 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/PropertyGetterAndSetterUsageCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/PropertyGetterAndSetterUsageCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.js.descriptorUtils.getKotlinTypeFqName diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/PseudoRandomCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/PseudoRandomCheck.kt index b64e1ccf5..261a4687a 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/PseudoRandomCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/PseudoRandomCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.descriptors.ConstructorDescriptor diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ReasonableTypeCastsCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ReasonableTypeCastsCheck.kt index bfaee3d72..d25c9551c 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ReasonableTypeCastsCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ReasonableTypeCastsCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.diagnostics.Errors diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ReceivingIntentsCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ReceivingIntentsCheck.kt index 41c5ffc3f..6feb431e3 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ReceivingIntentsCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ReceivingIntentsCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtCallExpression diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/RedundantMethodsInDataClassesCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/RedundantMethodsInDataClassesCheck.kt index 48b658b06..194065d24 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/RedundantMethodsInDataClassesCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/RedundantMethodsInDataClassesCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.lexer.KtTokens diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/RedundantParenthesesCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/RedundantParenthesesCheck.kt index fc22a0c71..50ca48e8c 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/RedundantParenthesesCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/RedundantParenthesesCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtParenthesizedExpression diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/RedundantSuspendModifierCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/RedundantSuspendModifierCheck.kt index 77db750b7..d7b4be0cd 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/RedundantSuspendModifierCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/RedundantSuspendModifierCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.backend.common.descriptors.isSuspend diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/RedundantTypeCastsCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/RedundantTypeCastsCheck.kt index 4cfe56a3f..56a51fe8a 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/RedundantTypeCastsCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/RedundantTypeCastsCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.diagnostics.Errors diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/RegexComplexityCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/RegexComplexityCheck.kt index 494128af5..4eb7695be 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/RegexComplexityCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/RegexComplexityCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.sonar.check.Rule diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ReluctantQuantifierCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ReluctantQuantifierCheck.kt index 6ccdbd9ea..d0144c380 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ReluctantQuantifierCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ReluctantQuantifierCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.sonar.check.Rule diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ReplaceGuavaWithKotlinCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ReplaceGuavaWithKotlinCheck.kt index 1c57ad3b6..f2125bbd6 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ReplaceGuavaWithKotlinCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ReplaceGuavaWithKotlinCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import com.intellij.psi.PsiElement diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/RobustCryptographicKeysCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/RobustCryptographicKeysCheck.kt index e98982a8a..4e91e8ef5 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/RobustCryptographicKeysCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/RobustCryptographicKeysCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtCallExpression diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/RunFinalizersCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/RunFinalizersCheck.kt index 3ec6d34c2..3269b9409 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/RunFinalizersCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/RunFinalizersCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtCallExpression diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/SamConversionCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/SamConversionCheck.kt index e0f771573..5e691a6ba 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/SamConversionCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/SamConversionCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtObjectDeclaration diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ScheduledThreadPoolExecutorZeroCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ScheduledThreadPoolExecutorZeroCheck.kt index 36e5c88fc..4c7584bc8 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ScheduledThreadPoolExecutorZeroCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ScheduledThreadPoolExecutorZeroCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.lexer.KtTokens diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/SelfAssignmentCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/SelfAssignmentCheck.kt index 050711245..95859f151 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/SelfAssignmentCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/SelfAssignmentCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.lexer.KtTokens diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ServerCertificateCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ServerCertificateCheck.kt index 94dc89746..3bc73e349 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ServerCertificateCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ServerCertificateCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import com.intellij.psi.PsiElement diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/SimplifiedPreconditionsCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/SimplifiedPreconditionsCheck.kt index 1d81768b6..760b838c3 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/SimplifiedPreconditionsCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/SimplifiedPreconditionsCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import com.intellij.psi.impl.source.tree.LeafPsiElement diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/SimplifyFilteringBeforeTerminalOperationCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/SimplifyFilteringBeforeTerminalOperationCheck.kt index cddc9402c..e0f8793b6 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/SimplifyFilteringBeforeTerminalOperationCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/SimplifyFilteringBeforeTerminalOperationCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtCallExpression diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/SimplifySizeExpressionCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/SimplifySizeExpressionCheck.kt index 1a3735c29..334a912fd 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/SimplifySizeExpressionCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/SimplifySizeExpressionCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import com.intellij.psi.PsiElement diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/SingletonPatternCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/SingletonPatternCheck.kt index 55e893ca2..9f5c136c3 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/SingletonPatternCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/SingletonPatternCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.descriptors.ConstructorDescriptor diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/StreamNotConsumedCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/StreamNotConsumedCheck.kt index 613f843d3..ab16380ab 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/StreamNotConsumedCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/StreamNotConsumedCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtCallExpression diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/StringLiteralDuplicatedCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/StringLiteralDuplicatedCheck.kt index 67a8667cd..11ba08119 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/StringLiteralDuplicatedCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/StringLiteralDuplicatedCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import com.intellij.psi.PsiElement diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/StrongCipherAlgorithmCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/StrongCipherAlgorithmCheck.kt index ac38fa1cc..b8240b7da 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/StrongCipherAlgorithmCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/StrongCipherAlgorithmCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtCallExpression diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/StructuredConcurrencyPrinciplesCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/StructuredConcurrencyPrinciplesCheck.kt index dede878d7..c9aa001dc 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/StructuredConcurrencyPrinciplesCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/StructuredConcurrencyPrinciplesCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import com.intellij.psi.PsiElement diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/SuspendingFunCallerDispatcherCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/SuspendingFunCallerDispatcherCheck.kt index 9dfc437db..ac8d415c7 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/SuspendingFunCallerDispatcherCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/SuspendingFunCallerDispatcherCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.backend.common.descriptors.isSuspend diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/SyntacticEquivalence.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/SyntacticEquivalence.kt index cd2454f6b..4a2d266c2 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/SyntacticEquivalence.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/SyntacticEquivalence.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import com.intellij.psi.PsiElement diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/TabsCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/TabsCheck.kt index 7a594819c..6a633e39a 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/TabsCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/TabsCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtFile diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/TodoCommentCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/TodoCommentCheck.kt index 860dbfaac..48004efae 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/TodoCommentCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/TodoCommentCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import com.intellij.psi.PsiComment diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/TooComplexExpressionCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/TooComplexExpressionCheck.kt index 25d814aac..d0afe2c02 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/TooComplexExpressionCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/TooComplexExpressionCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.lexer.KtTokens diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/TooDeeplyNestedStatementsCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/TooDeeplyNestedStatementsCheck.kt index 1f337e8c9..7eb3e7428 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/TooDeeplyNestedStatementsCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/TooDeeplyNestedStatementsCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import com.intellij.psi.PsiElement diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/TooLongFunctionCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/TooLongFunctionCheck.kt index ba3407950..0669f8320 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/TooLongFunctionCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/TooLongFunctionCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtNamedFunction diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/TooLongLambdaCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/TooLongLambdaCheck.kt index c9b1650c0..2de695201 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/TooLongLambdaCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/TooLongLambdaCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtLambdaExpression diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/TooLongLineCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/TooLongLineCheck.kt index 4aeb0868a..f07302624 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/TooLongLineCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/TooLongLineCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtFile diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/TooManyCasesCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/TooManyCasesCheck.kt index d2cfdcdcb..9c8d6b3c1 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/TooManyCasesCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/TooManyCasesCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtWhenExpression diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/TooManyLinesOfCodeFileCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/TooManyLinesOfCodeFileCheck.kt index c3b82da1c..bee1ce255 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/TooManyLinesOfCodeFileCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/TooManyLinesOfCodeFileCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtFile diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/TooManyParametersCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/TooManyParametersCheck.kt index c89166014..9b11eb4ab 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/TooManyParametersCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/TooManyParametersCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import com.intellij.psi.PsiElement diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UnencryptedDatabaseOnMobileCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UnencryptedDatabaseOnMobileCheck.kt index 52648ca0f..55b090698 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UnencryptedDatabaseOnMobileCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UnencryptedDatabaseOnMobileCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtCallExpression diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UnencryptedFilesInMobileApplicationsCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UnencryptedFilesInMobileApplicationsCheck.kt index cdd636f5a..80618d8e7 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UnencryptedFilesInMobileApplicationsCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UnencryptedFilesInMobileApplicationsCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtCallExpression diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UnicodeAwareCharClassesCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UnicodeAwareCharClassesCheck.kt index 01fc10d50..9681bfe4d 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UnicodeAwareCharClassesCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UnicodeAwareCharClassesCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtCallExpression diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UnnecessaryImportsCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UnnecessaryImportsCheck.kt index 9b74be594..0debea09f 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UnnecessaryImportsCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UnnecessaryImportsCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.descriptors.VariableAccessorDescriptor diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UnpredictableHashSaltCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UnpredictableHashSaltCheck.kt index 97e823173..279cfc6ac 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UnpredictableHashSaltCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UnpredictableHashSaltCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtCallExpression diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UnpredictableSecureRandomSaltCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UnpredictableSecureRandomSaltCheck.kt index f6542a3e6..89cc0cb07 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UnpredictableSecureRandomSaltCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UnpredictableSecureRandomSaltCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtCallExpression diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UnsuitedFindFunctionWithNullComparisonCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UnsuitedFindFunctionWithNullComparisonCheck.kt index b6f87c540..6dc613795 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UnsuitedFindFunctionWithNullComparisonCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UnsuitedFindFunctionWithNullComparisonCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.lexer.KtTokens.EQEQ diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UnusedDeferredResultCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UnusedDeferredResultCheck.kt index 2b3ea79aa..c19251852 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UnusedDeferredResultCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UnusedDeferredResultCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtCallExpression diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UnusedFunctionParameterCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UnusedFunctionParameterCheck.kt index f558ee9ab..223e46fe7 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UnusedFunctionParameterCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UnusedFunctionParameterCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtElement diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UnusedLocalVariableCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UnusedLocalVariableCheck.kt index be4b137a7..cd09f0366 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UnusedLocalVariableCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UnusedLocalVariableCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.diagnostics.Errors diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UnusedPrivateMethodCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UnusedPrivateMethodCheck.kt index e5a781815..2d3981011 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UnusedPrivateMethodCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UnusedPrivateMethodCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.lexer.KtTokens diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UselessAssignmentsCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UselessAssignmentsCheck.kt index 9bd8241b3..c055857ae 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UselessAssignmentsCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UselessAssignmentsCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.diagnostics.Errors diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UselessIncrementCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UselessIncrementCheck.kt index bcc35eb73..ba7e0adb2 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UselessIncrementCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UselessIncrementCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.lexer.KtTokens diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UselessNullCheckCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UselessNullCheckCheck.kt index 6a2f89a9c..5940ef517 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UselessNullCheckCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/UselessNullCheckCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import com.intellij.psi.PsiElement diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/VarShouldBeValCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/VarShouldBeValCheck.kt index b546bc59a..02c1e2df0 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/VarShouldBeValCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/VarShouldBeValCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.descriptors.CallableDescriptor diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/VariableAndParameterNameCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/VariableAndParameterNameCheck.kt index d17ad0895..1e16cfc62 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/VariableAndParameterNameCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/VariableAndParameterNameCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtLambdaExpression diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/VerifiedServerHostnamesCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/VerifiedServerHostnamesCheck.kt index 859dc4043..3c00b9151 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/VerifiedServerHostnamesCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/VerifiedServerHostnamesCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.psi.KtExpression diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ViewModelSuspendingFunctionsCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ViewModelSuspendingFunctionsCheck.kt index 4b8ebb34e..10179c08f 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ViewModelSuspendingFunctionsCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/ViewModelSuspendingFunctionsCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.descriptors.ClassDescriptor diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/VoidShouldBeUnitCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/VoidShouldBeUnitCheck.kt index 1bf116bc3..7fe77c3f8 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/VoidShouldBeUnitCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/VoidShouldBeUnitCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.js.descriptorUtils.getKotlinTypeFqName diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/WeakSSLContextCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/WeakSSLContextCheck.kt index 4128fdb4b..9da68bc9a 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/WeakSSLContextCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/WeakSSLContextCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.descriptors.PropertyDescriptor diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/WebViewJavaScriptSupportCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/WebViewJavaScriptSupportCheck.kt index 80c61c89c..f60d12e8d 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/WebViewJavaScriptSupportCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/WebViewJavaScriptSupportCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.lexer.KtTokens diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/WebViewsFileAccessCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/WebViewsFileAccessCheck.kt index 7e29e7a9f..b37e921f7 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/WebViewsFileAccessCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/WebViewsFileAccessCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.lexer.KtTokens diff --git a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/WrongAssignmentOperatorCheck.kt b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/WrongAssignmentOperatorCheck.kt index e3883e1a2..0c458f513 100644 --- a/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/WrongAssignmentOperatorCheck.kt +++ b/sonar-kotlin-checks/src/main/java/org/sonarsource/kotlin/checks/WrongAssignmentOperatorCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.jetbrains.kotlin.lexer.KtTokens diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/AbstractClassShouldBeInterfaceCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/AbstractClassShouldBeInterfaceCheckTest.kt index 04dec41cb..9b0c8c06e 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/AbstractClassShouldBeInterfaceCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/AbstractClassShouldBeInterfaceCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks internal class AbstractClassShouldBeInterfaceCheckTest : CheckTest(AbstractClassShouldBeInterfaceCheck()), diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/AllBranchesIdenticalCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/AllBranchesIdenticalCheckTest.kt index a24a8d3b7..b6eb460f5 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/AllBranchesIdenticalCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/AllBranchesIdenticalCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class AllBranchesIdenticalCheckTest : CheckTest(AllBranchesIdenticalCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/AnchorPrecedenceCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/AnchorPrecedenceCheckTest.kt index 0212cf83b..0980d76f4 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/AnchorPrecedenceCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/AnchorPrecedenceCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class AnchorPrecedenceCheckTest : CheckTest(AnchorPrecedenceCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/AndroidBroadcastingCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/AndroidBroadcastingCheckTest.kt index 56f0580c6..83327a29d 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/AndroidBroadcastingCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/AndroidBroadcastingCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class AndroidBroadcastingCheckTest : CheckTest(AndroidBroadcastingCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ArrayHashCodeAndToStringCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ArrayHashCodeAndToStringCheckTest.kt index dcd458938..21cc34768 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ArrayHashCodeAndToStringCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ArrayHashCodeAndToStringCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class ArrayHashCodeAndToStringCheckTest : CheckTest(ArrayHashCodeAndToStringCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/AuthorisingNonAuthenticatedUsersCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/AuthorisingNonAuthenticatedUsersCheckTest.kt index 67cecaec5..86aebf6e0 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/AuthorisingNonAuthenticatedUsersCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/AuthorisingNonAuthenticatedUsersCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks internal class AuthorisingNonAuthenticatedUsersCheckTest : CheckTest(AuthorisingNonAuthenticatedUsersCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/BadClassNameCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/BadClassNameCheckTest.kt index ae00c9b58..abcea6cf7 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/BadClassNameCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/BadClassNameCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class BadClassNameCheckTest : CheckTest(BadClassNameCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/BadFunctionNameCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/BadFunctionNameCheckTest.kt index 5edd69bd8..48645f095 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/BadFunctionNameCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/BadFunctionNameCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class BadFunctionNameCheckTest : CheckTest(BadFunctionNameCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/BiometricAuthWithoutCryptoCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/BiometricAuthWithoutCryptoCheckTest.kt index 1bc1beffa..4819ccb54 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/BiometricAuthWithoutCryptoCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/BiometricAuthWithoutCryptoCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class BiometricAuthWithoutCryptoCheckTest : CheckTest(BiometricAuthWithoutCryptoCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/BooleanInversionCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/BooleanInversionCheckTest.kt index d91ee9723..697d6125f 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/BooleanInversionCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/BooleanInversionCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class BooleanInversionCheckTest : CheckTest(BooleanInversionCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/BooleanLiteralCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/BooleanLiteralCheckTest.kt index 15eb9065e..6db67055c 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/BooleanLiteralCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/BooleanLiteralCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class BooleanLiteralCheckTest : CheckTest(BooleanLiteralCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CheckTest.kt index 0fe99c282..529c758a5 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.junit.jupiter.api.Test diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CheckTestForAndroidOnly.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CheckTestForAndroidOnly.kt index d3ba162ed..bc85e0197 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CheckTestForAndroidOnly.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CheckTestForAndroidOnly.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.junit.jupiter.api.Test diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CheckTestNonCompiling.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CheckTestNonCompiling.kt index 91e762d71..77ba041fe 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CheckTestNonCompiling.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CheckTestNonCompiling.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.junit.jupiter.api.Test diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CheckTestWithNoSemantics.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CheckTestWithNoSemantics.kt index 13aa9a587..3f578ef79 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CheckTestWithNoSemantics.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CheckTestWithNoSemantics.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.junit.jupiter.api.Test diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CipherBlockChainingCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CipherBlockChainingCheckTest.kt index a26950f19..1b933e3fb 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CipherBlockChainingCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CipherBlockChainingCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class CipherBlockChainingCheckTest : CheckTest(CipherBlockChainingCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CipherModeOperationCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CipherModeOperationCheckTest.kt index 3ecdf317f..286e503cb 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CipherModeOperationCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CipherModeOperationCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks internal class CipherModeOperationCheckTest : CheckTest(CipherModeOperationCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ClearTextProtocolCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ClearTextProtocolCheckTest.kt index 75943c1a1..77d26114e 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ClearTextProtocolCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ClearTextProtocolCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class ClearTextProtocolCheckTest : CheckTest(ClearTextProtocolCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CodeAfterJumpCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CodeAfterJumpCheckTest.kt index 5d57f0d85..59b7166e6 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CodeAfterJumpCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CodeAfterJumpCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class CodeAfterJumpCheckTest : CheckTest(CodeAfterJumpCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CollapsibleIfStatementsCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CollapsibleIfStatementsCheckTest.kt index 874b070d4..2727bf431 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CollapsibleIfStatementsCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CollapsibleIfStatementsCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class CollapsibleIfStatementsCheckTest : CheckTest(CollapsibleIfStatementsCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CollectionCallingItselfCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CollectionCallingItselfCheckTest.kt index 159014941..7c323343e 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CollectionCallingItselfCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CollectionCallingItselfCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks internal class CollectionCallingItselfCheckTest : CheckTest(CollectionCallingItselfCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CollectionInappropriateCallsCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CollectionInappropriateCallsCheckTest.kt index 7e7439860..2bb1ba96e 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CollectionInappropriateCallsCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CollectionInappropriateCallsCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks internal class CollectionInappropriateCallsCheckTest : CheckTest(CollectionInappropriateCallsCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CollectionShouldBeImmutableCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CollectionShouldBeImmutableCheckTest.kt index 99c1dcd24..ddbc77fbd 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CollectionShouldBeImmutableCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CollectionShouldBeImmutableCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks internal class CollectionShouldBeImmutableCheckTest : CheckTestWithNoSemantics(CollectionShouldBeImmutableCheck(), shouldReport = true), diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CollectionSizeAndArrayLengthCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CollectionSizeAndArrayLengthCheckTest.kt index 53d4c7035..e832b9382 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CollectionSizeAndArrayLengthCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CollectionSizeAndArrayLengthCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks internal class CollectionSizeAndArrayLengthCheckTest : CheckTest(CollectionSizeAndArrayLengthCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CommentedCodeCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CommentedCodeCheckTest.kt index 798705041..3b2201dec 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CommentedCodeCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CommentedCodeCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class CommentedCodeCheckTest : CheckTest(CommentedCodeCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CoroutineScopeFunSuspendingCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CoroutineScopeFunSuspendingCheckTest.kt index 670be0bdf..8db22f94e 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CoroutineScopeFunSuspendingCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CoroutineScopeFunSuspendingCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks internal class CoroutineScopeFunSuspendingCheckTest: CheckTest(CoroutineScopeFunSuspendingCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CoroutinesTimeoutApiUnusedCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CoroutinesTimeoutApiUnusedCheckTest.kt index 26a176110..1265b9581 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CoroutinesTimeoutApiUnusedCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/CoroutinesTimeoutApiUnusedCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks internal class CoroutinesTimeoutApiUnusedCheckTest : CheckTest(CoroutinesTimeoutApiUnusedCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/DataHashingCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/DataHashingCheckTest.kt index 3b478e376..96807d200 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/DataHashingCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/DataHashingCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class DataHashingCheckTest : CheckTest(DataHashingCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/DebugFeatureEnabledCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/DebugFeatureEnabledCheckTest.kt index f9142b862..50bdc4122 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/DebugFeatureEnabledCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/DebugFeatureEnabledCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class DebugFeatureEnabledCheckTest : CheckTest(DebugFeatureEnabledCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/DelegationPatternCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/DelegationPatternCheckTest.kt index 9d6ee0301..57b7dae1a 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/DelegationPatternCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/DelegationPatternCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks internal class DelegationPatternCheckTest : CheckTest(DelegationPatternCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/DeprecatedCodeCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/DeprecatedCodeCheckTest.kt index 8004234c2..9cf45e7b1 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/DeprecatedCodeCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/DeprecatedCodeCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class DeprecatedCodeCheckTest : CheckTestWithNoSemantics(DeprecatedCodeCheck(), shouldReport = true) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/DeprecatedCodeUsedCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/DeprecatedCodeUsedCheckTest.kt index 00e2ef27f..ab0eb7e5b 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/DeprecatedCodeUsedCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/DeprecatedCodeUsedCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class DeprecatedCodeUsedCheckTest : CheckTest(DeprecatedCodeUsedCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/DuplicateBranchCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/DuplicateBranchCheckTest.kt index ddbaf87a7..70e461055 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/DuplicateBranchCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/DuplicateBranchCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class DuplicateBranchCheckTest : CheckTest(DuplicateBranchCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/DuplicatedFunctionImplementationCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/DuplicatedFunctionImplementationCheckTest.kt index 959ecb8fa..c1643a7a8 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/DuplicatedFunctionImplementationCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/DuplicatedFunctionImplementationCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class DuplicatedFunctionImplementationCheckTest : CheckTest(DuplicatedFunctionImplementationCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/DuplicatesInCharacterClassCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/DuplicatesInCharacterClassCheckTest.kt index 3f1cdcd84..3d43e7db6 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/DuplicatesInCharacterClassCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/DuplicatesInCharacterClassCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class DuplicatesInCharacterClassCheckTest : CheckTest(DuplicatesInCharacterClassCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ElseIfWithoutElseCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ElseIfWithoutElseCheckTest.kt index e536698c0..8853f284f 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ElseIfWithoutElseCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ElseIfWithoutElseCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class ElseIfWithoutElseCheckTest : CheckTest(ElseIfWithoutElseCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/EmptyBlockCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/EmptyBlockCheckTest.kt index 189bf4d0d..3aa99bba1 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/EmptyBlockCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/EmptyBlockCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class EmptyBlockCheckTest : CheckTest(EmptyBlockCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/EmptyCommentCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/EmptyCommentCheckTest.kt index 876f529b0..d9ae9778d 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/EmptyCommentCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/EmptyCommentCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class EmptyCommentCheckTest : CheckTest(EmptyCommentCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/EmptyFunctionCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/EmptyFunctionCheckTest.kt index 504ab6b08..c5faa6dcd 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/EmptyFunctionCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/EmptyFunctionCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class EmptyFunctionCheckTest : CheckTest(EmptyFunctionCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/EmptyLineRegexCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/EmptyLineRegexCheckTest.kt index 01e11707d..a700f71a1 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/EmptyLineRegexCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/EmptyLineRegexCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class EmptyLineRegexCheckTest : CheckTest(EmptyLineRegexCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/EmptyStringRepetitionCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/EmptyStringRepetitionCheckTest.kt index c55b20cae..577f8c42c 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/EmptyStringRepetitionCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/EmptyStringRepetitionCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class EmptyStringRepetitionCheckTest : CheckTest(EmptyStringRepetitionCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/EncryptionAlgorithmCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/EncryptionAlgorithmCheckTest.kt index e9dfbb724..01a39ba80 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/EncryptionAlgorithmCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/EncryptionAlgorithmCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class EncryptionAlgorithmCheckTest : CheckTest(EncryptionAlgorithmCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/EqualsArgumentTypeCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/EqualsArgumentTypeCheckTest.kt index c4c9574af..f544469ea 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/EqualsArgumentTypeCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/EqualsArgumentTypeCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks internal class EqualsArgumentTypeCheckTest : CheckTest(EqualsArgumentTypeCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/EqualsMethodUsageCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/EqualsMethodUsageCheckTest.kt index e0397d662..157c087e2 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/EqualsMethodUsageCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/EqualsMethodUsageCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks internal class EqualsMethodUsageCheckTest : CheckTest(EqualsMethodUsageCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/EqualsOverriddenWithArrayFieldCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/EqualsOverriddenWithArrayFieldCheckTest.kt index 25633afc8..bfdd5ff6b 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/EqualsOverriddenWithArrayFieldCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/EqualsOverriddenWithArrayFieldCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class EqualsOverriddenWithArrayFieldCheckTest : CheckTestWithNoSemantics(EqualsOverriddenWithArrayFieldCheck(), shouldReport = true) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/EqualsOverridenWithHashCodeCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/EqualsOverridenWithHashCodeCheckTest.kt index 0aaae8359..10fbb87aa 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/EqualsOverridenWithHashCodeCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/EqualsOverridenWithHashCodeCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.junit.jupiter.api.Test diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ExposedMutableFlowCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ExposedMutableFlowCheckTest.kt index 394421476..9db1115f0 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ExposedMutableFlowCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ExposedMutableFlowCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks internal class ExposedMutableFlowCheckTest : CheckTest(ExposedMutableFlowCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ExternalAndroidStorageAccessCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ExternalAndroidStorageAccessCheckTest.kt index 1af333a8e..d40276e84 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ExternalAndroidStorageAccessCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ExternalAndroidStorageAccessCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks internal class ExternalAndroidStorageAccessCheckTest : CheckTest(ExternalAndroidStorageAccessCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/FileHeaderCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/FileHeaderCheckTest.kt index 3f586bf67..c75ccd3cf 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/FileHeaderCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/FileHeaderCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.junit.jupiter.api.Assertions.assertEquals diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/FinalFlowOperationCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/FinalFlowOperationCheckTest.kt index b1333b92d..60de84643 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/FinalFlowOperationCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/FinalFlowOperationCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks internal class FinalFlowOperationCheckTest : CheckTest(FinalFlowOperationCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/FixMeCommentCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/FixMeCommentCheckTest.kt index ce78709d7..3ff976467 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/FixMeCommentCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/FixMeCommentCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class FixMeCommentCheckTest : CheckTest(FixMeCommentCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/FlowChannelReturningFunsNotSuspendingCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/FlowChannelReturningFunsNotSuspendingCheckTest.kt index 01a40604b..1c89c5686 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/FlowChannelReturningFunsNotSuspendingCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/FlowChannelReturningFunsNotSuspendingCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks internal class FlowChannelReturningFunsNotSuspendingCheckTest : CheckTest(FlowChannelReturningFunsNotSuspendingCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/FunctionCognitiveComplexityCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/FunctionCognitiveComplexityCheckTest.kt index b8869b73f..df94f2b9d 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/FunctionCognitiveComplexityCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/FunctionCognitiveComplexityCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class FunctionCognitiveComplexityCheckTest : CheckTest(FunctionCognitiveComplexityCheck().apply { threshold = 4 }) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/GraphemeClustersInClassesCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/GraphemeClustersInClassesCheckTest.kt index 95c06aed2..eb3bc04d3 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/GraphemeClustersInClassesCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/GraphemeClustersInClassesCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class GraphemeClustersInClassesCheckTest : CheckTest(GraphemeClustersInClassesCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/HardcodedCredentialsCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/HardcodedCredentialsCheckTest.kt index 47ad17e49..c18fc1295 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/HardcodedCredentialsCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/HardcodedCredentialsCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class HardcodedCredentialsCheckTest : CheckTest(HardcodedCredentialsCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/HardcodedIpCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/HardcodedIpCheckTest.kt index 0b424bde5..528692cf2 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/HardcodedIpCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/HardcodedIpCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class HardcodedIpCheckTest : CheckTest(HardcodedIpCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/IdenticalBinaryOperandCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/IdenticalBinaryOperandCheckTest.kt index 65c3ff0d0..e812e2cac 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/IdenticalBinaryOperandCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/IdenticalBinaryOperandCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class IdenticalBinaryOperandCheckTest : CheckTest(IdenticalBinaryOperandCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/IdenticalConditionsCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/IdenticalConditionsCheckTest.kt index 366ce5965..3e39fe4fd 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/IdenticalConditionsCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/IdenticalConditionsCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class IdenticalConditionsCheckTest : CheckTest(IdenticalConditionsCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/IfConditionalAlwaysTrueOrFalseCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/IfConditionalAlwaysTrueOrFalseCheckTest.kt index fefbf86ce..b840ab1cf 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/IfConditionalAlwaysTrueOrFalseCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/IfConditionalAlwaysTrueOrFalseCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class IfConditionalAlwaysTrueOrFalseCheckTest : CheckTest(IfConditionalAlwaysTrueOrFalseCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/IgnoredOperationStatusCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/IgnoredOperationStatusCheckTest.kt index a14d18797..8fab56262 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/IgnoredOperationStatusCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/IgnoredOperationStatusCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class IgnoredOperationStatusCheckTest : CheckTest(IgnoredOperationStatusCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ImplicitParameterInLambdaCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ImplicitParameterInLambdaCheckTest.kt index 3b2d3f601..5174f868b 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ImplicitParameterInLambdaCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ImplicitParameterInLambdaCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks internal class ImplicitParameterInLambdaCheckTest : CheckTest(ImplicitParameterInLambdaCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/IndexedAccessCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/IndexedAccessCheckTest.kt index 67e92baff..98eee3ef3 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/IndexedAccessCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/IndexedAccessCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks internal class IndexedAccessCheckTest : CheckTest(IndexedAccessCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/InjectableDispatchersCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/InjectableDispatchersCheckTest.kt index ca21ed4df..451771168 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/InjectableDispatchersCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/InjectableDispatchersCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks internal class InjectableDispatchersCheckTest : CheckTest(InjectableDispatchersCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/InterfaceCouldBeFunctionalCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/InterfaceCouldBeFunctionalCheckTest.kt index b753657aa..8ff00729f 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/InterfaceCouldBeFunctionalCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/InterfaceCouldBeFunctionalCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks internal class InterfaceCouldBeFunctionalCheckTest : CheckTest(InterfaceCouldBeFunctionalCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/InvalidRegexCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/InvalidRegexCheckTest.kt index d75442ce5..b6217ae00 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/InvalidRegexCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/InvalidRegexCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class InvalidRegexCheckTest : CheckTest(InvalidRegexCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/IsInstanceMethodCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/IsInstanceMethodCheckTest.kt index 30bd7c8c0..8eb2794bd 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/IsInstanceMethodCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/IsInstanceMethodCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class IsInstanceMethodCheckTest : CheckTest(IsInstanceMethodCheck()) \ No newline at end of file diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/JumpInFinallyCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/JumpInFinallyCheckTest.kt index 8cfe6519e..823b8d4fb 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/JumpInFinallyCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/JumpInFinallyCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class JumpInFinallyCheckTest : CheckTest(JumpInFinallyCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/LiftReturnStatementCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/LiftReturnStatementCheckTest.kt index 0fb2ada48..3cd0d1829 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/LiftReturnStatementCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/LiftReturnStatementCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class LiftReturnStatementCheckTest : CheckTest(LiftReturnStatementCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/MainSafeCoroutinesCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/MainSafeCoroutinesCheckTest.kt index f18ff8c1c..1bfbf59de 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/MainSafeCoroutinesCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/MainSafeCoroutinesCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks internal class MainSafeCoroutinesCheckTest : CheckTest(MainSafeCoroutinesCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/MapValuesShouldBeAccessedSafelyCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/MapValuesShouldBeAccessedSafelyCheckTest.kt index 4ed493588..752cc8b92 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/MapValuesShouldBeAccessedSafelyCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/MapValuesShouldBeAccessedSafelyCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks internal class MapValuesShouldBeAccessedSafelyCheckTest : CheckTest(MapValuesShouldBeAccessedSafelyCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/MatchCaseTooBigCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/MatchCaseTooBigCheckTest.kt index dd37ca757..3969e2858 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/MatchCaseTooBigCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/MatchCaseTooBigCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class MatchCaseTooBigCheckTest : CheckTest(MatchCaseTooBigCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/MergeIfElseIntoWhenCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/MergeIfElseIntoWhenCheckTest.kt index 28a9b26fc..8b45f8194 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/MergeIfElseIntoWhenCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/MergeIfElseIntoWhenCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.junit.jupiter.api.Test diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/MobileDatabaseEncryptionKeysCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/MobileDatabaseEncryptionKeysCheckTest.kt index 8d5765232..8136b41d4 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/MobileDatabaseEncryptionKeysCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/MobileDatabaseEncryptionKeysCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks internal class MobileDatabaseEncryptionKeysCheckTest : CheckTest(MobileDatabaseEncryptionKeysCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/NestedMatchCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/NestedMatchCheckTest.kt index edf201f95..e396a8088 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/NestedMatchCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/NestedMatchCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class NestedMatchCheckTest : CheckTest(NestedMatchCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/OneStatementPerLineCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/OneStatementPerLineCheckTest.kt index cf16d5d07..6109adbb1 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/OneStatementPerLineCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/OneStatementPerLineCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class OneStatementPerLineCheckTest : CheckTest(OneStatementPerLineCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/PreparedStatementAndResultSetCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/PreparedStatementAndResultSetCheckTest.kt index 0a6ad7a67..d05e249cb 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/PreparedStatementAndResultSetCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/PreparedStatementAndResultSetCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks internal class PreparedStatementAndResultSetCheckTest : CheckTest(PreparedStatementAndResultSetCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/PropertyGetterAndSetterUsageCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/PropertyGetterAndSetterUsageCheckTest.kt index 80fa01783..58536f7e2 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/PropertyGetterAndSetterUsageCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/PropertyGetterAndSetterUsageCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.junit.jupiter.api.Test diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/PseudoRandomCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/PseudoRandomCheckTest.kt index 82f564174..ec24e3449 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/PseudoRandomCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/PseudoRandomCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class PseudoRandomCheckTest : CheckTest(PseudoRandomCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ReasonableTypeCastsCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ReasonableTypeCastsCheckTest.kt index e82aaef22..3ee1147ef 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ReasonableTypeCastsCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ReasonableTypeCastsCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks internal class ReasonableTypeCastsCheckTest : CheckTest(ReasonableTypeCastsCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ReceivingIntentsCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ReceivingIntentsCheckTest.kt index 935321738..eb52612e1 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ReceivingIntentsCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ReceivingIntentsCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class ReceivingIntentsCheckTest : CheckTest(ReceivingIntentsCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/RedundantMethodsInDataClassesCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/RedundantMethodsInDataClassesCheckTest.kt index 827e1a48b..4bbe6bf86 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/RedundantMethodsInDataClassesCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/RedundantMethodsInDataClassesCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks internal class RedundantMethodsInDataClassesCheckTest : CheckTest(RedundantMethodsInDataClassesCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/RedundantParenthesesCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/RedundantParenthesesCheckTest.kt index 9882a97af..342e92748 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/RedundantParenthesesCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/RedundantParenthesesCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class RedundantParenthesesCheckTest : CheckTest(RedundantParenthesesCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/RedundantSuspendModifierCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/RedundantSuspendModifierCheckTest.kt index 3f6274f9a..9ecaba918 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/RedundantSuspendModifierCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/RedundantSuspendModifierCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class RedundantSuspendModifierCheckTest : CheckTestWithNoSemantics(RedundantSuspendModifierCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/RedundantTypeCastsCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/RedundantTypeCastsCheckTest.kt index 925118b76..2aa98e575 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/RedundantTypeCastsCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/RedundantTypeCastsCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks internal class RedundantTypeCastsCheckTest : CheckTest(RedundantTypeCastsCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/RegexComplexityCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/RegexComplexityCheckTest.kt index 54c7d5fa2..c7d14c6c8 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/RegexComplexityCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/RegexComplexityCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class RegexComplexityCheckTest : CheckTest(RegexComplexityCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ReluctantQuantifierCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ReluctantQuantifierCheckTest.kt index 7638b825c..2b340f7e9 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ReluctantQuantifierCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ReluctantQuantifierCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class ReluctantQuantifierCheckTest : CheckTest(ReluctantQuantifierCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ReplaceGuavaWithKotlinCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ReplaceGuavaWithKotlinCheckTest.kt index 918b80054..5c2e3200f 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ReplaceGuavaWithKotlinCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ReplaceGuavaWithKotlinCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class ReplaceGuavaWithKotlinCheckTest : CheckTest(ReplaceGuavaWithKotlinCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/RobustCryptographicKeysCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/RobustCryptographicKeysCheckTest.kt index 04b289afb..977b9d966 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/RobustCryptographicKeysCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/RobustCryptographicKeysCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class RobustCryptographicKeysCheckTest : CheckTest(RobustCryptographicKeysCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/RunFinalizersCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/RunFinalizersCheckTest.kt index 2882c8538..30089015a 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/RunFinalizersCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/RunFinalizersCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class RunFinalizersCheckTest : CheckTest(RunFinalizersCheck()) \ No newline at end of file diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/SamConversionCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/SamConversionCheckTest.kt index a21ca395b..1ec995193 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/SamConversionCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/SamConversionCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks internal class SamConversionCheckTest : CheckTest(SamConversionCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ScheduledThreadPoolExecutorZeroCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ScheduledThreadPoolExecutorZeroCheckTest.kt index c2f93709c..580f6c88d 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ScheduledThreadPoolExecutorZeroCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ScheduledThreadPoolExecutorZeroCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class ScheduledThreadPoolExecutorZeroCheckTest : CheckTest(ScheduledThreadPoolExecutorZeroCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/SelfAssignmentCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/SelfAssignmentCheckTest.kt index 387e96f22..651b28bba 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/SelfAssignmentCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/SelfAssignmentCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class SelfAssignmentCheckTest : CheckTest(SelfAssignmentCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ServerCertificateCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ServerCertificateCheckTest.kt index a7664dd60..9ff8391b2 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ServerCertificateCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ServerCertificateCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class ServerCertificateCheckTest : CheckTestWithNoSemantics(ServerCertificateCheck(), shouldReport = true) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/SimplifiedPreconditionsCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/SimplifiedPreconditionsCheckTest.kt index e29711a05..b71368f98 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/SimplifiedPreconditionsCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/SimplifiedPreconditionsCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks internal class SimplifiedPreconditionsCheckTest : CheckTest(SimplifiedPreconditionsCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/SimplifyFilteringBeforeTerminalOperationCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/SimplifyFilteringBeforeTerminalOperationCheckTest.kt index fabf30ebf..47ade3790 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/SimplifyFilteringBeforeTerminalOperationCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/SimplifyFilteringBeforeTerminalOperationCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks internal class SimplifyFilteringBeforeTerminalOperationCheckTest : CheckTestWithNoSemantics(SimplifyFilteringBeforeTerminalOperationCheck()) \ No newline at end of file diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/SimplifySizeExpressionCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/SimplifySizeExpressionCheckTest.kt index db5df9475..8c26c2982 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/SimplifySizeExpressionCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/SimplifySizeExpressionCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks internal class SimplifySizeExpressionCheckTest : CheckTest(SimplifySizeExpressionCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/SingletonPatternCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/SingletonPatternCheckTest.kt index 753033220..5d7ac5626 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/SingletonPatternCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/SingletonPatternCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.junit.jupiter.api.Test diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/StreamNotConsumedCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/StreamNotConsumedCheckTest.kt index 67b1c2377..56af8fcb7 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/StreamNotConsumedCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/StreamNotConsumedCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class StreamNotConsumedCheckTest : CheckTest(StreamNotConsumedCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/StringLiteralDuplicatedCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/StringLiteralDuplicatedCheckTest.kt index dc47895db..32521a04a 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/StringLiteralDuplicatedCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/StringLiteralDuplicatedCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class StringLiteralDuplicatedCheckTest : CheckTest(StringLiteralDuplicatedCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/StrongCipherAlgorithmCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/StrongCipherAlgorithmCheckTest.kt index 342d79dac..054d70215 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/StrongCipherAlgorithmCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/StrongCipherAlgorithmCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class StrongCipherAlgorithmCheckTest : CheckTest(StrongCipherAlgorithmCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/StructuredConcurrencyPrinciplesCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/StructuredConcurrencyPrinciplesCheckTest.kt index 5b7dcb4b5..c22f8b669 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/StructuredConcurrencyPrinciplesCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/StructuredConcurrencyPrinciplesCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks internal class StructuredConcurrencyPrinciplesCheckTest : CheckTest(StructuredConcurrencyPrinciplesCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/SuspendingFunCallerDispatcherCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/SuspendingFunCallerDispatcherCheckTest.kt index 835686d38..d463b03e6 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/SuspendingFunCallerDispatcherCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/SuspendingFunCallerDispatcherCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks internal class SuspendingFunCallerDispatcherCheckTest : CheckTest(SuspendingFunCallerDispatcherCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/TabsCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/TabsCheckTest.kt index 5e4986392..aeb48f444 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/TabsCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/TabsCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.junit.jupiter.api.Test diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/TodoCommentCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/TodoCommentCheckTest.kt index 61f07f979..418ebbd1e 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/TodoCommentCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/TodoCommentCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class TodoCommentCheckTest : CheckTest(TodoCommentCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/TooComplexExpressionCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/TooComplexExpressionCheckTest.kt index 384ecaa2f..261161652 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/TooComplexExpressionCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/TooComplexExpressionCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class TooComplexExpressionCheckTest : CheckTest(TooComplexExpressionCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/TooDeeplyNestedStatementsCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/TooDeeplyNestedStatementsCheckTest.kt index c486c251f..b18373e84 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/TooDeeplyNestedStatementsCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/TooDeeplyNestedStatementsCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class TooDeeplyNestedStatementsCheckTest : CheckTest(TooDeeplyNestedStatementsCheck().apply { max = 1 }) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/TooLongFunctionCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/TooLongFunctionCheckTest.kt index ddaba099c..c7f05135e 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/TooLongFunctionCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/TooLongFunctionCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class TooLongFunctionCheckTest : CheckTest(TooLongFunctionCheck().apply { max = 3 }) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/TooLongLambdaCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/TooLongLambdaCheckTest.kt index 60fb2f72e..ee2e9c756 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/TooLongLambdaCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/TooLongLambdaCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class TooLongLambdaCheckTest : CheckTest(TooLongLambdaCheck().apply { max = 3 }) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/TooLongLineCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/TooLongLineCheckTest.kt index f4020627c..412d3091d 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/TooLongLineCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/TooLongLineCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class TooLongLineCheckTest : CheckTest(TooLongLineCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/TooManyCasesCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/TooManyCasesCheckTest.kt index 31628ba03..1ba1e01d8 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/TooManyCasesCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/TooManyCasesCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class TooManyCasesCheckTest : CheckTest(TooManyCasesCheck().apply { maximum = 2 }) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/TooManyLinesOfCodeFileCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/TooManyLinesOfCodeFileCheckTest.kt index f91231469..116e99c24 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/TooManyLinesOfCodeFileCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/TooManyLinesOfCodeFileCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.junit.jupiter.api.Test diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/TooManyParametersCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/TooManyParametersCheckTest.kt index 5805dd565..8702efdd0 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/TooManyParametersCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/TooManyParametersCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class TooManyParametersCheckTest : CheckTest(TooManyParametersCheck().apply { max = 2 }) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UnencryptedDatabaseOnMobileCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UnencryptedDatabaseOnMobileCheckTest.kt index 64ca84393..9b2b6b93c 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UnencryptedDatabaseOnMobileCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UnencryptedDatabaseOnMobileCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class UnencryptedDatabaseOnMobileCheckTest : CheckTest(UnencryptedDatabaseOnMobileCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UnencryptedFilesInMobileApplicationsCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UnencryptedFilesInMobileApplicationsCheckTest.kt index 6c52b279a..54fd9aca1 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UnencryptedFilesInMobileApplicationsCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UnencryptedFilesInMobileApplicationsCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks internal class UnencryptedFilesInMobileApplicationsCheckTest: CheckTestForAndroidOnly(UnencryptedFilesInMobileApplicationsCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UnicodeAwareCharClassesCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UnicodeAwareCharClassesCheckTest.kt index fa1dcd0bb..d7f3fdf9e 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UnicodeAwareCharClassesCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UnicodeAwareCharClassesCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class UnicodeAwareCharClassesCheckTest : CheckTest(UnicodeAwareCharClassesCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UnnecessaryImportsCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UnnecessaryImportsCheckTest.kt index c382ab7ad..341a9e44e 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UnnecessaryImportsCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UnnecessaryImportsCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.junit.jupiter.api.Test diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UnpredictableHashSaltCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UnpredictableHashSaltCheckTest.kt index 84c826afd..692a8b8e0 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UnpredictableHashSaltCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UnpredictableHashSaltCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class UnpredictableHashSaltCheckTest : CheckTest(UnpredictableHashSaltCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UnpredictableSecureRandomSaltCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UnpredictableSecureRandomSaltCheckTest.kt index a150106d8..92be266c1 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UnpredictableSecureRandomSaltCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UnpredictableSecureRandomSaltCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class UnpredictableSecureRandomSaltCheckTest : CheckTest(UnpredictableSecureRandomSaltCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UnsuitedFindFunctionWithNullComparisonCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UnsuitedFindFunctionWithNullComparisonCheckTest.kt index 1b62e1b33..8b20c74bc 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UnsuitedFindFunctionWithNullComparisonCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UnsuitedFindFunctionWithNullComparisonCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks internal class UnsuitedFindFunctionWithNullComparisonCheckTest : CheckTest(UnsuitedFindFunctionWithNullComparisonCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UnusedAsyncResultCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UnusedAsyncResultCheckTest.kt index df3ae23cc..7742b39b3 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UnusedAsyncResultCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UnusedAsyncResultCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class UnusedDeferredResultCheckTest : CheckTest(UnusedDeferredResultCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UnusedFunctionParameterCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UnusedFunctionParameterCheckTest.kt index 25f6b135d..3df1d0d39 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UnusedFunctionParameterCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UnusedFunctionParameterCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class UnusedFunctionParameterCheckTest : CheckTest(UnusedFunctionParameterCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UnusedLocalVariableCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UnusedLocalVariableCheckTest.kt index f5632e324..1b6dac48f 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UnusedLocalVariableCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UnusedLocalVariableCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.junit.jupiter.api.Test diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UnusedPrivateMethodCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UnusedPrivateMethodCheckTest.kt index 1c5479465..efc7d2ba9 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UnusedPrivateMethodCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UnusedPrivateMethodCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class UnusedPrivateMethodCheckTest : CheckTestWithNoSemantics(UnusedPrivateMethodCheck(), shouldReport = true) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UselessAssignmentsCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UselessAssignmentsCheckTest.kt index 562fdc69c..59c343147 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UselessAssignmentsCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UselessAssignmentsCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks internal class UselessAssignmentsCheckTest : CheckTest(UselessAssignmentsCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UselessIncrementCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UselessIncrementCheckTest.kt index cdb68980e..68268e967 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UselessIncrementCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UselessIncrementCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class UselessIncrementCheckTest : CheckTest(UselessIncrementCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UselessNullCheckCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UselessNullCheckCheckTest.kt index c4e6825e0..13cd1e225 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UselessNullCheckCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/UselessNullCheckCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import io.mockk.every diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/VarShouldBeValCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/VarShouldBeValCheckTest.kt index d25e15ac2..3e3fcd885 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/VarShouldBeValCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/VarShouldBeValCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.junit.jupiter.api.Test diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/VariableAndParameterNameCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/VariableAndParameterNameCheckTest.kt index 60f2e7f67..ab9298675 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/VariableAndParameterNameCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/VariableAndParameterNameCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class VariableAndParameterNameCheckTest : CheckTest(VariableAndParameterNameCheck().apply { format = "^[_a-z][a-zA-Z0-9]*$" }) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/VerifiedServerHostnamesCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/VerifiedServerHostnamesCheckTest.kt index e8817361b..e3c84e997 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/VerifiedServerHostnamesCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/VerifiedServerHostnamesCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class VerifiedServerHostnamesCheckTest : CheckTest(VerifiedServerHostnamesCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ViewModelSuspendingFunctionsCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ViewModelSuspendingFunctionsCheckTest.kt index e0e94a13c..9a0cb17fa 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ViewModelSuspendingFunctionsCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/ViewModelSuspendingFunctionsCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks internal class ViewModelSuspendingFunctionsCheckTest : CheckTest(ViewModelSuspendingFunctionsCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/VoidShouldBeUnitCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/VoidShouldBeUnitCheckTest.kt index 821fc4af3..6884c87ed 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/VoidShouldBeUnitCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/VoidShouldBeUnitCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks import org.junit.jupiter.api.Test diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/WeakSSLContextCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/WeakSSLContextCheckTest.kt index c7d6367de..51c766448 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/WeakSSLContextCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/WeakSSLContextCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class WeakSSLContextCheckTest : CheckTest(WeakSSLContextCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/WebViewJavaScriptSupportCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/WebViewJavaScriptSupportCheckTest.kt index 661901ffc..73eb65dc6 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/WebViewJavaScriptSupportCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/WebViewJavaScriptSupportCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class WebViewJavaScriptSupportCheckTest : CheckTest(WebViewJavaScriptSupportCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/WebViewsFileAccessCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/WebViewsFileAccessCheckTest.kt index 0100bf310..f53d41be7 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/WebViewsFileAccessCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/WebViewsFileAccessCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class WebViewsFileAccessCheckTest : CheckTest(WebViewsFileAccessCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/WrongAssignmentOperatorCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/WrongAssignmentOperatorCheckTest.kt index 52a92db1d..a4a967d32 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/WrongAssignmentOperatorCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/WrongAssignmentOperatorCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks class WrongAssignmentOperatorCheckTest : CheckTest(WrongAssignmentOperatorCheck()) diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/testing/DummyKotlinCheck.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/testing/DummyKotlinCheck.kt index 37d0b5def..1256ddd1f 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/testing/DummyKotlinCheck.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/testing/DummyKotlinCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks.testing import org.jetbrains.kotlin.psi.KtNamedFunction diff --git a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/testing/DummyKotlinCheckTest.kt b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/testing/DummyKotlinCheckTest.kt index 5626d90b6..d4d4bff14 100644 --- a/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/testing/DummyKotlinCheckTest.kt +++ b/sonar-kotlin-checks/src/test/java/org/sonarsource/kotlin/checks/testing/DummyKotlinCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.checks.testing import org.junit.jupiter.api.Test diff --git a/sonar-kotlin-external-linters/src/main/java/org/sonarsource/kotlin/externalreport/androidlint/AndroidLintRulesDefinition.kt b/sonar-kotlin-external-linters/src/main/java/org/sonarsource/kotlin/externalreport/androidlint/AndroidLintRulesDefinition.kt index 6f3cccfec..d79b15e8e 100644 --- a/sonar-kotlin-external-linters/src/main/java/org/sonarsource/kotlin/externalreport/androidlint/AndroidLintRulesDefinition.kt +++ b/sonar-kotlin-external-linters/src/main/java/org/sonarsource/kotlin/externalreport/androidlint/AndroidLintRulesDefinition.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.externalreport.androidlint import org.sonar.api.server.rule.RulesDefinition diff --git a/sonar-kotlin-external-linters/src/main/java/org/sonarsource/kotlin/externalreport/androidlint/AndroidLintSensor.kt b/sonar-kotlin-external-linters/src/main/java/org/sonarsource/kotlin/externalreport/androidlint/AndroidLintSensor.kt index a2fc370a3..be9378427 100644 --- a/sonar-kotlin-external-linters/src/main/java/org/sonarsource/kotlin/externalreport/androidlint/AndroidLintSensor.kt +++ b/sonar-kotlin-external-linters/src/main/java/org/sonarsource/kotlin/externalreport/androidlint/AndroidLintSensor.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.externalreport.androidlint import org.slf4j.LoggerFactory diff --git a/sonar-kotlin-external-linters/src/main/java/org/sonarsource/kotlin/externalreport/androidlint/AndroidLintXmlReportReader.kt b/sonar-kotlin-external-linters/src/main/java/org/sonarsource/kotlin/externalreport/androidlint/AndroidLintXmlReportReader.kt index 04244d71b..a494267f1 100644 --- a/sonar-kotlin-external-linters/src/main/java/org/sonarsource/kotlin/externalreport/androidlint/AndroidLintXmlReportReader.kt +++ b/sonar-kotlin-external-linters/src/main/java/org/sonarsource/kotlin/externalreport/androidlint/AndroidLintXmlReportReader.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.externalreport.androidlint import java.io.IOException diff --git a/sonar-kotlin-external-linters/src/main/java/org/sonarsource/kotlin/externalreport/common/CheckstyleFormatImporter.java b/sonar-kotlin-external-linters/src/main/java/org/sonarsource/kotlin/externalreport/common/CheckstyleFormatImporter.java index 4e652ddfc..f59e7c05e 100644 --- a/sonar-kotlin-external-linters/src/main/java/org/sonarsource/kotlin/externalreport/common/CheckstyleFormatImporter.java +++ b/sonar-kotlin-external-linters/src/main/java/org/sonarsource/kotlin/externalreport/common/CheckstyleFormatImporter.java @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.externalreport.common; import org.slf4j.Logger; diff --git a/sonar-kotlin-external-linters/src/main/java/org/sonarsource/kotlin/externalreport/common/CheckstyleFormatImporterWithRuleLoader.java b/sonar-kotlin-external-linters/src/main/java/org/sonarsource/kotlin/externalreport/common/CheckstyleFormatImporterWithRuleLoader.java index 9a83aeaa5..7a3404ffa 100644 --- a/sonar-kotlin-external-linters/src/main/java/org/sonarsource/kotlin/externalreport/common/CheckstyleFormatImporterWithRuleLoader.java +++ b/sonar-kotlin-external-linters/src/main/java/org/sonarsource/kotlin/externalreport/common/CheckstyleFormatImporterWithRuleLoader.java @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.externalreport.common; import javax.annotation.Nullable; diff --git a/sonar-kotlin-external-linters/src/main/java/org/sonarsource/kotlin/externalreport/detekt/DetektRulesDefinition.kt b/sonar-kotlin-external-linters/src/main/java/org/sonarsource/kotlin/externalreport/detekt/DetektRulesDefinition.kt index ecfc17eee..918663892 100644 --- a/sonar-kotlin-external-linters/src/main/java/org/sonarsource/kotlin/externalreport/detekt/DetektRulesDefinition.kt +++ b/sonar-kotlin-external-linters/src/main/java/org/sonarsource/kotlin/externalreport/detekt/DetektRulesDefinition.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.externalreport.detekt import org.sonar.api.server.rule.RulesDefinition diff --git a/sonar-kotlin-external-linters/src/main/java/org/sonarsource/kotlin/externalreport/detekt/DetektSensor.kt b/sonar-kotlin-external-linters/src/main/java/org/sonarsource/kotlin/externalreport/detekt/DetektSensor.kt index f71203b75..18b37f7b2 100644 --- a/sonar-kotlin-external-linters/src/main/java/org/sonarsource/kotlin/externalreport/detekt/DetektSensor.kt +++ b/sonar-kotlin-external-linters/src/main/java/org/sonarsource/kotlin/externalreport/detekt/DetektSensor.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.externalreport.detekt import org.slf4j.LoggerFactory diff --git a/sonar-kotlin-external-linters/src/main/java/org/sonarsource/kotlin/externalreport/ktlint/CheckstyleReportParser.kt b/sonar-kotlin-external-linters/src/main/java/org/sonarsource/kotlin/externalreport/ktlint/CheckstyleReportParser.kt index 67820b8f7..5b6ffa0c9 100644 --- a/sonar-kotlin-external-linters/src/main/java/org/sonarsource/kotlin/externalreport/ktlint/CheckstyleReportParser.kt +++ b/sonar-kotlin-external-linters/src/main/java/org/sonarsource/kotlin/externalreport/ktlint/CheckstyleReportParser.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.externalreport.ktlint import org.sonar.api.batch.sensor.SensorContext diff --git a/sonar-kotlin-external-linters/src/main/java/org/sonarsource/kotlin/externalreport/ktlint/JsonReportParser.kt b/sonar-kotlin-external-linters/src/main/java/org/sonarsource/kotlin/externalreport/ktlint/JsonReportParser.kt index 3e0d03771..a3393612f 100644 --- a/sonar-kotlin-external-linters/src/main/java/org/sonarsource/kotlin/externalreport/ktlint/JsonReportParser.kt +++ b/sonar-kotlin-external-linters/src/main/java/org/sonarsource/kotlin/externalreport/ktlint/JsonReportParser.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.externalreport.ktlint import com.google.gson.Gson diff --git a/sonar-kotlin-external-linters/src/main/java/org/sonarsource/kotlin/externalreport/ktlint/KtlintRulesDefinition.kt b/sonar-kotlin-external-linters/src/main/java/org/sonarsource/kotlin/externalreport/ktlint/KtlintRulesDefinition.kt index e9140fb2f..601af77f0 100644 --- a/sonar-kotlin-external-linters/src/main/java/org/sonarsource/kotlin/externalreport/ktlint/KtlintRulesDefinition.kt +++ b/sonar-kotlin-external-linters/src/main/java/org/sonarsource/kotlin/externalreport/ktlint/KtlintRulesDefinition.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.externalreport.ktlint import org.sonar.api.server.rule.RulesDefinition diff --git a/sonar-kotlin-external-linters/src/main/java/org/sonarsource/kotlin/externalreport/ktlint/KtlintSensor.kt b/sonar-kotlin-external-linters/src/main/java/org/sonarsource/kotlin/externalreport/ktlint/KtlintSensor.kt index b1233bd99..40549b9e0 100644 --- a/sonar-kotlin-external-linters/src/main/java/org/sonarsource/kotlin/externalreport/ktlint/KtlintSensor.kt +++ b/sonar-kotlin-external-linters/src/main/java/org/sonarsource/kotlin/externalreport/ktlint/KtlintSensor.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.externalreport.ktlint import org.sonar.api.batch.sensor.SensorContext diff --git a/sonar-kotlin-external-linters/src/main/java/org/sonarsource/kotlin/externalreport/ktlint/ReportImporter.kt b/sonar-kotlin-external-linters/src/main/java/org/sonarsource/kotlin/externalreport/ktlint/ReportImporter.kt index 1166c7735..214515865 100644 --- a/sonar-kotlin-external-linters/src/main/java/org/sonarsource/kotlin/externalreport/ktlint/ReportImporter.kt +++ b/sonar-kotlin-external-linters/src/main/java/org/sonarsource/kotlin/externalreport/ktlint/ReportImporter.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.externalreport.ktlint import org.slf4j.LoggerFactory diff --git a/sonar-kotlin-external-linters/src/test/java/org/sonarsource/kotlin/externalreport/androidlint/AndroidLintRulesDefinitionTest.kt b/sonar-kotlin-external-linters/src/test/java/org/sonarsource/kotlin/externalreport/androidlint/AndroidLintRulesDefinitionTest.kt index 6bfc1b8d0..75f323bdb 100644 --- a/sonar-kotlin-external-linters/src/test/java/org/sonarsource/kotlin/externalreport/androidlint/AndroidLintRulesDefinitionTest.kt +++ b/sonar-kotlin-external-linters/src/test/java/org/sonarsource/kotlin/externalreport/androidlint/AndroidLintRulesDefinitionTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.externalreport.androidlint import org.assertj.core.api.Assertions.assertThat diff --git a/sonar-kotlin-external-linters/src/test/java/org/sonarsource/kotlin/externalreport/androidlint/AndroidLintSensorTest.kt b/sonar-kotlin-external-linters/src/test/java/org/sonarsource/kotlin/externalreport/androidlint/AndroidLintSensorTest.kt index 3c093c1c1..e257f0063 100644 --- a/sonar-kotlin-external-linters/src/test/java/org/sonarsource/kotlin/externalreport/androidlint/AndroidLintSensorTest.kt +++ b/sonar-kotlin-external-linters/src/test/java/org/sonarsource/kotlin/externalreport/androidlint/AndroidLintSensorTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.externalreport.androidlint import org.assertj.core.api.Assertions.assertThat diff --git a/sonar-kotlin-external-linters/src/test/java/org/sonarsource/kotlin/externalreport/common/CheckstyleFormatImporterTest.java b/sonar-kotlin-external-linters/src/test/java/org/sonarsource/kotlin/externalreport/common/CheckstyleFormatImporterTest.java index 558a4be74..36ab98eb2 100644 --- a/sonar-kotlin-external-linters/src/test/java/org/sonarsource/kotlin/externalreport/common/CheckstyleFormatImporterTest.java +++ b/sonar-kotlin-external-linters/src/test/java/org/sonarsource/kotlin/externalreport/common/CheckstyleFormatImporterTest.java @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.externalreport.common; import java.io.IOException; diff --git a/sonar-kotlin-external-linters/src/test/java/org/sonarsource/kotlin/externalreport/common/CheckstyleFormatImporterWithRuleLoaderTest.java b/sonar-kotlin-external-linters/src/test/java/org/sonarsource/kotlin/externalreport/common/CheckstyleFormatImporterWithRuleLoaderTest.java index a439582b0..9b2c5016e 100644 --- a/sonar-kotlin-external-linters/src/test/java/org/sonarsource/kotlin/externalreport/common/CheckstyleFormatImporterWithRuleLoaderTest.java +++ b/sonar-kotlin-external-linters/src/test/java/org/sonarsource/kotlin/externalreport/common/CheckstyleFormatImporterWithRuleLoaderTest.java @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.externalreport.common; import java.io.IOException; diff --git a/sonar-kotlin-external-linters/src/test/java/org/sonarsource/kotlin/externalreport/common/ExternalReportTestUtils.kt b/sonar-kotlin-external-linters/src/test/java/org/sonarsource/kotlin/externalreport/common/ExternalReportTestUtils.kt index 7e855cbcb..6e848df6f 100644 --- a/sonar-kotlin-external-linters/src/test/java/org/sonarsource/kotlin/externalreport/common/ExternalReportTestUtils.kt +++ b/sonar-kotlin-external-linters/src/test/java/org/sonarsource/kotlin/externalreport/common/ExternalReportTestUtils.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.externalreport.common import org.assertj.core.api.Assertions.assertThat diff --git a/sonar-kotlin-external-linters/src/test/java/org/sonarsource/kotlin/externalreport/detekt/DetektRulesDefinitionTest.kt b/sonar-kotlin-external-linters/src/test/java/org/sonarsource/kotlin/externalreport/detekt/DetektRulesDefinitionTest.kt index 21f69ef49..ca38dbf11 100644 --- a/sonar-kotlin-external-linters/src/test/java/org/sonarsource/kotlin/externalreport/detekt/DetektRulesDefinitionTest.kt +++ b/sonar-kotlin-external-linters/src/test/java/org/sonarsource/kotlin/externalreport/detekt/DetektRulesDefinitionTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.externalreport.detekt import org.assertj.core.api.Assertions.assertThat diff --git a/sonar-kotlin-external-linters/src/test/java/org/sonarsource/kotlin/externalreport/detekt/DetektSensorTest.kt b/sonar-kotlin-external-linters/src/test/java/org/sonarsource/kotlin/externalreport/detekt/DetektSensorTest.kt index 5302ebe96..6bac9f189 100644 --- a/sonar-kotlin-external-linters/src/test/java/org/sonarsource/kotlin/externalreport/detekt/DetektSensorTest.kt +++ b/sonar-kotlin-external-linters/src/test/java/org/sonarsource/kotlin/externalreport/detekt/DetektSensorTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.externalreport.detekt import org.assertj.core.api.Assertions.assertThat diff --git a/sonar-kotlin-external-linters/src/test/java/org/sonarsource/kotlin/externalreport/ktlint/KtlintRulesDefinitionTest.kt b/sonar-kotlin-external-linters/src/test/java/org/sonarsource/kotlin/externalreport/ktlint/KtlintRulesDefinitionTest.kt index 584a28027..4c2c1abab 100644 --- a/sonar-kotlin-external-linters/src/test/java/org/sonarsource/kotlin/externalreport/ktlint/KtlintRulesDefinitionTest.kt +++ b/sonar-kotlin-external-linters/src/test/java/org/sonarsource/kotlin/externalreport/ktlint/KtlintRulesDefinitionTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.externalreport.ktlint import org.assertj.core.api.Assertions.assertThat diff --git a/sonar-kotlin-external-linters/src/test/java/org/sonarsource/kotlin/externalreport/ktlint/KtlintSensorTest.kt b/sonar-kotlin-external-linters/src/test/java/org/sonarsource/kotlin/externalreport/ktlint/KtlintSensorTest.kt index 80a0763df..8a227100c 100644 --- a/sonar-kotlin-external-linters/src/test/java/org/sonarsource/kotlin/externalreport/ktlint/KtlintSensorTest.kt +++ b/sonar-kotlin-external-linters/src/test/java/org/sonarsource/kotlin/externalreport/ktlint/KtlintSensorTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.externalreport.ktlint import org.assertj.core.api.Assertions.assertThat diff --git a/sonar-kotlin-gradle/src/main/java/org/sonarsource/kotlin/gradle/KotlinGradleCheckList.kt b/sonar-kotlin-gradle/src/main/java/org/sonarsource/kotlin/gradle/KotlinGradleCheckList.kt index 62ea566f4..3f3e66aeb 100644 --- a/sonar-kotlin-gradle/src/main/java/org/sonarsource/kotlin/gradle/KotlinGradleCheckList.kt +++ b/sonar-kotlin-gradle/src/main/java/org/sonarsource/kotlin/gradle/KotlinGradleCheckList.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.gradle import org.sonarsource.kotlin.api.checks.KotlinCheck diff --git a/sonar-kotlin-gradle/src/main/java/org/sonarsource/kotlin/gradle/KotlinGradleSensor.kt b/sonar-kotlin-gradle/src/main/java/org/sonarsource/kotlin/gradle/KotlinGradleSensor.kt index d4f888496..0367c9270 100644 --- a/sonar-kotlin-gradle/src/main/java/org/sonarsource/kotlin/gradle/KotlinGradleSensor.kt +++ b/sonar-kotlin-gradle/src/main/java/org/sonarsource/kotlin/gradle/KotlinGradleSensor.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.gradle import org.jetbrains.kotlin.resolve.BindingContext diff --git a/sonar-kotlin-gradle/src/main/java/org/sonarsource/kotlin/gradle/checks/CorePluginsShortcutUsageCheck.kt b/sonar-kotlin-gradle/src/main/java/org/sonarsource/kotlin/gradle/checks/CorePluginsShortcutUsageCheck.kt index 25835c444..e5f8b3078 100644 --- a/sonar-kotlin-gradle/src/main/java/org/sonarsource/kotlin/gradle/checks/CorePluginsShortcutUsageCheck.kt +++ b/sonar-kotlin-gradle/src/main/java/org/sonarsource/kotlin/gradle/checks/CorePluginsShortcutUsageCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.gradle.checks import org.jetbrains.kotlin.psi.KtCallExpression diff --git a/sonar-kotlin-gradle/src/main/java/org/sonarsource/kotlin/gradle/checks/DependencyGroupedCheck.kt b/sonar-kotlin-gradle/src/main/java/org/sonarsource/kotlin/gradle/checks/DependencyGroupedCheck.kt index d03ee6f37..b05bdd288 100644 --- a/sonar-kotlin-gradle/src/main/java/org/sonarsource/kotlin/gradle/checks/DependencyGroupedCheck.kt +++ b/sonar-kotlin-gradle/src/main/java/org/sonarsource/kotlin/gradle/checks/DependencyGroupedCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.gradle.checks import org.jetbrains.kotlin.psi.KtCallExpression diff --git a/sonar-kotlin-gradle/src/main/java/org/sonarsource/kotlin/gradle/checks/DependencyVersionHardcodedCheck.kt b/sonar-kotlin-gradle/src/main/java/org/sonarsource/kotlin/gradle/checks/DependencyVersionHardcodedCheck.kt index 5ba0bfae9..cb0be2867 100644 --- a/sonar-kotlin-gradle/src/main/java/org/sonarsource/kotlin/gradle/checks/DependencyVersionHardcodedCheck.kt +++ b/sonar-kotlin-gradle/src/main/java/org/sonarsource/kotlin/gradle/checks/DependencyVersionHardcodedCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.gradle.checks import org.jetbrains.kotlin.psi.KtCallExpression diff --git a/sonar-kotlin-gradle/src/main/java/org/sonarsource/kotlin/gradle/checks/MissingSettingsCheck.kt b/sonar-kotlin-gradle/src/main/java/org/sonarsource/kotlin/gradle/checks/MissingSettingsCheck.kt index de9bd2a72..ee76c2182 100644 --- a/sonar-kotlin-gradle/src/main/java/org/sonarsource/kotlin/gradle/checks/MissingSettingsCheck.kt +++ b/sonar-kotlin-gradle/src/main/java/org/sonarsource/kotlin/gradle/checks/MissingSettingsCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.gradle.checks import org.sonar.check.Rule diff --git a/sonar-kotlin-gradle/src/main/java/org/sonarsource/kotlin/gradle/checks/RootProjectNamePresentCheck.kt b/sonar-kotlin-gradle/src/main/java/org/sonarsource/kotlin/gradle/checks/RootProjectNamePresentCheck.kt index 59ef016a2..117ca5b42 100644 --- a/sonar-kotlin-gradle/src/main/java/org/sonarsource/kotlin/gradle/checks/RootProjectNamePresentCheck.kt +++ b/sonar-kotlin-gradle/src/main/java/org/sonarsource/kotlin/gradle/checks/RootProjectNamePresentCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.gradle.checks import org.jetbrains.kotlin.lexer.KtTokens diff --git a/sonar-kotlin-gradle/src/main/java/org/sonarsource/kotlin/gradle/checks/TaskDefinitionsCheck.kt b/sonar-kotlin-gradle/src/main/java/org/sonarsource/kotlin/gradle/checks/TaskDefinitionsCheck.kt index 897f5b4c4..7db0b21c5 100644 --- a/sonar-kotlin-gradle/src/main/java/org/sonarsource/kotlin/gradle/checks/TaskDefinitionsCheck.kt +++ b/sonar-kotlin-gradle/src/main/java/org/sonarsource/kotlin/gradle/checks/TaskDefinitionsCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.gradle.checks import org.jetbrains.kotlin.lexer.KtTokens diff --git a/sonar-kotlin-gradle/src/main/java/org/sonarsource/kotlin/gradle/checks/TaskRegisterVsCreateCheck.kt b/sonar-kotlin-gradle/src/main/java/org/sonarsource/kotlin/gradle/checks/TaskRegisterVsCreateCheck.kt index 7b412e4e4..6a54cfd8e 100644 --- a/sonar-kotlin-gradle/src/main/java/org/sonarsource/kotlin/gradle/checks/TaskRegisterVsCreateCheck.kt +++ b/sonar-kotlin-gradle/src/main/java/org/sonarsource/kotlin/gradle/checks/TaskRegisterVsCreateCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.gradle.checks import org.jetbrains.kotlin.psi.KtCallExpression diff --git a/sonar-kotlin-gradle/src/main/java/org/sonarsource/kotlin/gradle/checks/dependencyChecks.kt b/sonar-kotlin-gradle/src/main/java/org/sonarsource/kotlin/gradle/checks/dependencyChecks.kt index af7f3d8b4..4d06eab76 100644 --- a/sonar-kotlin-gradle/src/main/java/org/sonarsource/kotlin/gradle/checks/dependencyChecks.kt +++ b/sonar-kotlin-gradle/src/main/java/org/sonarsource/kotlin/gradle/checks/dependencyChecks.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.gradle.checks import org.jetbrains.kotlin.psi.KtBlockExpression diff --git a/sonar-kotlin-gradle/src/test/java/org/sonarsource/kotlin/gradle/CheckConfigurationIntegrityTest.kt b/sonar-kotlin-gradle/src/test/java/org/sonarsource/kotlin/gradle/CheckConfigurationIntegrityTest.kt index 45552cb6a..094395795 100644 --- a/sonar-kotlin-gradle/src/test/java/org/sonarsource/kotlin/gradle/CheckConfigurationIntegrityTest.kt +++ b/sonar-kotlin-gradle/src/test/java/org/sonarsource/kotlin/gradle/CheckConfigurationIntegrityTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.gradle import org.assertj.core.api.Assertions diff --git a/sonar-kotlin-gradle/src/test/java/org/sonarsource/kotlin/gradle/KotlinGradleSensorTest.kt b/sonar-kotlin-gradle/src/test/java/org/sonarsource/kotlin/gradle/KotlinGradleSensorTest.kt index 62bd71eea..0bd5eb65d 100644 --- a/sonar-kotlin-gradle/src/test/java/org/sonarsource/kotlin/gradle/KotlinGradleSensorTest.kt +++ b/sonar-kotlin-gradle/src/test/java/org/sonarsource/kotlin/gradle/KotlinGradleSensorTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.gradle import io.mockk.every diff --git a/sonar-kotlin-gradle/src/test/java/org/sonarsource/kotlin/gradle/checks/CheckTest.kt b/sonar-kotlin-gradle/src/test/java/org/sonarsource/kotlin/gradle/checks/CheckTest.kt index c45df67f2..26d6f644b 100644 --- a/sonar-kotlin-gradle/src/test/java/org/sonarsource/kotlin/gradle/checks/CheckTest.kt +++ b/sonar-kotlin-gradle/src/test/java/org/sonarsource/kotlin/gradle/checks/CheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.gradle.checks import org.junit.jupiter.api.Test diff --git a/sonar-kotlin-gradle/src/test/java/org/sonarsource/kotlin/gradle/checks/CorePluginsShortcutUsageCheckTest.kt b/sonar-kotlin-gradle/src/test/java/org/sonarsource/kotlin/gradle/checks/CorePluginsShortcutUsageCheckTest.kt index 0616b333d..e72784144 100644 --- a/sonar-kotlin-gradle/src/test/java/org/sonarsource/kotlin/gradle/checks/CorePluginsShortcutUsageCheckTest.kt +++ b/sonar-kotlin-gradle/src/test/java/org/sonarsource/kotlin/gradle/checks/CorePluginsShortcutUsageCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.gradle.checks internal class CorePluginsShortcutUsageCheckTest : CheckTest(CorePluginsShortcutUsageCheck()) diff --git a/sonar-kotlin-gradle/src/test/java/org/sonarsource/kotlin/gradle/checks/DependencyGroupedCheckTest.kt b/sonar-kotlin-gradle/src/test/java/org/sonarsource/kotlin/gradle/checks/DependencyGroupedCheckTest.kt index 5a4bb91a6..285e6575f 100644 --- a/sonar-kotlin-gradle/src/test/java/org/sonarsource/kotlin/gradle/checks/DependencyGroupedCheckTest.kt +++ b/sonar-kotlin-gradle/src/test/java/org/sonarsource/kotlin/gradle/checks/DependencyGroupedCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.gradle.checks internal class DependencyGroupedCheckTest : CheckTest(DependencyGroupedCheck()) diff --git a/sonar-kotlin-gradle/src/test/java/org/sonarsource/kotlin/gradle/checks/DependencyVersionHardcodedCheckTest.kt b/sonar-kotlin-gradle/src/test/java/org/sonarsource/kotlin/gradle/checks/DependencyVersionHardcodedCheckTest.kt index 99772a3c4..f000e9068 100644 --- a/sonar-kotlin-gradle/src/test/java/org/sonarsource/kotlin/gradle/checks/DependencyVersionHardcodedCheckTest.kt +++ b/sonar-kotlin-gradle/src/test/java/org/sonarsource/kotlin/gradle/checks/DependencyVersionHardcodedCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.gradle.checks internal class DependencyVersionHardcodedCheckTest : CheckTest(DependencyVersionHardcodedCheck()) diff --git a/sonar-kotlin-gradle/src/test/java/org/sonarsource/kotlin/gradle/checks/RootProjectNamePresentCheckTest.kt b/sonar-kotlin-gradle/src/test/java/org/sonarsource/kotlin/gradle/checks/RootProjectNamePresentCheckTest.kt index d0e0f0876..7f4b267fe 100644 --- a/sonar-kotlin-gradle/src/test/java/org/sonarsource/kotlin/gradle/checks/RootProjectNamePresentCheckTest.kt +++ b/sonar-kotlin-gradle/src/test/java/org/sonarsource/kotlin/gradle/checks/RootProjectNamePresentCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.gradle.checks import org.junit.jupiter.api.Test diff --git a/sonar-kotlin-gradle/src/test/java/org/sonarsource/kotlin/gradle/checks/TaskDefinitionsCheckTest.kt b/sonar-kotlin-gradle/src/test/java/org/sonarsource/kotlin/gradle/checks/TaskDefinitionsCheckTest.kt index 2412be00e..1b5dde17f 100644 --- a/sonar-kotlin-gradle/src/test/java/org/sonarsource/kotlin/gradle/checks/TaskDefinitionsCheckTest.kt +++ b/sonar-kotlin-gradle/src/test/java/org/sonarsource/kotlin/gradle/checks/TaskDefinitionsCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.gradle.checks internal class TaskDefinitionsCheckTest : CheckTest(TaskDefinitionsCheck()) diff --git a/sonar-kotlin-gradle/src/test/java/org/sonarsource/kotlin/gradle/checks/TaskRegisterVsCreateCheckTest.kt b/sonar-kotlin-gradle/src/test/java/org/sonarsource/kotlin/gradle/checks/TaskRegisterVsCreateCheckTest.kt index 70cd5e505..fb288b8d9 100644 --- a/sonar-kotlin-gradle/src/test/java/org/sonarsource/kotlin/gradle/checks/TaskRegisterVsCreateCheckTest.kt +++ b/sonar-kotlin-gradle/src/test/java/org/sonarsource/kotlin/gradle/checks/TaskRegisterVsCreateCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.gradle.checks internal class TaskRegisterVsCreateCheckTest : CheckTest(TaskRegisterVsCreateCheck()) diff --git a/sonar-kotlin-gradle/src/test/java/org/sonarsource/kotlin/gradle/checks/testing/DummyKotlinGradleCheck.kt b/sonar-kotlin-gradle/src/test/java/org/sonarsource/kotlin/gradle/checks/testing/DummyKotlinGradleCheck.kt index 8b82a4094..f9200eda6 100644 --- a/sonar-kotlin-gradle/src/test/java/org/sonarsource/kotlin/gradle/checks/testing/DummyKotlinGradleCheck.kt +++ b/sonar-kotlin-gradle/src/test/java/org/sonarsource/kotlin/gradle/checks/testing/DummyKotlinGradleCheck.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.gradle.checks.testing import org.jetbrains.kotlin.psi.KtNamedFunction diff --git a/sonar-kotlin-gradle/src/test/java/org/sonarsource/kotlin/gradle/checks/testing/DummyKotlinGradleCheckTest.kt b/sonar-kotlin-gradle/src/test/java/org/sonarsource/kotlin/gradle/checks/testing/DummyKotlinGradleCheckTest.kt index 3e69e949c..7bee8d096 100644 --- a/sonar-kotlin-gradle/src/test/java/org/sonarsource/kotlin/gradle/checks/testing/DummyKotlinGradleCheckTest.kt +++ b/sonar-kotlin-gradle/src/test/java/org/sonarsource/kotlin/gradle/checks/testing/DummyKotlinGradleCheckTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.gradle.checks.testing import org.junit.jupiter.api.Test diff --git a/sonar-kotlin-metrics/src/main/java/org/sonarsource/kotlin/metrics/CyclomaticComplexityVisitor.kt b/sonar-kotlin-metrics/src/main/java/org/sonarsource/kotlin/metrics/CyclomaticComplexityVisitor.kt index 20d0d8cc4..0c2cf61c8 100644 --- a/sonar-kotlin-metrics/src/main/java/org/sonarsource/kotlin/metrics/CyclomaticComplexityVisitor.kt +++ b/sonar-kotlin-metrics/src/main/java/org/sonarsource/kotlin/metrics/CyclomaticComplexityVisitor.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.metrics import com.intellij.psi.PsiElement diff --git a/sonar-kotlin-metrics/src/main/java/org/sonarsource/kotlin/metrics/IssueSuppressionVisitor.kt b/sonar-kotlin-metrics/src/main/java/org/sonarsource/kotlin/metrics/IssueSuppressionVisitor.kt index 3eb0c81f6..ec8ed6933 100644 --- a/sonar-kotlin-metrics/src/main/java/org/sonarsource/kotlin/metrics/IssueSuppressionVisitor.kt +++ b/sonar-kotlin-metrics/src/main/java/org/sonarsource/kotlin/metrics/IssueSuppressionVisitor.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.metrics import org.jetbrains.kotlin.psi.KtAnnotated diff --git a/sonar-kotlin-metrics/src/main/java/org/sonarsource/kotlin/metrics/MetricVisitor.kt b/sonar-kotlin-metrics/src/main/java/org/sonarsource/kotlin/metrics/MetricVisitor.kt index 2caf02695..ad56083c0 100644 --- a/sonar-kotlin-metrics/src/main/java/org/sonarsource/kotlin/metrics/MetricVisitor.kt +++ b/sonar-kotlin-metrics/src/main/java/org/sonarsource/kotlin/metrics/MetricVisitor.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.metrics import com.intellij.openapi.editor.Document diff --git a/sonar-kotlin-metrics/src/main/java/org/sonarsource/kotlin/metrics/StatementsVisitor.kt b/sonar-kotlin-metrics/src/main/java/org/sonarsource/kotlin/metrics/StatementsVisitor.kt index 3e5c037cb..2fd35ae64 100644 --- a/sonar-kotlin-metrics/src/main/java/org/sonarsource/kotlin/metrics/StatementsVisitor.kt +++ b/sonar-kotlin-metrics/src/main/java/org/sonarsource/kotlin/metrics/StatementsVisitor.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.metrics import org.jetbrains.kotlin.psi.KtBlockExpression diff --git a/sonar-kotlin-metrics/src/main/java/org/sonarsource/kotlin/metrics/SyntaxHighlighter.kt b/sonar-kotlin-metrics/src/main/java/org/sonarsource/kotlin/metrics/SyntaxHighlighter.kt index e82a4d6f6..1836533a4 100644 --- a/sonar-kotlin-metrics/src/main/java/org/sonarsource/kotlin/metrics/SyntaxHighlighter.kt +++ b/sonar-kotlin-metrics/src/main/java/org/sonarsource/kotlin/metrics/SyntaxHighlighter.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.metrics import com.intellij.psi.PsiAnnotation diff --git a/sonar-kotlin-metrics/src/test/java/org/sonarsource/kotlin/metrics/CyclomaticComplexityVisitorTest.kt b/sonar-kotlin-metrics/src/test/java/org/sonarsource/kotlin/metrics/CyclomaticComplexityVisitorTest.kt index 90af28080..c344169d3 100644 --- a/sonar-kotlin-metrics/src/test/java/org/sonarsource/kotlin/metrics/CyclomaticComplexityVisitorTest.kt +++ b/sonar-kotlin-metrics/src/test/java/org/sonarsource/kotlin/metrics/CyclomaticComplexityVisitorTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.metrics import org.assertj.core.api.Assertions diff --git a/sonar-kotlin-metrics/src/test/java/org/sonarsource/kotlin/metrics/IssueSuppressionVisitorTest.kt b/sonar-kotlin-metrics/src/test/java/org/sonarsource/kotlin/metrics/IssueSuppressionVisitorTest.kt index 4d346ba28..f40dc58a5 100644 --- a/sonar-kotlin-metrics/src/test/java/org/sonarsource/kotlin/metrics/IssueSuppressionVisitorTest.kt +++ b/sonar-kotlin-metrics/src/test/java/org/sonarsource/kotlin/metrics/IssueSuppressionVisitorTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.metrics import org.jetbrains.kotlin.config.LanguageVersion diff --git a/sonar-kotlin-metrics/src/test/java/org/sonarsource/kotlin/metrics/MetricVisitorTest.kt b/sonar-kotlin-metrics/src/test/java/org/sonarsource/kotlin/metrics/MetricVisitorTest.kt index 49a4302eb..ea04a7ac6 100644 --- a/sonar-kotlin-metrics/src/test/java/org/sonarsource/kotlin/metrics/MetricVisitorTest.kt +++ b/sonar-kotlin-metrics/src/test/java/org/sonarsource/kotlin/metrics/MetricVisitorTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.metrics import org.assertj.core.api.Assertions.assertThat diff --git a/sonar-kotlin-metrics/src/test/java/org/sonarsource/kotlin/metrics/StatementsVisitorTest.kt b/sonar-kotlin-metrics/src/test/java/org/sonarsource/kotlin/metrics/StatementsVisitorTest.kt index 5648a43b6..efaab345a 100644 --- a/sonar-kotlin-metrics/src/test/java/org/sonarsource/kotlin/metrics/StatementsVisitorTest.kt +++ b/sonar-kotlin-metrics/src/test/java/org/sonarsource/kotlin/metrics/StatementsVisitorTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.metrics import org.assertj.core.api.Assertions diff --git a/sonar-kotlin-metrics/src/test/java/org/sonarsource/kotlin/metrics/SyntaxHighlighterTest.kt b/sonar-kotlin-metrics/src/test/java/org/sonarsource/kotlin/metrics/SyntaxHighlighterTest.kt index 01f683bc5..84808e564 100644 --- a/sonar-kotlin-metrics/src/test/java/org/sonarsource/kotlin/metrics/SyntaxHighlighterTest.kt +++ b/sonar-kotlin-metrics/src/test/java/org/sonarsource/kotlin/metrics/SyntaxHighlighterTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.metrics import org.assertj.core.api.Assertions.assertThat diff --git a/sonar-kotlin-plugin/src/main/java/org/sonarsource/kotlin/plugin/KotlinCheckList.kt b/sonar-kotlin-plugin/src/main/java/org/sonarsource/kotlin/plugin/KotlinCheckList.kt index 8dbc43a84..a47fe4bb4 100644 --- a/sonar-kotlin-plugin/src/main/java/org/sonarsource/kotlin/plugin/KotlinCheckList.kt +++ b/sonar-kotlin-plugin/src/main/java/org/sonarsource/kotlin/plugin/KotlinCheckList.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.plugin import org.sonarsource.kotlin.checks.AbstractClassShouldBeInterfaceCheck diff --git a/sonar-kotlin-plugin/src/main/java/org/sonarsource/kotlin/plugin/KotlinPlugin.kt b/sonar-kotlin-plugin/src/main/java/org/sonarsource/kotlin/plugin/KotlinPlugin.kt index 47e0b551b..46c249f77 100644 --- a/sonar-kotlin-plugin/src/main/java/org/sonarsource/kotlin/plugin/KotlinPlugin.kt +++ b/sonar-kotlin-plugin/src/main/java/org/sonarsource/kotlin/plugin/KotlinPlugin.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.plugin import org.sonar.api.Plugin diff --git a/sonar-kotlin-plugin/src/main/java/org/sonarsource/kotlin/plugin/KotlinProfileDefinition.kt b/sonar-kotlin-plugin/src/main/java/org/sonarsource/kotlin/plugin/KotlinProfileDefinition.kt index afe31d446..46f69364c 100644 --- a/sonar-kotlin-plugin/src/main/java/org/sonarsource/kotlin/plugin/KotlinProfileDefinition.kt +++ b/sonar-kotlin-plugin/src/main/java/org/sonarsource/kotlin/plugin/KotlinProfileDefinition.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.plugin import org.sonar.api.server.profile.BuiltInQualityProfilesDefinition diff --git a/sonar-kotlin-plugin/src/main/java/org/sonarsource/kotlin/plugin/KotlinRulesDefinition.kt b/sonar-kotlin-plugin/src/main/java/org/sonarsource/kotlin/plugin/KotlinRulesDefinition.kt index a3ad67018..6edea4921 100644 --- a/sonar-kotlin-plugin/src/main/java/org/sonarsource/kotlin/plugin/KotlinRulesDefinition.kt +++ b/sonar-kotlin-plugin/src/main/java/org/sonarsource/kotlin/plugin/KotlinRulesDefinition.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.plugin import org.sonar.api.SonarRuntime diff --git a/sonar-kotlin-plugin/src/main/java/org/sonarsource/kotlin/plugin/KotlinSensor.kt b/sonar-kotlin-plugin/src/main/java/org/sonarsource/kotlin/plugin/KotlinSensor.kt index 060e2d7b0..c3f3210b2 100644 --- a/sonar-kotlin-plugin/src/main/java/org/sonarsource/kotlin/plugin/KotlinSensor.kt +++ b/sonar-kotlin-plugin/src/main/java/org/sonarsource/kotlin/plugin/KotlinSensor.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.plugin import org.jetbrains.kotlin.resolve.BindingContext diff --git a/sonar-kotlin-plugin/src/main/java/org/sonarsource/kotlin/plugin/caching/ContentHashCache.kt b/sonar-kotlin-plugin/src/main/java/org/sonarsource/kotlin/plugin/caching/ContentHashCache.kt index 4f632925b..deeae45e8 100644 --- a/sonar-kotlin-plugin/src/main/java/org/sonarsource/kotlin/plugin/caching/ContentHashCache.kt +++ b/sonar-kotlin-plugin/src/main/java/org/sonarsource/kotlin/plugin/caching/ContentHashCache.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.plugin.caching import org.slf4j.LoggerFactory diff --git a/sonar-kotlin-plugin/src/main/java/org/sonarsource/kotlin/plugin/cpd/Caching.kt b/sonar-kotlin-plugin/src/main/java/org/sonarsource/kotlin/plugin/cpd/Caching.kt index 92afe573e..0cc675080 100644 --- a/sonar-kotlin-plugin/src/main/java/org/sonarsource/kotlin/plugin/cpd/Caching.kt +++ b/sonar-kotlin-plugin/src/main/java/org/sonarsource/kotlin/plugin/cpd/Caching.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.plugin.cpd import org.slf4j.LoggerFactory diff --git a/sonar-kotlin-plugin/src/main/java/org/sonarsource/kotlin/plugin/cpd/CopyPasteDetector.kt b/sonar-kotlin-plugin/src/main/java/org/sonarsource/kotlin/plugin/cpd/CopyPasteDetector.kt index 9039c7605..b0121722e 100644 --- a/sonar-kotlin-plugin/src/main/java/org/sonarsource/kotlin/plugin/cpd/CopyPasteDetector.kt +++ b/sonar-kotlin-plugin/src/main/java/org/sonarsource/kotlin/plugin/cpd/CopyPasteDetector.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.plugin.cpd import com.intellij.psi.PsiComment diff --git a/sonar-kotlin-plugin/src/main/java/org/sonarsource/kotlin/plugin/linking/WorkaroundForJarMinimization.java b/sonar-kotlin-plugin/src/main/java/org/sonarsource/kotlin/plugin/linking/WorkaroundForJarMinimization.java index 4aee75295..939e9fb72 100644 --- a/sonar-kotlin-plugin/src/main/java/org/sonarsource/kotlin/plugin/linking/WorkaroundForJarMinimization.java +++ b/sonar-kotlin-plugin/src/main/java/org/sonarsource/kotlin/plugin/linking/WorkaroundForJarMinimization.java @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.plugin.linking; import java.util.List; diff --git a/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/CheckConfigurationIntegrityTest.kt b/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/CheckConfigurationIntegrityTest.kt index ca6cafa87..05753a5e6 100644 --- a/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/CheckConfigurationIntegrityTest.kt +++ b/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/CheckConfigurationIntegrityTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.plugin import org.assertj.core.api.Assertions diff --git a/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/CheckRegistrationTest.kt b/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/CheckRegistrationTest.kt index 729c8b3bd..05fbd8a25 100644 --- a/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/CheckRegistrationTest.kt +++ b/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/CheckRegistrationTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.plugin import io.mockk.spyk diff --git a/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/ContentHashCacheTest.kt b/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/ContentHashCacheTest.kt index 547df8fb7..edfa4448b 100644 --- a/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/ContentHashCacheTest.kt +++ b/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/ContentHashCacheTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.plugin import org.assertj.core.api.Assertions.assertThat diff --git a/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/DummyReadCache.kt b/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/DummyReadCache.kt index 8c65cd561..3a1c23b43 100644 --- a/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/DummyReadCache.kt +++ b/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/DummyReadCache.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.plugin import org.sonar.api.batch.sensor.cache.ReadCache diff --git a/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/DummyWriteCache.kt b/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/DummyWriteCache.kt index b46f89ce2..2a371e99c 100644 --- a/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/DummyWriteCache.kt +++ b/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/DummyWriteCache.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.plugin import org.sonar.api.batch.sensor.cache.ReadCache diff --git a/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/KotlinLanguageTest.kt b/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/KotlinLanguageTest.kt index 12920f3a0..475707b0a 100644 --- a/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/KotlinLanguageTest.kt +++ b/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/KotlinLanguageTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.plugin import org.assertj.core.api.AssertionsForClassTypes diff --git a/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/KotlinPluginTest.kt b/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/KotlinPluginTest.kt index 9218db5b1..3f4e3f30d 100644 --- a/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/KotlinPluginTest.kt +++ b/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/KotlinPluginTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.plugin import org.assertj.core.api.Assertions diff --git a/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/KotlinProfileDefinitionTest.kt b/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/KotlinProfileDefinitionTest.kt index ec03eea5d..5782d2576 100644 --- a/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/KotlinProfileDefinitionTest.kt +++ b/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/KotlinProfileDefinitionTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.plugin import com.google.gson.Gson diff --git a/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/KotlinRulesDefinitionTest.kt b/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/KotlinRulesDefinitionTest.kt index 405b10357..bfecb04f8 100644 --- a/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/KotlinRulesDefinitionTest.kt +++ b/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/KotlinRulesDefinitionTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.plugin import org.assertj.core.api.Assertions diff --git a/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/KotlinSensorTest.kt b/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/KotlinSensorTest.kt index 1b7fc53c6..4698d0642 100644 --- a/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/KotlinSensorTest.kt +++ b/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/KotlinSensorTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.plugin import io.mockk.every diff --git a/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/TextRangeAssert.kt b/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/TextRangeAssert.kt index c18e26712..303c31b43 100644 --- a/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/TextRangeAssert.kt +++ b/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/TextRangeAssert.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.plugin import org.assertj.core.api.AbstractAssert diff --git a/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/cpd/CachingTest.kt b/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/cpd/CachingTest.kt index 76382c8ea..c096c43f9 100644 --- a/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/cpd/CachingTest.kt +++ b/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/cpd/CachingTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.plugin.cpd import io.mockk.every diff --git a/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/cpd/CopyPasteDetectorTest.kt b/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/cpd/CopyPasteDetectorTest.kt index b53f0da15..36590af06 100644 --- a/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/cpd/CopyPasteDetectorTest.kt +++ b/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/cpd/CopyPasteDetectorTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.plugin.cpd import org.assertj.core.api.Assertions diff --git a/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/linking/WorkaroundForJarMinimizationTest.kt b/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/linking/WorkaroundForJarMinimizationTest.kt index fcc6a4219..9449595c9 100644 --- a/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/linking/WorkaroundForJarMinimizationTest.kt +++ b/sonar-kotlin-plugin/src/test/java/org/sonarsource/kotlin/plugin/linking/WorkaroundForJarMinimizationTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.plugin.linking import org.assertj.core.api.Assertions.assertThat diff --git a/sonar-kotlin-surefire/src/main/java/org/sonarsource/kotlin/surefire/KotlinResourcesLocator.java b/sonar-kotlin-surefire/src/main/java/org/sonarsource/kotlin/surefire/KotlinResourcesLocator.java index 2c8f2e7e3..5880c0448 100644 --- a/sonar-kotlin-surefire/src/main/java/org/sonarsource/kotlin/surefire/KotlinResourcesLocator.java +++ b/sonar-kotlin-surefire/src/main/java/org/sonarsource/kotlin/surefire/KotlinResourcesLocator.java @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.surefire; import org.slf4j.Logger; diff --git a/sonar-kotlin-surefire/src/main/java/org/sonarsource/kotlin/surefire/KotlinSurefireParser.java b/sonar-kotlin-surefire/src/main/java/org/sonarsource/kotlin/surefire/KotlinSurefireParser.java index ceed97bca..a69628e6c 100644 --- a/sonar-kotlin-surefire/src/main/java/org/sonarsource/kotlin/surefire/KotlinSurefireParser.java +++ b/sonar-kotlin-surefire/src/main/java/org/sonarsource/kotlin/surefire/KotlinSurefireParser.java @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.surefire; import java.io.File; diff --git a/sonar-kotlin-surefire/src/main/java/org/sonarsource/kotlin/surefire/KotlinSurefireSensor.java b/sonar-kotlin-surefire/src/main/java/org/sonarsource/kotlin/surefire/KotlinSurefireSensor.java index bf161b6a5..66d12ce8d 100644 --- a/sonar-kotlin-surefire/src/main/java/org/sonarsource/kotlin/surefire/KotlinSurefireSensor.java +++ b/sonar-kotlin-surefire/src/main/java/org/sonarsource/kotlin/surefire/KotlinSurefireSensor.java @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.surefire; import org.slf4j.Logger; diff --git a/sonar-kotlin-surefire/src/main/java/org/sonarsource/kotlin/surefire/StaxParser.java b/sonar-kotlin-surefire/src/main/java/org/sonarsource/kotlin/surefire/StaxParser.java index 3d8cf6200..58abd88a6 100644 --- a/sonar-kotlin-surefire/src/main/java/org/sonarsource/kotlin/surefire/StaxParser.java +++ b/sonar-kotlin-surefire/src/main/java/org/sonarsource/kotlin/surefire/StaxParser.java @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.surefire; import com.ctc.wstx.api.WstxInputProperties; diff --git a/sonar-kotlin-surefire/src/main/java/org/sonarsource/kotlin/surefire/api/SurefireUtils.java b/sonar-kotlin-surefire/src/main/java/org/sonarsource/kotlin/surefire/api/SurefireUtils.java index 7f1bf99b5..b9015e9d0 100644 --- a/sonar-kotlin-surefire/src/main/java/org/sonarsource/kotlin/surefire/api/SurefireUtils.java +++ b/sonar-kotlin-surefire/src/main/java/org/sonarsource/kotlin/surefire/api/SurefireUtils.java @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.surefire.api; import org.slf4j.Logger; diff --git a/sonar-kotlin-surefire/src/main/java/org/sonarsource/kotlin/surefire/data/SurefireStaxHandler.java b/sonar-kotlin-surefire/src/main/java/org/sonarsource/kotlin/surefire/data/SurefireStaxHandler.java index 071f93a78..77829cc77 100644 --- a/sonar-kotlin-surefire/src/main/java/org/sonarsource/kotlin/surefire/data/SurefireStaxHandler.java +++ b/sonar-kotlin-surefire/src/main/java/org/sonarsource/kotlin/surefire/data/SurefireStaxHandler.java @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.surefire.data; import java.text.ParseException; diff --git a/sonar-kotlin-surefire/src/main/java/org/sonarsource/kotlin/surefire/data/UnitTestClassReport.java b/sonar-kotlin-surefire/src/main/java/org/sonarsource/kotlin/surefire/data/UnitTestClassReport.java index c9f74d034..d26e1ae90 100644 --- a/sonar-kotlin-surefire/src/main/java/org/sonarsource/kotlin/surefire/data/UnitTestClassReport.java +++ b/sonar-kotlin-surefire/src/main/java/org/sonarsource/kotlin/surefire/data/UnitTestClassReport.java @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.surefire.data; import java.util.ArrayList; diff --git a/sonar-kotlin-surefire/src/main/java/org/sonarsource/kotlin/surefire/data/UnitTestIndex.java b/sonar-kotlin-surefire/src/main/java/org/sonarsource/kotlin/surefire/data/UnitTestIndex.java index 06714d704..ac7213d95 100644 --- a/sonar-kotlin-surefire/src/main/java/org/sonarsource/kotlin/surefire/data/UnitTestIndex.java +++ b/sonar-kotlin-surefire/src/main/java/org/sonarsource/kotlin/surefire/data/UnitTestIndex.java @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.surefire.data; import java.util.HashMap; diff --git a/sonar-kotlin-surefire/src/main/java/org/sonarsource/kotlin/surefire/data/UnitTestResult.java b/sonar-kotlin-surefire/src/main/java/org/sonarsource/kotlin/surefire/data/UnitTestResult.java index c19eb081b..870bc4a9c 100644 --- a/sonar-kotlin-surefire/src/main/java/org/sonarsource/kotlin/surefire/data/UnitTestResult.java +++ b/sonar-kotlin-surefire/src/main/java/org/sonarsource/kotlin/surefire/data/UnitTestResult.java @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.surefire.data; import java.util.UUID; diff --git a/sonar-kotlin-surefire/src/test/java/org/sonarsource/kotlin/surefire/KotlinResourcesLocatorTest.java b/sonar-kotlin-surefire/src/test/java/org/sonarsource/kotlin/surefire/KotlinResourcesLocatorTest.java index 53f9e36e0..f4958477e 100644 --- a/sonar-kotlin-surefire/src/test/java/org/sonarsource/kotlin/surefire/KotlinResourcesLocatorTest.java +++ b/sonar-kotlin-surefire/src/test/java/org/sonarsource/kotlin/surefire/KotlinResourcesLocatorTest.java @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.surefire; import java.io.File; diff --git a/sonar-kotlin-surefire/src/test/java/org/sonarsource/kotlin/surefire/KotlinSurefireParserTest.java b/sonar-kotlin-surefire/src/test/java/org/sonarsource/kotlin/surefire/KotlinSurefireParserTest.java index f36645dd0..180987c44 100644 --- a/sonar-kotlin-surefire/src/test/java/org/sonarsource/kotlin/surefire/KotlinSurefireParserTest.java +++ b/sonar-kotlin-surefire/src/test/java/org/sonarsource/kotlin/surefire/KotlinSurefireParserTest.java @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.surefire; import java.io.File; diff --git a/sonar-kotlin-surefire/src/test/java/org/sonarsource/kotlin/surefire/KotlinSurefireSensorTest.java b/sonar-kotlin-surefire/src/test/java/org/sonarsource/kotlin/surefire/KotlinSurefireSensorTest.java index e784d38d9..74ebae58f 100644 --- a/sonar-kotlin-surefire/src/test/java/org/sonarsource/kotlin/surefire/KotlinSurefireSensorTest.java +++ b/sonar-kotlin-surefire/src/test/java/org/sonarsource/kotlin/surefire/KotlinSurefireSensorTest.java @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.surefire; import java.io.File; diff --git a/sonar-kotlin-surefire/src/test/java/org/sonarsource/kotlin/surefire/api/SurefireUtilsTest.java b/sonar-kotlin-surefire/src/test/java/org/sonarsource/kotlin/surefire/api/SurefireUtilsTest.java index ee9f07f66..0c3324547 100644 --- a/sonar-kotlin-surefire/src/test/java/org/sonarsource/kotlin/surefire/api/SurefireUtilsTest.java +++ b/sonar-kotlin-surefire/src/test/java/org/sonarsource/kotlin/surefire/api/SurefireUtilsTest.java @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.surefire.api; import java.io.File; diff --git a/sonar-kotlin-surefire/src/test/java/org/sonarsource/kotlin/surefire/data/SurefireStaxHandlerTest.java b/sonar-kotlin-surefire/src/test/java/org/sonarsource/kotlin/surefire/data/SurefireStaxHandlerTest.java index 9070a2119..6470cdb92 100644 --- a/sonar-kotlin-surefire/src/test/java/org/sonarsource/kotlin/surefire/data/SurefireStaxHandlerTest.java +++ b/sonar-kotlin-surefire/src/test/java/org/sonarsource/kotlin/surefire/data/SurefireStaxHandlerTest.java @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.surefire.data; import java.io.File; diff --git a/sonar-kotlin-surefire/src/test/java/org/sonarsource/kotlin/surefire/data/UnitTestClassReportTest.java b/sonar-kotlin-surefire/src/test/java/org/sonarsource/kotlin/surefire/data/UnitTestClassReportTest.java index a5f812371..ad1dc4f2e 100644 --- a/sonar-kotlin-surefire/src/test/java/org/sonarsource/kotlin/surefire/data/UnitTestClassReportTest.java +++ b/sonar-kotlin-surefire/src/test/java/org/sonarsource/kotlin/surefire/data/UnitTestClassReportTest.java @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.surefire.data; import org.junit.jupiter.api.Test; diff --git a/sonar-kotlin-surefire/src/test/java/org/sonarsource/kotlin/surefire/data/UnitTestIndexTest.java b/sonar-kotlin-surefire/src/test/java/org/sonarsource/kotlin/surefire/data/UnitTestIndexTest.java index f6553d540..0f330f657 100644 --- a/sonar-kotlin-surefire/src/test/java/org/sonarsource/kotlin/surefire/data/UnitTestIndexTest.java +++ b/sonar-kotlin-surefire/src/test/java/org/sonarsource/kotlin/surefire/data/UnitTestIndexTest.java @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.surefire.data; import org.junit.jupiter.api.Test; diff --git a/sonar-kotlin-surefire/src/test/java/org/sonarsource/kotlin/surefire/data/UnitTestResultTest.java b/sonar-kotlin-surefire/src/test/java/org/sonarsource/kotlin/surefire/data/UnitTestResultTest.java index 2f7f81d50..8842c429b 100644 --- a/sonar-kotlin-surefire/src/test/java/org/sonarsource/kotlin/surefire/data/UnitTestResultTest.java +++ b/sonar-kotlin-surefire/src/test/java/org/sonarsource/kotlin/surefire/data/UnitTestResultTest.java @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.surefire.data; import org.assertj.core.api.AbstractAssert; diff --git a/sonar-kotlin-test-api/src/main/java/org/sonarsource/kotlin/testapi/AbstractSensorTest.kt b/sonar-kotlin-test-api/src/main/java/org/sonarsource/kotlin/testapi/AbstractSensorTest.kt index 7a770344f..9f8e94cfc 100644 --- a/sonar-kotlin-test-api/src/main/java/org/sonarsource/kotlin/testapi/AbstractSensorTest.kt +++ b/sonar-kotlin-test-api/src/main/java/org/sonarsource/kotlin/testapi/AbstractSensorTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.testapi import org.junit.jupiter.api.BeforeEach diff --git a/sonar-kotlin-test-api/src/main/java/org/sonarsource/kotlin/testapi/DummyInputFile.kt b/sonar-kotlin-test-api/src/main/java/org/sonarsource/kotlin/testapi/DummyInputFile.kt index a86c83cfe..70613b041 100644 --- a/sonar-kotlin-test-api/src/main/java/org/sonarsource/kotlin/testapi/DummyInputFile.kt +++ b/sonar-kotlin-test-api/src/main/java/org/sonarsource/kotlin/testapi/DummyInputFile.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.testapi import org.jetbrains.kotlin.idea.KotlinLanguage diff --git a/sonar-kotlin-test-api/src/main/java/org/sonarsource/kotlin/testapi/DummyInputFileContext.kt b/sonar-kotlin-test-api/src/main/java/org/sonarsource/kotlin/testapi/DummyInputFileContext.kt index 71dd28701..3d2b86d1b 100644 --- a/sonar-kotlin-test-api/src/main/java/org/sonarsource/kotlin/testapi/DummyInputFileContext.kt +++ b/sonar-kotlin-test-api/src/main/java/org/sonarsource/kotlin/testapi/DummyInputFileContext.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.testapi import org.sonar.api.batch.fs.InputFile diff --git a/sonar-kotlin-test-api/src/main/java/org/sonarsource/kotlin/testapi/KotlinVerifier.kt b/sonar-kotlin-test-api/src/main/java/org/sonarsource/kotlin/testapi/KotlinVerifier.kt index 319fa8e92..b67325547 100644 --- a/sonar-kotlin-test-api/src/main/java/org/sonarsource/kotlin/testapi/KotlinVerifier.kt +++ b/sonar-kotlin-test-api/src/main/java/org/sonarsource/kotlin/testapi/KotlinVerifier.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.testapi import io.mockk.InternalPlatformDsl.toStr diff --git a/sonar-kotlin-test-api/src/main/java/org/sonarsource/kotlin/testapi/KtTestChecksVisitor.kt b/sonar-kotlin-test-api/src/main/java/org/sonarsource/kotlin/testapi/KtTestChecksVisitor.kt index 8baebeee8..45db7b2e9 100644 --- a/sonar-kotlin-test-api/src/main/java/org/sonarsource/kotlin/testapi/KtTestChecksVisitor.kt +++ b/sonar-kotlin-test-api/src/main/java/org/sonarsource/kotlin/testapi/KtTestChecksVisitor.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.testapi import com.intellij.psi.PsiElement diff --git a/sonar-kotlin-test-api/src/main/java/org/sonarsource/kotlin/testapi/TestContext.kt b/sonar-kotlin-test-api/src/main/java/org/sonarsource/kotlin/testapi/TestContext.kt index 8bbeba5f8..3c4c633d0 100644 --- a/sonar-kotlin-test-api/src/main/java/org/sonarsource/kotlin/testapi/TestContext.kt +++ b/sonar-kotlin-test-api/src/main/java/org/sonarsource/kotlin/testapi/TestContext.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.testapi import org.sonar.api.batch.fs.InputFile diff --git a/sonar-kotlin-test-api/src/main/java/org/sonarsource/kotlin/testapi/TestUtils.kt b/sonar-kotlin-test-api/src/main/java/org/sonarsource/kotlin/testapi/TestUtils.kt index 420d09085..cbd6b693a 100644 --- a/sonar-kotlin-test-api/src/main/java/org/sonarsource/kotlin/testapi/TestUtils.kt +++ b/sonar-kotlin-test-api/src/main/java/org/sonarsource/kotlin/testapi/TestUtils.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.testapi import org.jetbrains.kotlin.diagnostics.Diagnostic diff --git a/utils-kotlin/src/main/kotlin/org/sonarsource/kotlin/externalreport/ExternalRule.kt b/utils-kotlin/src/main/kotlin/org/sonarsource/kotlin/externalreport/ExternalRule.kt index d4095ddfb..96ba8269a 100644 --- a/utils-kotlin/src/main/kotlin/org/sonarsource/kotlin/externalreport/ExternalRule.kt +++ b/utils-kotlin/src/main/kotlin/org/sonarsource/kotlin/externalreport/ExternalRule.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.externalreport data class ExternalRule( diff --git a/utils-kotlin/src/main/kotlin/org/sonarsource/kotlin/externalreport/androidlint/AndroidLintRuleDefinition.kt b/utils-kotlin/src/main/kotlin/org/sonarsource/kotlin/externalreport/androidlint/AndroidLintRuleDefinition.kt index c3462e67b..c1ad5f80e 100644 --- a/utils-kotlin/src/main/kotlin/org/sonarsource/kotlin/externalreport/androidlint/AndroidLintRuleDefinition.kt +++ b/utils-kotlin/src/main/kotlin/org/sonarsource/kotlin/externalreport/androidlint/AndroidLintRuleDefinition.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.externalreport.androidlint import com.google.gson.GsonBuilder diff --git a/utils-kotlin/src/main/kotlin/org/sonarsource/kotlin/externalreport/common/Translator.kt b/utils-kotlin/src/main/kotlin/org/sonarsource/kotlin/externalreport/common/Translator.kt index 1bf155b53..7f809bcbf 100644 --- a/utils-kotlin/src/main/kotlin/org/sonarsource/kotlin/externalreport/common/Translator.kt +++ b/utils-kotlin/src/main/kotlin/org/sonarsource/kotlin/externalreport/common/Translator.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.externalreport.common object Translator { diff --git a/utils-kotlin/src/main/kotlin/org/sonarsource/kotlin/externalreport/detekt/DetektRuleDefinitionGenerator.kt b/utils-kotlin/src/main/kotlin/org/sonarsource/kotlin/externalreport/detekt/DetektRuleDefinitionGenerator.kt index 7a82593cd..7e92b3fbd 100644 --- a/utils-kotlin/src/main/kotlin/org/sonarsource/kotlin/externalreport/detekt/DetektRuleDefinitionGenerator.kt +++ b/utils-kotlin/src/main/kotlin/org/sonarsource/kotlin/externalreport/detekt/DetektRuleDefinitionGenerator.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ @file:Suppress("DEPRECATION") package org.sonarsource.kotlin.externalreport.detekt diff --git a/utils-kotlin/src/main/kotlin/org/sonarsource/kotlin/externalreport/ktlint/KtlintRuleDefinitionGenerator.kt b/utils-kotlin/src/main/kotlin/org/sonarsource/kotlin/externalreport/ktlint/KtlintRuleDefinitionGenerator.kt index 3ac428bb2..94b92bb1c 100644 --- a/utils-kotlin/src/main/kotlin/org/sonarsource/kotlin/externalreport/ktlint/KtlintRuleDefinitionGenerator.kt +++ b/utils-kotlin/src/main/kotlin/org/sonarsource/kotlin/externalreport/ktlint/KtlintRuleDefinitionGenerator.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.externalreport.ktlint import com.google.gson.GsonBuilder diff --git a/utils-kotlin/src/test/kotlin/org/sonarsource/kotlin/externalreport/ExternalReportTest.kt b/utils-kotlin/src/test/kotlin/org/sonarsource/kotlin/externalreport/ExternalReportTest.kt index 5a21b6cb9..21934027d 100644 --- a/utils-kotlin/src/test/kotlin/org/sonarsource/kotlin/externalreport/ExternalReportTest.kt +++ b/utils-kotlin/src/test/kotlin/org/sonarsource/kotlin/externalreport/ExternalReportTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.externalreport import org.assertj.core.api.Assertions diff --git a/utils-kotlin/src/test/kotlin/org/sonarsource/kotlin/externalreport/androidlint/AndroidLintDefinitionTest.kt b/utils-kotlin/src/test/kotlin/org/sonarsource/kotlin/externalreport/androidlint/AndroidLintDefinitionTest.kt index 773c1a11b..b09eb186e 100644 --- a/utils-kotlin/src/test/kotlin/org/sonarsource/kotlin/externalreport/androidlint/AndroidLintDefinitionTest.kt +++ b/utils-kotlin/src/test/kotlin/org/sonarsource/kotlin/externalreport/androidlint/AndroidLintDefinitionTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.externalreport.androidlint import org.assertj.core.api.Assertions.assertThat diff --git a/utils-kotlin/src/test/kotlin/org/sonarsource/kotlin/externalreport/common/TranslatorTest.kt b/utils-kotlin/src/test/kotlin/org/sonarsource/kotlin/externalreport/common/TranslatorTest.kt index cf0de23e3..d080123e6 100644 --- a/utils-kotlin/src/test/kotlin/org/sonarsource/kotlin/externalreport/common/TranslatorTest.kt +++ b/utils-kotlin/src/test/kotlin/org/sonarsource/kotlin/externalreport/common/TranslatorTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.externalreport.common import org.assertj.core.api.Assertions.assertThat diff --git a/utils-kotlin/src/test/kotlin/org/sonarsource/kotlin/externalreport/detekt/DetektRuleDefinitionGeneratorTest.kt b/utils-kotlin/src/test/kotlin/org/sonarsource/kotlin/externalreport/detekt/DetektRuleDefinitionGeneratorTest.kt index be9ac18ba..9db6fa3a6 100644 --- a/utils-kotlin/src/test/kotlin/org/sonarsource/kotlin/externalreport/detekt/DetektRuleDefinitionGeneratorTest.kt +++ b/utils-kotlin/src/test/kotlin/org/sonarsource/kotlin/externalreport/detekt/DetektRuleDefinitionGeneratorTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.externalreport.detekt import org.assertj.core.api.Assertions.assertThat diff --git a/utils-kotlin/src/test/kotlin/org/sonarsource/kotlin/externalreport/ktlint/KtlintRuleDefinitionGeneratorTest.kt b/utils-kotlin/src/test/kotlin/org/sonarsource/kotlin/externalreport/ktlint/KtlintRuleDefinitionGeneratorTest.kt index ea7e24cff..9b965e3f6 100644 --- a/utils-kotlin/src/test/kotlin/org/sonarsource/kotlin/externalreport/ktlint/KtlintRuleDefinitionGeneratorTest.kt +++ b/utils-kotlin/src/test/kotlin/org/sonarsource/kotlin/externalreport/ktlint/KtlintRuleDefinitionGeneratorTest.kt @@ -1,19 +1,19 @@ /* * SonarSource Kotlin * Copyright (C) 2018-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the Sonar Source-Available License for more details. - * - * You should have received a copy of the Sonar Source-Available License - * along with this program; if not, see https://sonarsource.com/license/ssal/ - */ + * mailto:info AT sonarsource DOT com + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. + * + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ + */ package org.sonarsource.kotlin.externalreport.ktlint import org.assertj.core.api.Assertions