From 581128ebba1de6e510e025f7ddd09ef937624184 Mon Sep 17 00:00:00 2001
From: Tor-Einar Skog <tor-einar.skog@bioforsk.no>
Date: Thu, 12 May 2016 09:20:32 +0200
Subject: [PATCH] Added license header

---
 .../grassdryingmodel/GrassDryingModel.java      | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/src/main/java/no/nibio/vips/model/grassdryingmodel/GrassDryingModel.java b/src/main/java/no/nibio/vips/model/grassdryingmodel/GrassDryingModel.java
index 0c1a331..74ff7d5 100644
--- a/src/main/java/no/nibio/vips/model/grassdryingmodel/GrassDryingModel.java
+++ b/src/main/java/no/nibio/vips/model/grassdryingmodel/GrassDryingModel.java
@@ -136,7 +136,22 @@ public class GrassDryingModel  extends I18nImpl implements Model{
 
     @Override
     public String getLicense() {
-        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
+        return "\n" +
+            "Copyright (c) 2014 NIBIO <http://www.nibio.no/>. \n" +
+            "\n" +
+            "This file is part of GrassDryingModel.\n" +
+            "GrassDryingModel 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" +
+            "GrassDryingModel 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 GrassDryingModel.  If not, see <http://www.nibio.no/licenses/>.";
     }
 
     @Override
-- 
GitLab