From 2832b0fa692876b12463c4e7aa79462129fcc4b9 Mon Sep 17 00:00:00 2001
From: Tor-Einar Skog <tor-einar.skog@nibio.no>
Date: Wed, 29 Nov 2023 12:26:41 +0100
Subject: [PATCH] Update license to GNU Affero GPL v3

---
 .../NegativePrognosisModel.java               | 34 ++++++++++---------
 1 file changed, 18 insertions(+), 16 deletions(-)

diff --git a/src/main/java/no/nibio/vips/model/negativeprognosismodel/NegativePrognosisModel.java b/src/main/java/no/nibio/vips/model/negativeprognosismodel/NegativePrognosisModel.java
index 9e0a467..0e92a40 100755
--- a/src/main/java/no/nibio/vips/model/negativeprognosismodel/NegativePrognosisModel.java
+++ b/src/main/java/no/nibio/vips/model/negativeprognosismodel/NegativePrognosisModel.java
@@ -156,22 +156,24 @@ public class NegativePrognosisModel extends I18nImpl implements Model{
 
     @Override
     public String getLicense() {
-        return "\n" +
-            "Copyright (c) 2016 NIBIO <http://www.nibio.no/>. \n" +
-            "\n" +
-            "This file is part of NegativePrognosisModel.\n" +
-            "NegativePrognosisModel is free software: you can redistribute it and/or modify\n" +
-            "it under the terms of the NIBIO Open Source License as published by \n" +
-            "NIBIO, either version 1 of the License, or (at your option) any\n" +
-            "later version.\n" +
-            "\n" +
-            "NegativePrognosisModel is distributed in the hope that it will be useful,\n" +
-            "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +
-            "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n" +
-            "NIBIO Open Source License for more details.\n" +
-            "\n" +
-            "You should have received a copy of the NIBIO Open Source License\n" +
-            "along with NegativePrognosisModel.  If not, see <http://www.nibio.no/licenses/>.";
+        return "/*\n" +
+                " * Copyright (c) 2016 NIBIO <http://www.nibio.no/>. \n" +
+                " * \n" +
+                " * This file is part of NegativePrognosisModel.\n" +
+                " * This program is free software: you can redistribute it and/or modify\n" +
+                " * it under the terms of the GNU Affero General Public License as published by\n" +
+                " * the Free Software Foundation, either version 3 of the License, or\n" +
+                " * (at your option) any later version.\n" +
+                " *\n" +
+                " * This program is distributed in the hope that it will be useful,\n" +
+                " * but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +
+                " * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n" +
+                " * GNU Affero General Public License for more details.\n" +
+                " *\n" +
+                " * You should have received a copy of the GNU Affero General Public License\n" +
+                " * along with this program.  If not, see <https://www.gnu.org/licenses/>.\n" +
+                " * \n" +
+                " */";
     }
 
     @Override
-- 
GitLab