code hint fixes

This commit is contained in:
2015-01-18 22:49:59 +01:00
parent ade56d45a2
commit e4e9676081
25 changed files with 136 additions and 147 deletions
@@ -1,16 +1,16 @@
/*
* Copyright (C) 2010-2015 JPEXS
*
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU 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 General Public License for more details.
*
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
@@ -65,8 +65,8 @@ public class LicenseUpdater {
You should have received a copy of the GNU Lesser General Public
License along with this library.
*/
int defaultStartYear = 2010;
int defaultFinalYear = 2015;
@@ -137,11 +137,8 @@ public class LicenseUpdater {
} catch (IOException ex) {
}
FileOutputStream fos;
try {
fos = new FileOutputStream(f);
try (FileOutputStream fos = new FileOutputStream(f)) {
fos.write(baos.toByteArray());
fos.close();
} catch (IOException ex) {
}
}