From cd7a8e6a75f3d65bee0ae17e543be0ec66a73b1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Clermont=C3=A9?= Date: Sat, 20 Aug 2016 19:15:11 +0200 Subject: [PATCH] adde licence in selector --- .../siba/gui/CheckDirectorySelector.java | 19 +++++++++++++++++++ .../siba/gui/SourceDirectorySelector.java | 19 +++++++++++++++++++ .../siba/gui/TargetDirectorySelector.java | 19 +++++++++++++++++++ src/org/dclermonte/siba/model/SibaUtils.java | 4 +++- 4 files changed, 60 insertions(+), 1 deletion(-) diff --git a/src/org/dclermonte/siba/gui/CheckDirectorySelector.java b/src/org/dclermonte/siba/gui/CheckDirectorySelector.java index 693ede0..e32f3fe 100644 --- a/src/org/dclermonte/siba/gui/CheckDirectorySelector.java +++ b/src/org/dclermonte/siba/gui/CheckDirectorySelector.java @@ -1,3 +1,22 @@ +/* + * Copyright (C) 2016 Didier Clermonté + * Copyright (C) 2016 Christian Pierre Momon + * + * This file is part of Siba. + * + * Siba is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero 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 Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ package org.dclermonte.siba.gui; import java.awt.Color; diff --git a/src/org/dclermonte/siba/gui/SourceDirectorySelector.java b/src/org/dclermonte/siba/gui/SourceDirectorySelector.java index b5ea86b..8671523 100644 --- a/src/org/dclermonte/siba/gui/SourceDirectorySelector.java +++ b/src/org/dclermonte/siba/gui/SourceDirectorySelector.java @@ -1,3 +1,22 @@ +/* + * Copyright (C) 2016 Didier Clermonté + * Copyright (C) 2016 Christian Pierre Momon + * + * This file is part of Siba. + * + * Siba is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero 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 Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ package org.dclermonte.siba.gui; import java.awt.Color; diff --git a/src/org/dclermonte/siba/gui/TargetDirectorySelector.java b/src/org/dclermonte/siba/gui/TargetDirectorySelector.java index 3ba2f4c..7e96153 100644 --- a/src/org/dclermonte/siba/gui/TargetDirectorySelector.java +++ b/src/org/dclermonte/siba/gui/TargetDirectorySelector.java @@ -1,3 +1,22 @@ +/* + * Copyright (C) 2016 Didier Clermonté + * Copyright (C) 2016 Christian Pierre Momon + * + * This file is part of Siba. + * + * Siba is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero 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 Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ package org.dclermonte.siba.gui; import java.awt.Color; diff --git a/src/org/dclermonte/siba/model/SibaUtils.java b/src/org/dclermonte/siba/model/SibaUtils.java index 124b02a..59d16a5 100644 --- a/src/org/dclermonte/siba/model/SibaUtils.java +++ b/src/org/dclermonte/siba/model/SibaUtils.java @@ -40,7 +40,7 @@ import org.apache.commons.io.IOUtils; */ public final class SibaUtils { - static final String DEFAULT_CHARSET = "UTF-8"; + public static final String DEFAULT_CHARSET = "UTF-8"; /** * @@ -145,6 +145,7 @@ public final class SibaUtils { IOUtils.closeQuietly(in); } + // return result; } @@ -267,6 +268,7 @@ public final class SibaUtils URL url = SibaUtils.class.getResource(resource); result = IOUtils.toString(url, DEFAULT_CHARSET); + // return result; }