Removed unnecessary warning suppressions
This commit is contained in:
parent
1adbf989e1
commit
dff2ca12a3
@ -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";
|
||||
|
||||
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user