diff --git a/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/MyJavaFileCheckRegistrar.java b/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/MyJavaFileCheckRegistrar.java index a7768d32dc2..9031ab8aa3c 100644 --- a/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/MyJavaFileCheckRegistrar.java +++ b/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/MyJavaFileCheckRegistrar.java @@ -1,21 +1,6 @@ /* - * SonarQube Java - * Copyright (C) 2012-2021 SonarSource SA - * 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. - * - * This program is distributed in the hope 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. - * - * 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. + * Copyright (C) 2012-2021 SonarSource SA - mailto:info AT sonarsource DOT com + * This code is released under [MIT No Attribution](https://opensource.org/licenses/MIT-0) license. */ package org.sonar.samples.java; diff --git a/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/MyJavaRulesDefinition.java b/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/MyJavaRulesDefinition.java index 27578ae7459..9e55475c17f 100644 --- a/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/MyJavaRulesDefinition.java +++ b/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/MyJavaRulesDefinition.java @@ -1,21 +1,6 @@ /* - * SonarQube Java - * Copyright (C) 2012-2021 SonarSource SA - * 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. - * - * This program is distributed in the hope 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. - * - * 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. + * Copyright (C) 2012-2021 SonarSource SA - mailto:info AT sonarsource DOT com + * This code is released under [MIT No Attribution](https://opensource.org/licenses/MIT-0) license. */ package org.sonar.samples.java; diff --git a/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/MyJavaRulesPlugin.java b/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/MyJavaRulesPlugin.java index 9c969938912..429c6e4847f 100644 --- a/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/MyJavaRulesPlugin.java +++ b/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/MyJavaRulesPlugin.java @@ -1,21 +1,6 @@ /* - * SonarQube Java - * Copyright (C) 2012-2021 SonarSource SA - * 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. - * - * This program is distributed in the hope 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. - * - * 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. + * Copyright (C) 2012-2021 SonarSource SA - mailto:info AT sonarsource DOT com + * This code is released under [MIT No Attribution](https://opensource.org/licenses/MIT-0) license. */ package org.sonar.samples.java; diff --git a/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/RulesList.java b/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/RulesList.java index b70d3eaaac7..dc44ea5e2b5 100644 --- a/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/RulesList.java +++ b/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/RulesList.java @@ -1,21 +1,6 @@ /* - * SonarQube Java - * Copyright (C) 2012-2021 SonarSource SA - * 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. - * - * This program is distributed in the hope 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. - * - * 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. + * Copyright (C) 2012-2021 SonarSource SA - mailto:info AT sonarsource DOT com + * This code is released under [MIT No Attribution](https://opensource.org/licenses/MIT-0) license. */ package org.sonar.samples.java; diff --git a/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/checks/AvoidAnnotationRule.java b/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/checks/AvoidAnnotationRule.java index 1dc5723f1c7..3358382a135 100644 --- a/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/checks/AvoidAnnotationRule.java +++ b/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/checks/AvoidAnnotationRule.java @@ -1,21 +1,6 @@ /* - * SonarQube Java - * Copyright (C) 2012-2021 SonarSource SA - * 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. - * - * This program is distributed in the hope 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. - * - * 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. + * Copyright (C) 2012-2021 SonarSource SA - mailto:info AT sonarsource DOT com + * This code is released under [MIT No Attribution](https://opensource.org/licenses/MIT-0) license. */ package org.sonar.samples.java.checks; diff --git a/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/checks/AvoidBrandInMethodNamesRule.java b/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/checks/AvoidBrandInMethodNamesRule.java index 0de77dab8c5..6b0f756e6bc 100644 --- a/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/checks/AvoidBrandInMethodNamesRule.java +++ b/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/checks/AvoidBrandInMethodNamesRule.java @@ -1,21 +1,6 @@ /* - * SonarQube Java - * Copyright (C) 2012-2021 SonarSource SA - * 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. - * - * This program is distributed in the hope 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. - * - * 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. + * Copyright (C) 2012-2021 SonarSource SA - mailto:info AT sonarsource DOT com + * This code is released under [MIT No Attribution](https://opensource.org/licenses/MIT-0) license. */ package org.sonar.samples.java.checks; diff --git a/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/checks/AvoidMethodDeclarationRule.java b/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/checks/AvoidMethodDeclarationRule.java index cf9db6e301f..395dad07725 100644 --- a/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/checks/AvoidMethodDeclarationRule.java +++ b/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/checks/AvoidMethodDeclarationRule.java @@ -1,21 +1,6 @@ /* - * SonarQube Java - * Copyright (C) 2012-2021 SonarSource SA - * 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. - * - * This program is distributed in the hope 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. - * - * 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. + * Copyright (C) 2012-2021 SonarSource SA - mailto:info AT sonarsource DOT com + * This code is released under [MIT No Attribution](https://opensource.org/licenses/MIT-0) license. */ package org.sonar.samples.java.checks; diff --git a/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/checks/AvoidSuperClassRule.java b/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/checks/AvoidSuperClassRule.java index 0826060734f..63295529e57 100644 --- a/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/checks/AvoidSuperClassRule.java +++ b/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/checks/AvoidSuperClassRule.java @@ -1,21 +1,6 @@ /* - * SonarQube Java - * Copyright (C) 2012-2021 SonarSource SA - * 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. - * - * This program is distributed in the hope 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. - * - * 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. + * Copyright (C) 2012-2021 SonarSource SA - mailto:info AT sonarsource DOT com + * This code is released under [MIT No Attribution](https://opensource.org/licenses/MIT-0) license. */ /* * Creation : 20 avr. 2015 diff --git a/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/checks/AvoidTreeListRule.java b/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/checks/AvoidTreeListRule.java index 59bda6e5f63..fab0b3824a0 100644 --- a/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/checks/AvoidTreeListRule.java +++ b/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/checks/AvoidTreeListRule.java @@ -1,21 +1,6 @@ /* - * SonarQube Java - * Copyright (C) 2012-2021 SonarSource SA - * 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. - * - * This program is distributed in the hope 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. - * - * 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. + * Copyright (C) 2012-2021 SonarSource SA - mailto:info AT sonarsource DOT com + * This code is released under [MIT No Attribution](https://opensource.org/licenses/MIT-0) license. */ package org.sonar.samples.java.checks; diff --git a/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/checks/MyCustomSubscriptionRule.java b/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/checks/MyCustomSubscriptionRule.java index 2b53a9f5b39..04f9ae0aa96 100644 --- a/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/checks/MyCustomSubscriptionRule.java +++ b/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/checks/MyCustomSubscriptionRule.java @@ -1,21 +1,6 @@ /* - * SonarQube Java - * Copyright (C) 2012-2021 SonarSource SA - * 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. - * - * This program is distributed in the hope 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. - * - * 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. + * Copyright (C) 2012-2021 SonarSource SA - mailto:info AT sonarsource DOT com + * This code is released under [MIT No Attribution](https://opensource.org/licenses/MIT-0) license. */ package org.sonar.samples.java.checks; diff --git a/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/checks/NoIfStatementInTestsRule.java b/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/checks/NoIfStatementInTestsRule.java index 358255f977e..d80e12cf520 100644 --- a/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/checks/NoIfStatementInTestsRule.java +++ b/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/checks/NoIfStatementInTestsRule.java @@ -1,21 +1,6 @@ /* - * SonarQube Java - * Copyright (C) 2012-2021 SonarSource SA - * 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. - * - * This program is distributed in the hope 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. - * - * 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. + * Copyright (C) 2012-2021 SonarSource SA - mailto:info AT sonarsource DOT com + * This code is released under [MIT No Attribution](https://opensource.org/licenses/MIT-0) license. */ package org.sonar.samples.java.checks; diff --git a/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/checks/SecurityAnnotationMandatoryRule.java b/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/checks/SecurityAnnotationMandatoryRule.java index 7798578ba0c..0518be147a3 100644 --- a/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/checks/SecurityAnnotationMandatoryRule.java +++ b/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/checks/SecurityAnnotationMandatoryRule.java @@ -1,21 +1,6 @@ /* - * SonarQube Java - * Copyright (C) 2012-2021 SonarSource SA - * 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. - * - * This program is distributed in the hope 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. - * - * 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. + * Copyright (C) 2012-2021 SonarSource SA - mailto:info AT sonarsource DOT com + * This code is released under [MIT No Attribution](https://opensource.org/licenses/MIT-0) license. */ package org.sonar.samples.java.checks; diff --git a/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/checks/SpringControllerRequestMappingEntityRule.java b/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/checks/SpringControllerRequestMappingEntityRule.java index 976f4accfe8..93e179724a3 100644 --- a/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/checks/SpringControllerRequestMappingEntityRule.java +++ b/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/checks/SpringControllerRequestMappingEntityRule.java @@ -1,21 +1,6 @@ /* - * SonarQube Java - * Copyright (C) 2012-2021 SonarSource SA - * 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. - * - * This program is distributed in the hope 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. - * - * 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. + * Copyright (C) 2012-2021 SonarSource SA - mailto:info AT sonarsource DOT com + * This code is released under [MIT No Attribution](https://opensource.org/licenses/MIT-0) license. */ package org.sonar.samples.java.checks; diff --git a/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/checks/package-info.java b/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/checks/package-info.java index 3b08dce2c37..a5557816c57 100644 --- a/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/checks/package-info.java +++ b/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/checks/package-info.java @@ -1,20 +1,5 @@ /* - * SonarQube Java - * Copyright (C) 2012-2021 SonarSource SA - * 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. - * - * This program is distributed in the hope 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. - * - * 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. + * Copyright (C) 2012-2021 SonarSource SA - mailto:info AT sonarsource DOT com + * This code is released under [MIT No Attribution](https://opensource.org/licenses/MIT-0) license. */ package org.sonar.samples.java.checks; diff --git a/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/package-info.java b/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/package-info.java index d0378b7b55e..06f8659a8aa 100644 --- a/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/package-info.java +++ b/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/package-info.java @@ -1,20 +1,5 @@ /* - * SonarQube Java - * Copyright (C) 2012-2021 SonarSource SA - * 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. - * - * This program is distributed in the hope 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. - * - * 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. + * Copyright (C) 2012-2021 SonarSource SA - mailto:info AT sonarsource DOT com + * This code is released under [MIT No Attribution](https://opensource.org/licenses/MIT-0) license. */ package org.sonar.samples.java; diff --git a/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/utils/PrinterVisitor.java b/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/utils/PrinterVisitor.java index f238ec36e9c..2e075dd2527 100644 --- a/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/utils/PrinterVisitor.java +++ b/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/utils/PrinterVisitor.java @@ -1,21 +1,6 @@ /* - * SonarQube Java - * Copyright (C) 2012-2021 SonarSource SA - * 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. - * - * This program is distributed in the hope 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. - * - * 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. + * Copyright (C) 2012-2021 SonarSource SA - mailto:info AT sonarsource DOT com + * This code is released under [MIT No Attribution](https://opensource.org/licenses/MIT-0) license. */ package org.sonar.samples.java.utils; diff --git a/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/utils/StringUtils.java b/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/utils/StringUtils.java index ed9c22b77a9..579790ab66f 100644 --- a/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/utils/StringUtils.java +++ b/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/utils/StringUtils.java @@ -1,21 +1,6 @@ /* - * SonarQube Java - * Copyright (C) 2012-2021 SonarSource SA - * 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. - * - * This program is distributed in the hope 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. - * - * 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. + * Copyright (C) 2012-2021 SonarSource SA - mailto:info AT sonarsource DOT com + * This code is released under [MIT No Attribution](https://opensource.org/licenses/MIT-0) license. */ package org.sonar.samples.java.utils; diff --git a/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/utils/package-info.java b/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/utils/package-info.java index da56e9124ea..34ad1eabef1 100644 --- a/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/utils/package-info.java +++ b/docs/java-custom-rules-example/src/main/java/org/sonar/samples/java/utils/package-info.java @@ -1,20 +1,5 @@ /* - * SonarQube Java - * Copyright (C) 2012-2021 SonarSource SA - * 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. - * - * This program is distributed in the hope 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. - * - * 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. + * Copyright (C) 2012-2021 SonarSource SA - mailto:info AT sonarsource DOT com + * This code is released under [MIT No Attribution](https://opensource.org/licenses/MIT-0) license. */ package org.sonar.samples.java.utils; diff --git a/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/MyJavaFileCheckRegistrarTest.java b/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/MyJavaFileCheckRegistrarTest.java index 259495ba89a..ac1ac3f905d 100644 --- a/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/MyJavaFileCheckRegistrarTest.java +++ b/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/MyJavaFileCheckRegistrarTest.java @@ -1,21 +1,6 @@ /* - * SonarQube Java - * Copyright (C) 2012-2021 SonarSource SA - * 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. - * - * This program is distributed in the hope 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. - * - * 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. + * Copyright (C) 2012-2021 SonarSource SA - mailto:info AT sonarsource DOT com + * This code is released under [MIT No Attribution](https://opensource.org/licenses/MIT-0) license. */ package org.sonar.samples.java; diff --git a/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/MyJavaRulesDefinitionTest.java b/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/MyJavaRulesDefinitionTest.java index 5cc0a200583..70a9911dd7f 100644 --- a/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/MyJavaRulesDefinitionTest.java +++ b/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/MyJavaRulesDefinitionTest.java @@ -1,21 +1,6 @@ /* - * SonarQube Java - * Copyright (C) 2012-2021 SonarSource SA - * 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. - * - * This program is distributed in the hope 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. - * - * 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. + * Copyright (C) 2012-2021 SonarSource SA - mailto:info AT sonarsource DOT com + * This code is released under [MIT No Attribution](https://opensource.org/licenses/MIT-0) license. */ package org.sonar.samples.java; diff --git a/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/MyJavaRulesPluginTest.java b/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/MyJavaRulesPluginTest.java index 3e816b920bd..7517101bde3 100644 --- a/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/MyJavaRulesPluginTest.java +++ b/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/MyJavaRulesPluginTest.java @@ -1,21 +1,6 @@ /* - * SonarQube Java - * Copyright (C) 2012-2021 SonarSource SA - * 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. - * - * This program is distributed in the hope 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. - * - * 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. + * Copyright (C) 2012-2021 SonarSource SA - mailto:info AT sonarsource DOT com + * This code is released under [MIT No Attribution](https://opensource.org/licenses/MIT-0) license. */ package org.sonar.samples.java; diff --git a/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/checks/AvoidAnnotationRuleTest.java b/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/checks/AvoidAnnotationRuleTest.java index bd9a628e53b..b9d757474d6 100644 --- a/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/checks/AvoidAnnotationRuleTest.java +++ b/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/checks/AvoidAnnotationRuleTest.java @@ -1,21 +1,6 @@ /* - * SonarQube Java - * Copyright (C) 2012-2021 SonarSource SA - * 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. - * - * This program is distributed in the hope 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. - * - * 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. + * Copyright (C) 2012-2021 SonarSource SA - mailto:info AT sonarsource DOT com + * This code is released under [MIT No Attribution](https://opensource.org/licenses/MIT-0) license. */ package org.sonar.samples.java.checks; diff --git a/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/checks/AvoidBrandInMethodNamesRuleTest.java b/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/checks/AvoidBrandInMethodNamesRuleTest.java index bf256795808..e15531c9af4 100644 --- a/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/checks/AvoidBrandInMethodNamesRuleTest.java +++ b/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/checks/AvoidBrandInMethodNamesRuleTest.java @@ -1,21 +1,6 @@ /* - * SonarQube Java - * Copyright (C) 2012-2021 SonarSource SA - * 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. - * - * This program is distributed in the hope 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. - * - * 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. + * Copyright (C) 2012-2021 SonarSource SA - mailto:info AT sonarsource DOT com + * This code is released under [MIT No Attribution](https://opensource.org/licenses/MIT-0) license. */ package org.sonar.samples.java.checks; diff --git a/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/checks/AvoidMethodDeclarationRuleTest.java b/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/checks/AvoidMethodDeclarationRuleTest.java index 0d53b4e8e72..ad549caf2fc 100644 --- a/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/checks/AvoidMethodDeclarationRuleTest.java +++ b/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/checks/AvoidMethodDeclarationRuleTest.java @@ -1,21 +1,6 @@ /* - * SonarQube Java - * Copyright (C) 2012-2021 SonarSource SA - * 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. - * - * This program is distributed in the hope 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. - * - * 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. + * Copyright (C) 2012-2021 SonarSource SA - mailto:info AT sonarsource DOT com + * This code is released under [MIT No Attribution](https://opensource.org/licenses/MIT-0) license. */ package org.sonar.samples.java.checks; diff --git a/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/checks/AvoidSuperClassRuleTest.java b/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/checks/AvoidSuperClassRuleTest.java index 382f5db201b..f87951eeac9 100644 --- a/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/checks/AvoidSuperClassRuleTest.java +++ b/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/checks/AvoidSuperClassRuleTest.java @@ -1,21 +1,6 @@ /* - * SonarQube Java - * Copyright (C) 2012-2021 SonarSource SA - * 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. - * - * This program is distributed in the hope 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. - * - * 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. + * Copyright (C) 2012-2021 SonarSource SA - mailto:info AT sonarsource DOT com + * This code is released under [MIT No Attribution](https://opensource.org/licenses/MIT-0) license. */ package org.sonar.samples.java.checks; diff --git a/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/checks/AvoidTreeListRuleTest.java b/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/checks/AvoidTreeListRuleTest.java index ec5676209ab..d6512bf95f8 100644 --- a/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/checks/AvoidTreeListRuleTest.java +++ b/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/checks/AvoidTreeListRuleTest.java @@ -1,21 +1,6 @@ /* - * SonarQube Java - * Copyright (C) 2012-2021 SonarSource SA - * 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. - * - * This program is distributed in the hope 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. - * - * 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. + * Copyright (C) 2012-2021 SonarSource SA - mailto:info AT sonarsource DOT com + * This code is released under [MIT No Attribution](https://opensource.org/licenses/MIT-0) license. */ package org.sonar.samples.java.checks; diff --git a/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/checks/MyCustomSubscriptionRuleTest.java b/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/checks/MyCustomSubscriptionRuleTest.java index a7f34536978..cd26d92054f 100644 --- a/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/checks/MyCustomSubscriptionRuleTest.java +++ b/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/checks/MyCustomSubscriptionRuleTest.java @@ -1,21 +1,6 @@ /* - * SonarQube Java - * Copyright (C) 2012-2021 SonarSource SA - * 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. - * - * This program is distributed in the hope 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. - * - * 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. + * Copyright (C) 2012-2021 SonarSource SA - mailto:info AT sonarsource DOT com + * This code is released under [MIT No Attribution](https://opensource.org/licenses/MIT-0) license. */ package org.sonar.samples.java.checks; diff --git a/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/checks/NoIfStatementInTestsRuleTest.java b/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/checks/NoIfStatementInTestsRuleTest.java index 2220a9efb7e..e69a81d1b53 100644 --- a/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/checks/NoIfStatementInTestsRuleTest.java +++ b/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/checks/NoIfStatementInTestsRuleTest.java @@ -1,21 +1,6 @@ /* - * SonarQube Java - * Copyright (C) 2012-2021 SonarSource SA - * 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. - * - * This program is distributed in the hope 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. - * - * 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. + * Copyright (C) 2012-2021 SonarSource SA - mailto:info AT sonarsource DOT com + * This code is released under [MIT No Attribution](https://opensource.org/licenses/MIT-0) license. */ package org.sonar.samples.java.checks; diff --git a/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/checks/SecurityAnnotationMandatoryRuleTest.java b/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/checks/SecurityAnnotationMandatoryRuleTest.java index 32a6407de89..4aaaffa84ab 100644 --- a/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/checks/SecurityAnnotationMandatoryRuleTest.java +++ b/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/checks/SecurityAnnotationMandatoryRuleTest.java @@ -1,21 +1,6 @@ /* - * SonarQube Java - * Copyright (C) 2012-2021 SonarSource SA - * 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. - * - * This program is distributed in the hope 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. - * - * 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. + * Copyright (C) 2012-2021 SonarSource SA - mailto:info AT sonarsource DOT com + * This code is released under [MIT No Attribution](https://opensource.org/licenses/MIT-0) license. */ package org.sonar.samples.java.checks; diff --git a/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/checks/SpringControllerRequestMappingEntityRuleTest.java b/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/checks/SpringControllerRequestMappingEntityRuleTest.java index 813ac2c3463..5cae13c2dc9 100644 --- a/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/checks/SpringControllerRequestMappingEntityRuleTest.java +++ b/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/checks/SpringControllerRequestMappingEntityRuleTest.java @@ -1,21 +1,6 @@ /* - * SonarQube Java - * Copyright (C) 2012-2021 SonarSource SA - * 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. - * - * This program is distributed in the hope 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. - * - * 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. + * Copyright (C) 2012-2021 SonarSource SA - mailto:info AT sonarsource DOT com + * This code is released under [MIT No Attribution](https://opensource.org/licenses/MIT-0) license. */ package org.sonar.samples.java.checks; diff --git a/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/utils/FilesUtils.java b/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/utils/FilesUtils.java index e0570745c8c..0662d7266d7 100644 --- a/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/utils/FilesUtils.java +++ b/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/utils/FilesUtils.java @@ -1,21 +1,6 @@ /* - * SonarQube Java - * Copyright (C) 2012-2021 SonarSource SA - * 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. - * - * This program is distributed in the hope 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. - * - * 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. + * Copyright (C) 2012-2021 SonarSource SA - mailto:info AT sonarsource DOT com + * This code is released under [MIT No Attribution](https://opensource.org/licenses/MIT-0) license. */ package org.sonar.samples.java.utils; diff --git a/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/utils/StringUtilsTest.java b/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/utils/StringUtilsTest.java index 38f08b916cf..b091961da1a 100644 --- a/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/utils/StringUtilsTest.java +++ b/docs/java-custom-rules-example/src/test/java/org/sonar/samples/java/utils/StringUtilsTest.java @@ -1,21 +1,6 @@ /* - * SonarQube Java - * Copyright (C) 2012-2021 SonarSource SA - * 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. - * - * This program is distributed in the hope 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. - * - * 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. + * Copyright (C) 2012-2021 SonarSource SA - mailto:info AT sonarsource DOT com + * This code is released under [MIT No Attribution](https://opensource.org/licenses/MIT-0) license. */ package org.sonar.samples.java.utils;