From 94cadc42f11dd7b0f36f5c1851c77095a170f0b7 Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Sun, 13 Oct 2013 01:12:20 +0200 Subject: [PATCH] Sonar fix. --- src/fr/devinsy/sikevadb/XMLSikevaDB.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/fr/devinsy/sikevadb/XMLSikevaDB.java b/src/fr/devinsy/sikevadb/XMLSikevaDB.java index dac4227..609a0d0 100644 --- a/src/fr/devinsy/sikevadb/XMLSikevaDB.java +++ b/src/fr/devinsy/sikevadb/XMLSikevaDB.java @@ -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.");