Sonar fix.
This commit is contained in:
parent
b079036f1d
commit
94cadc42f1
1 changed files with 6 additions and 6 deletions
|
@ -23,7 +23,7 @@ import fr.devinsy.util.xml.XMLZipWriter;
|
|||
* @author TIP
|
||||
*/
|
||||
public class XMLSikevaDB {
|
||||
static private final Logger logger = LoggerFactory.getLogger(XMLSikevaDB.class);
|
||||
private static final Logger logger = LoggerFactory.getLogger(XMLSikevaDB.class);
|
||||
|
||||
/**
|
||||
* Saves a net in a file.
|
||||
|
@ -85,7 +85,7 @@ public class XMLSikevaDB {
|
|||
* @param file
|
||||
* @return
|
||||
*/
|
||||
static public void importData(final SikevaDB database, final File file) throws Exception {
|
||||
public static void importData(final SikevaDB database, final File file) throws Exception {
|
||||
|
||||
// XMLReader in = null;
|
||||
// try {
|
||||
|
@ -106,7 +106,7 @@ public class XMLSikevaDB {
|
|||
* @throws XMLStreamException
|
||||
* @throws Exception
|
||||
*/
|
||||
static public Element readElement(final XMLReader in) throws XMLStreamException, XMLBadFormatException {
|
||||
public static Element readElement(final XMLReader in) throws XMLStreamException, XMLBadFormatException {
|
||||
Element result;
|
||||
|
||||
//
|
||||
|
@ -157,7 +157,7 @@ public class XMLSikevaDB {
|
|||
* @param in
|
||||
* @throws Exception
|
||||
*/
|
||||
static public void readElements(final SikevaDB target, final XMLReader in) throws Exception {
|
||||
public static void readElements(final SikevaDB target, final XMLReader in) throws Exception {
|
||||
|
||||
//
|
||||
XMLTag list = in.readListTag("elements");
|
||||
|
@ -184,7 +184,7 @@ public class XMLSikevaDB {
|
|||
* @param source
|
||||
* @return
|
||||
*/
|
||||
static public void write(final XMLWriter out, final Element source) {
|
||||
public static void write(final XMLWriter out, final Element source) {
|
||||
|
||||
if (out == null) {
|
||||
throw new NullPointerException("out is null.");
|
||||
|
@ -225,7 +225,7 @@ public class XMLSikevaDB {
|
|||
* @param source
|
||||
* @throws Exception
|
||||
*/
|
||||
static public void write(final XMLWriter out, final SikevaDB source) throws Exception {
|
||||
public static void write(final XMLWriter out, final SikevaDB source) throws Exception {
|
||||
|
||||
if (out == null) {
|
||||
throw new NullPointerException("out is null.");
|
||||
|
|
Loading…
Reference in a new issue