Removed unnecessary warning suppressions

This commit is contained in:
Lukas Eder 2012-12-02 10:33:20 +01:00
parent 1adbf989e1
commit dff2ca12a3
2 changed files with 0 additions and 3 deletions

View File

@ -68,7 +68,6 @@ import org.joox.Match;
*
* @author Lukas Eder
*/
@SuppressWarnings("resource")
public class Transform {
private static final FopFactory fopFactory = FopFactory.newInstance();
private static final String version = "3.0";

View File

@ -61,7 +61,6 @@ public final class SettingsTools {
if (property != null) {
// Check classpath first
@SuppressWarnings("resource")
InputStream in = SettingsTools.class.getResourceAsStream(property);
if (in != null) {
settings = JAXB.unmarshal(in, Settings.class);
@ -72,7 +71,6 @@ public final class SettingsTools {
}
if (settings == null) {
@SuppressWarnings("resource")
InputStream in = SettingsTools.class.getResourceAsStream("/jooq-settings.xml");
if (in != null) {