diff --git a/java-checks-test-sources/default/src/main/files/non-compiling/checks/ObjectFinalizeOverriddenCheckSample.java b/java-checks-test-sources/default/src/main/files/non-compiling/checks/ObjectFinalizeOverriddenCheckSample.java index aeb91d94492..7a08886e323 100644 --- a/java-checks-test-sources/default/src/main/files/non-compiling/checks/ObjectFinalizeOverriddenCheckSample.java +++ b/java-checks-test-sources/default/src/main/files/non-compiling/checks/ObjectFinalizeOverriddenCheckSample.java @@ -1,21 +1,18 @@ /* * SonarQube Java - * Copyright (C) 2012-2023 SonarSource SA + * Copyright (C) 2012-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * long with this program; if not, see https://sonarsource.com/license/ssal/ */ class ObjectFinalizeOverriddenCheckSample { class Foo { diff --git a/java-checks-test-sources/default/src/main/files/non-compiling/checks/tests/AssertJChainSimplificationCheckTestJava11.java b/java-checks-test-sources/default/src/main/files/non-compiling/checks/tests/AssertJChainSimplificationCheckTestJava11.java index c2ebd7e29a1..73de16ba0f9 100644 --- a/java-checks-test-sources/default/src/main/files/non-compiling/checks/tests/AssertJChainSimplificationCheckTestJava11.java +++ b/java-checks-test-sources/default/src/main/files/non-compiling/checks/tests/AssertJChainSimplificationCheckTestJava11.java @@ -1,21 +1,18 @@ /* * SonarQube Java - * Copyright (C) 2012-2020 SonarSource SA + * Copyright (C) 2012-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * long with this program; if not, see https://sonarsource.com/license/ssal/ */ package checks.tests; diff --git a/java-checks-test-sources/default/src/main/files/non-compiling/checks/tests/TooManyAssertionsCheckSample.java b/java-checks-test-sources/default/src/main/files/non-compiling/checks/tests/TooManyAssertionsCheckSample.java index c81f2590979..e1b792fcdac 100644 --- a/java-checks-test-sources/default/src/main/files/non-compiling/checks/tests/TooManyAssertionsCheckSample.java +++ b/java-checks-test-sources/default/src/main/files/non-compiling/checks/tests/TooManyAssertionsCheckSample.java @@ -1,21 +1,18 @@ /* - * SonarQube - * Copyright (C) 2009-2017 SonarSource SA + * SonarQube Java + * Copyright (C) 2012-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * long with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.ce.queue; diff --git a/java-checks-test-sources/default/src/main/java/android/app/PendingIntent.java b/java-checks-test-sources/default/src/main/java/android/app/PendingIntent.java index 3f270b9fe77..3696d925c1b 100644 --- a/java-checks-test-sources/default/src/main/java/android/app/PendingIntent.java +++ b/java-checks-test-sources/default/src/main/java/android/app/PendingIntent.java @@ -1,21 +1,18 @@ /* * SonarQube Java - * Copyright (C) 2012-2021 SonarSource SA + * Copyright (C) 2012-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * long with this program; if not, see https://sonarsource.com/license/ssal/ */ package android.app; diff --git a/java-checks-test-sources/default/src/main/java/android/bluetooth/BluetoothGatt.java b/java-checks-test-sources/default/src/main/java/android/bluetooth/BluetoothGatt.java index f84edd89d53..9dd97291a3a 100644 --- a/java-checks-test-sources/default/src/main/java/android/bluetooth/BluetoothGatt.java +++ b/java-checks-test-sources/default/src/main/java/android/bluetooth/BluetoothGatt.java @@ -1,21 +1,18 @@ /* * SonarQube Java - * Copyright (C) 2012-2023 SonarSource SA + * Copyright (C) 2012-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * long with this program; if not, see https://sonarsource.com/license/ssal/ */ package android.bluetooth; diff --git a/java-checks-test-sources/default/src/main/java/android/bluetooth/le/AdvertiseSettings.java b/java-checks-test-sources/default/src/main/java/android/bluetooth/le/AdvertiseSettings.java index 5751fa253d2..7e49013c2f5 100644 --- a/java-checks-test-sources/default/src/main/java/android/bluetooth/le/AdvertiseSettings.java +++ b/java-checks-test-sources/default/src/main/java/android/bluetooth/le/AdvertiseSettings.java @@ -1,21 +1,18 @@ /* * SonarQube Java - * Copyright (C) 2012-2023 SonarSource SA + * Copyright (C) 2012-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * long with this program; if not, see https://sonarsource.com/license/ssal/ */ package android.bluetooth.le; diff --git a/java-checks-test-sources/default/src/main/java/android/content/Context.java b/java-checks-test-sources/default/src/main/java/android/content/Context.java index 0baccf20365..3318123ea43 100644 --- a/java-checks-test-sources/default/src/main/java/android/content/Context.java +++ b/java-checks-test-sources/default/src/main/java/android/content/Context.java @@ -1,21 +1,18 @@ /* * SonarQube Java - * Copyright (C) 2012-2021 SonarSource SA + * Copyright (C) 2012-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * long with this program; if not, see https://sonarsource.com/license/ssal/ */ package android.content; diff --git a/java-checks-test-sources/default/src/main/java/android/hardware/Camera.java b/java-checks-test-sources/default/src/main/java/android/hardware/Camera.java index ea96e410a03..4be61f16bf5 100644 --- a/java-checks-test-sources/default/src/main/java/android/hardware/Camera.java +++ b/java-checks-test-sources/default/src/main/java/android/hardware/Camera.java @@ -1,21 +1,17 @@ /* - * SonarQube Java - * Copyright (C) 2012-2023 SonarSource SA + * Copyright (C) 2012-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package android.hardware; diff --git a/java-checks-test-sources/default/src/main/java/android/hardware/Sensor.java b/java-checks-test-sources/default/src/main/java/android/hardware/Sensor.java index 842eb9062d3..fd1e337b046 100644 --- a/java-checks-test-sources/default/src/main/java/android/hardware/Sensor.java +++ b/java-checks-test-sources/default/src/main/java/android/hardware/Sensor.java @@ -1,21 +1,18 @@ /* * SonarQube Java - * Copyright (C) 2012-2023 SonarSource SA + * Copyright (C) 2012-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package android.hardware; diff --git a/java-checks-test-sources/default/src/main/java/android/hardware/SensorManager.java b/java-checks-test-sources/default/src/main/java/android/hardware/SensorManager.java index 536510eebe5..a774e39c036 100644 --- a/java-checks-test-sources/default/src/main/java/android/hardware/SensorManager.java +++ b/java-checks-test-sources/default/src/main/java/android/hardware/SensorManager.java @@ -1,21 +1,18 @@ /* * SonarQube Java - * Copyright (C) 2012-2023 SonarSource SA + * Copyright (C) 2012-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package android.hardware; diff --git a/java-checks-test-sources/default/src/main/java/android/hardware/camera2/CameraDevice.java b/java-checks-test-sources/default/src/main/java/android/hardware/camera2/CameraDevice.java index 717a574cf5e..1b3e935a916 100644 --- a/java-checks-test-sources/default/src/main/java/android/hardware/camera2/CameraDevice.java +++ b/java-checks-test-sources/default/src/main/java/android/hardware/camera2/CameraDevice.java @@ -1,21 +1,18 @@ /* * SonarQube Java - * Copyright (C) 2012-2023 SonarSource SA + * Copyright (C) 2012-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * long with this program; if not, see https://sonarsource.com/license/ssal/ */ package android.hardware.camera2; diff --git a/java-checks-test-sources/default/src/main/java/android/hardware/camera2/CameraManager.java b/java-checks-test-sources/default/src/main/java/android/hardware/camera2/CameraManager.java index 8304f1a0b67..ecd671af4f7 100644 --- a/java-checks-test-sources/default/src/main/java/android/hardware/camera2/CameraManager.java +++ b/java-checks-test-sources/default/src/main/java/android/hardware/camera2/CameraManager.java @@ -1,21 +1,18 @@ /* * SonarQube Java - * Copyright (C) 2012-2023 SonarSource SA + * Copyright (C) 2012-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * long with this program; if not, see https://sonarsource.com/license/ssal/ */ package android.hardware.camera2; diff --git a/java-checks-test-sources/default/src/main/java/android/hardware/display/VirtualDisplay.java b/java-checks-test-sources/default/src/main/java/android/hardware/display/VirtualDisplay.java index a4dc15c4c6c..2317daa9f8d 100644 --- a/java-checks-test-sources/default/src/main/java/android/hardware/display/VirtualDisplay.java +++ b/java-checks-test-sources/default/src/main/java/android/hardware/display/VirtualDisplay.java @@ -1,21 +1,18 @@ /* * SonarQube Java - * Copyright (C) 2012-2023 SonarSource SA + * Copyright (C) 2012-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package android.hardware.display; diff --git a/java-checks-test-sources/default/src/main/java/android/location/LocationManager.java b/java-checks-test-sources/default/src/main/java/android/location/LocationManager.java index 6a138d35572..26a5ea9af64 100644 --- a/java-checks-test-sources/default/src/main/java/android/location/LocationManager.java +++ b/java-checks-test-sources/default/src/main/java/android/location/LocationManager.java @@ -1,21 +1,18 @@ /* * SonarQube Java - * Copyright (C) 2012-2023 SonarSource SA + * Copyright (C) 2012-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package android.location; diff --git a/java-checks-test-sources/default/src/main/java/android/media/MediaPlayer.java b/java-checks-test-sources/default/src/main/java/android/media/MediaPlayer.java index 8021a9746ed..400be46a003 100644 --- a/java-checks-test-sources/default/src/main/java/android/media/MediaPlayer.java +++ b/java-checks-test-sources/default/src/main/java/android/media/MediaPlayer.java @@ -1,21 +1,18 @@ /* * SonarQube Java - * Copyright (C) 2012-2023 SonarSource SA + * Copyright (C) 2012-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package android.media; diff --git a/java-checks-test-sources/default/src/main/java/android/media/MediaRecorder.java b/java-checks-test-sources/default/src/main/java/android/media/MediaRecorder.java index 7aab1529367..c5cf08bbcc0 100644 --- a/java-checks-test-sources/default/src/main/java/android/media/MediaRecorder.java +++ b/java-checks-test-sources/default/src/main/java/android/media/MediaRecorder.java @@ -1,21 +1,18 @@ /* * SonarQube Java - * Copyright (C) 2012-2023 SonarSource SA + * Copyright (C) 2012-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package android.media; diff --git a/java-checks-test-sources/default/src/main/java/android/media/SoundPool.java b/java-checks-test-sources/default/src/main/java/android/media/SoundPool.java index f92c7302b26..fe12b5c72c8 100644 --- a/java-checks-test-sources/default/src/main/java/android/media/SoundPool.java +++ b/java-checks-test-sources/default/src/main/java/android/media/SoundPool.java @@ -1,23 +1,19 @@ /* * SonarQube Java - * Copyright (C) 2012-2023 SonarSource SA + * Copyright (C) 2012-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ - package android.media; public class SoundPool { diff --git a/java-checks-test-sources/default/src/main/java/android/media/audiofx/Visualizer.java b/java-checks-test-sources/default/src/main/java/android/media/audiofx/Visualizer.java index d41fea5b329..e04a84bd275 100644 --- a/java-checks-test-sources/default/src/main/java/android/media/audiofx/Visualizer.java +++ b/java-checks-test-sources/default/src/main/java/android/media/audiofx/Visualizer.java @@ -1,21 +1,18 @@ /* * SonarQube Java - * Copyright (C) 2012-2023 SonarSource SA + * Copyright (C) 2012-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package android.media.audiofx; diff --git a/java-checks-test-sources/default/src/main/java/android/media/projection/MediaProjection.java b/java-checks-test-sources/default/src/main/java/android/media/projection/MediaProjection.java index 5e5e772672c..45151165926 100644 --- a/java-checks-test-sources/default/src/main/java/android/media/projection/MediaProjection.java +++ b/java-checks-test-sources/default/src/main/java/android/media/projection/MediaProjection.java @@ -1,21 +1,18 @@ /* * SonarQube Java - * Copyright (C) 2012-2023 SonarSource SA + * Copyright (C) 2012-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package android.media.projection; diff --git a/java-checks-test-sources/default/src/main/java/android/net/wifi/WifiManager.java b/java-checks-test-sources/default/src/main/java/android/net/wifi/WifiManager.java index d4ea699da21..e3132f1684f 100644 --- a/java-checks-test-sources/default/src/main/java/android/net/wifi/WifiManager.java +++ b/java-checks-test-sources/default/src/main/java/android/net/wifi/WifiManager.java @@ -1,21 +1,18 @@ /* * SonarQube Java - * Copyright (C) 2012-2023 SonarSource SA + * Copyright (C) 2012-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package android.net.wifi; diff --git a/java-checks-test-sources/default/src/main/java/android/os/Bundle.java b/java-checks-test-sources/default/src/main/java/android/os/Bundle.java index 72849d89235..62c780901be 100644 --- a/java-checks-test-sources/default/src/main/java/android/os/Bundle.java +++ b/java-checks-test-sources/default/src/main/java/android/os/Bundle.java @@ -1,21 +1,18 @@ /* * SonarQube Java - * Copyright (C) 2012-2021 SonarSource SA + * Copyright (C) 2012-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package android.os; diff --git a/java-checks-test-sources/default/src/main/java/android/os/Environment.java b/java-checks-test-sources/default/src/main/java/android/os/Environment.java index 4038668ad09..37d03114f59 100644 --- a/java-checks-test-sources/default/src/main/java/android/os/Environment.java +++ b/java-checks-test-sources/default/src/main/java/android/os/Environment.java @@ -1,21 +1,18 @@ /* * SonarQube Java - * Copyright (C) 2012-2021 SonarSource SA + * Copyright (C) 2012-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package android.os; diff --git a/java-checks-test-sources/default/src/main/java/android/os/Handler.java b/java-checks-test-sources/default/src/main/java/android/os/Handler.java index 40646d067bb..dc869ba636c 100644 --- a/java-checks-test-sources/default/src/main/java/android/os/Handler.java +++ b/java-checks-test-sources/default/src/main/java/android/os/Handler.java @@ -1,21 +1,18 @@ /* * SonarQube Java - * Copyright (C) 2012-2021 SonarSource SA + * Copyright (C) 2012-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package android.os; diff --git a/java-checks-test-sources/default/src/main/java/android/os/Parcelable.java b/java-checks-test-sources/default/src/main/java/android/os/Parcelable.java index 95fd0085e9c..292df8ccc63 100644 --- a/java-checks-test-sources/default/src/main/java/android/os/Parcelable.java +++ b/java-checks-test-sources/default/src/main/java/android/os/Parcelable.java @@ -1,21 +1,18 @@ /* * SonarQube Java - * Copyright (C) 2012-2021 SonarSource SA + * Copyright (C) 2012-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package android.os; diff --git a/java-checks-test-sources/default/src/main/java/android/os/PowerManager.java b/java-checks-test-sources/default/src/main/java/android/os/PowerManager.java index b2ef64151eb..20312334674 100644 --- a/java-checks-test-sources/default/src/main/java/android/os/PowerManager.java +++ b/java-checks-test-sources/default/src/main/java/android/os/PowerManager.java @@ -1,21 +1,18 @@ /* * SonarQube Java - * Copyright (C) 2012-2023 SonarSource SA + * Copyright (C) 2012-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package android.os; diff --git a/java-checks-test-sources/default/src/main/java/android/os/UserHandle.java b/java-checks-test-sources/default/src/main/java/android/os/UserHandle.java index 4462f455387..2e1a06723ba 100644 --- a/java-checks-test-sources/default/src/main/java/android/os/UserHandle.java +++ b/java-checks-test-sources/default/src/main/java/android/os/UserHandle.java @@ -1,21 +1,18 @@ /* * SonarQube Java - * Copyright (C) 2012-2021 SonarSource SA + * Copyright (C) 2012-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package android.os; diff --git a/java-checks-test-sources/default/src/main/java/android/package-info.java b/java-checks-test-sources/default/src/main/java/android/package-info.java index b5f255af6f5..908ba619c07 100644 --- a/java-checks-test-sources/default/src/main/java/android/package-info.java +++ b/java-checks-test-sources/default/src/main/java/android/package-info.java @@ -1,21 +1,18 @@ /* * SonarQube Java - * Copyright (C) 2012-2021 SonarSource SA + * Copyright (C) 2012-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ /** * This package is used to mock Android SDK dependency because it is not available in maven repository diff --git a/java-checks-test-sources/default/src/main/java/android/view/Surface.java b/java-checks-test-sources/default/src/main/java/android/view/Surface.java index f3953a02d32..e6b2b66a049 100644 --- a/java-checks-test-sources/default/src/main/java/android/view/Surface.java +++ b/java-checks-test-sources/default/src/main/java/android/view/Surface.java @@ -1,21 +1,18 @@ /* * SonarQube Java - * Copyright (C) 2012-2023 SonarSource SA + * Copyright (C) 2012-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package android.view; diff --git a/java-checks-test-sources/default/src/main/java/checks/ObjectFinalizeOverriddenCheckSample.java b/java-checks-test-sources/default/src/main/java/checks/ObjectFinalizeOverriddenCheckSample.java index f67574fd624..45472ac2c49 100644 --- a/java-checks-test-sources/default/src/main/java/checks/ObjectFinalizeOverriddenCheckSample.java +++ b/java-checks-test-sources/default/src/main/java/checks/ObjectFinalizeOverriddenCheckSample.java @@ -1,21 +1,18 @@ /* * SonarQube Java - * Copyright (C) 2012-2023 SonarSource SA + * Copyright (C) 2012-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package checks; diff --git a/java-checks-test-sources/default/src/main/java/checks/VirtualThreadUnsupportedMethodsParentSample.java b/java-checks-test-sources/default/src/main/java/checks/VirtualThreadUnsupportedMethodsParentSample.java index ebe2e3831ec..30c966797f7 100644 --- a/java-checks-test-sources/default/src/main/java/checks/VirtualThreadUnsupportedMethodsParentSample.java +++ b/java-checks-test-sources/default/src/main/java/checks/VirtualThreadUnsupportedMethodsParentSample.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package checks; diff --git a/java-checks-test-sources/default/src/main/java/checks/VirtualThreadUnsupportedMethodsSample.java b/java-checks-test-sources/default/src/main/java/checks/VirtualThreadUnsupportedMethodsSample.java index 02692c5df10..f8b2f019521 100644 --- a/java-checks-test-sources/default/src/main/java/checks/VirtualThreadUnsupportedMethodsSample.java +++ b/java-checks-test-sources/default/src/main/java/checks/VirtualThreadUnsupportedMethodsSample.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package checks; diff --git a/java-checks-test-sources/default/src/main/java/checks/regex/UnicodeAwareCharClassesCheckTest.java b/java-checks-test-sources/default/src/main/java/checks/regex/UnicodeAwareCharClassesCheckTest.java index 1deae03dc5f..b3b756a9d61 100644 --- a/java-checks-test-sources/default/src/main/java/checks/regex/UnicodeAwareCharClassesCheckTest.java +++ b/java-checks-test-sources/default/src/main/java/checks/regex/UnicodeAwareCharClassesCheckTest.java @@ -1,21 +1,18 @@ /* * SonarQube Java - * Copyright (C) 2012-2020 SonarSource SA + * Copyright (C) 2012-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package checks.regex; diff --git a/java-checks-test-sources/default/src/test/java/checks/tests/AssertJChainSimplificationCheckTest.java b/java-checks-test-sources/default/src/test/java/checks/tests/AssertJChainSimplificationCheckTest.java index 2ccb04cf725..4d3595a6314 100644 --- a/java-checks-test-sources/default/src/test/java/checks/tests/AssertJChainSimplificationCheckTest.java +++ b/java-checks-test-sources/default/src/test/java/checks/tests/AssertJChainSimplificationCheckTest.java @@ -1,21 +1,18 @@ /* * SonarQube Java - * Copyright (C) 2012-2020 SonarSource SA + * Copyright (C) 2012-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * long with this program; if not, see https://sonarsource.com/license/ssal/ */ package checks.tests; diff --git a/java-checks-test-sources/default/src/test/java/checks/tests/AssertTrueInsteadOfDedicatedAssertCheckTest.java b/java-checks-test-sources/default/src/test/java/checks/tests/AssertTrueInsteadOfDedicatedAssertCheckTest.java index ddb35e8236a..95595e382a2 100644 --- a/java-checks-test-sources/default/src/test/java/checks/tests/AssertTrueInsteadOfDedicatedAssertCheckTest.java +++ b/java-checks-test-sources/default/src/test/java/checks/tests/AssertTrueInsteadOfDedicatedAssertCheckTest.java @@ -1,21 +1,18 @@ /* * SonarQube Java - * Copyright (C) 2012-2020 SonarSource SA + * Copyright (C) 2012-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package checks.tests; diff --git a/java-checks-test-sources/default/src/test/java/checks/tests/JUnit4AnnotationsCheckTest.java b/java-checks-test-sources/default/src/test/java/checks/tests/JUnit4AnnotationsCheckTest.java index ba69bf382a2..b8d712e49a5 100644 --- a/java-checks-test-sources/default/src/test/java/checks/tests/JUnit4AnnotationsCheckTest.java +++ b/java-checks-test-sources/default/src/test/java/checks/tests/JUnit4AnnotationsCheckTest.java @@ -1,21 +1,18 @@ /* * SonarQube Java - * Copyright (C) 2012-2020 SonarSource SA + * Copyright (C) 2012-2024 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package checks.tests; diff --git a/java-frontend/src/test/files/model/expression/ClassWithConstants.java b/java-frontend/src/test/files/model/expression/ClassWithConstants.java index bb9ae542dd0..5ac54b67f10 100644 --- a/java-frontend/src/test/files/model/expression/ClassWithConstants.java +++ b/java-frontend/src/test/files/model/expression/ClassWithConstants.java @@ -4,18 +4,15 @@ * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. + * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the Sonar Source-Available License for more details. * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * You should have received a copy of the Sonar Source-Available License + * along with this program; if not, see https://sonarsource.com/license/ssal/ */ package org.sonar.java.model.expression;