mirror of
https://github.com/apache/openjpa.git
synced 2025-02-21 01:15:30 +00:00
OPENJPA-1700 FindBugs - ignore this warning and rollback previous changes in r956705
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@956959 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e3075014f3
commit
ee314e9586
@ -4620,7 +4620,9 @@ public class DBDictionary
|
||||
// initialize the error codes
|
||||
SQLErrorCodeReader codeReader = new SQLErrorCodeReader();
|
||||
String rsrc = "sql-error-state-codes.xml";
|
||||
InputStream stream = DBDictionary.class.getResourceAsStream(rsrc);
|
||||
// We'll allow sub-classes to override the stream for custom err codes
|
||||
// @edu.umd.cs.findbugs.annotations.SuppressWarnings(value={"UI"})
|
||||
InputStream stream = getClass().getResourceAsStream(rsrc);
|
||||
String dictionaryClassName = getClass().getName();
|
||||
if (stream == null) { // User supplied dictionary but no error codes xml
|
||||
// use default
|
||||
|
Loading…
x
Reference in New Issue
Block a user