adde licence in selector
This commit is contained in:
parent
4ae0e5aad5
commit
cd7a8e6a75
@ -1,3 +1,22 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2016 Didier Clermonté <dclermonte@april.org>
|
||||||
|
* Copyright (C) 2016 Christian Pierre Momon <christian.momon@devinsy.fr>
|
||||||
|
*
|
||||||
|
* 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 <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
package org.dclermonte.siba.gui;
|
package org.dclermonte.siba.gui;
|
||||||
|
|
||||||
import java.awt.Color;
|
import java.awt.Color;
|
||||||
|
@ -1,3 +1,22 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2016 Didier Clermonté <dclermonte@april.org>
|
||||||
|
* Copyright (C) 2016 Christian Pierre Momon <christian.momon@devinsy.fr>
|
||||||
|
*
|
||||||
|
* 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 <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
package org.dclermonte.siba.gui;
|
package org.dclermonte.siba.gui;
|
||||||
|
|
||||||
import java.awt.Color;
|
import java.awt.Color;
|
||||||
|
@ -1,3 +1,22 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2016 Didier Clermonté <dclermonte@april.org>
|
||||||
|
* Copyright (C) 2016 Christian Pierre Momon <christian.momon@devinsy.fr>
|
||||||
|
*
|
||||||
|
* 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 <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
package org.dclermonte.siba.gui;
|
package org.dclermonte.siba.gui;
|
||||||
|
|
||||||
import java.awt.Color;
|
import java.awt.Color;
|
||||||
|
@ -40,7 +40,7 @@ import org.apache.commons.io.IOUtils;
|
|||||||
*/
|
*/
|
||||||
public final class SibaUtils
|
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);
|
IOUtils.closeQuietly(in);
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
@ -267,6 +268,7 @@ public final class SibaUtils
|
|||||||
URL url = SibaUtils.class.getResource(resource);
|
URL url = SibaUtils.class.getResource(resource);
|
||||||
result = IOUtils.toString(url, DEFAULT_CHARSET);
|
result = IOUtils.toString(url, DEFAULT_CHARSET);
|
||||||
|
|
||||||
|
//
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user