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
|
* @author TIP
|
||||||
*/
|
*/
|
||||||
public class XMLSikevaDB {
|
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.
|
* Saves a net in a file.
|
||||||
|
@ -85,7 +85,7 @@ public class XMLSikevaDB {
|
||||||
* @param file
|
* @param file
|
||||||
* @return
|
* @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;
|
// XMLReader in = null;
|
||||||
// try {
|
// try {
|
||||||
|
@ -106,7 +106,7 @@ public class XMLSikevaDB {
|
||||||
* @throws XMLStreamException
|
* @throws XMLStreamException
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
static public Element readElement(final XMLReader in) throws XMLStreamException, XMLBadFormatException {
|
public static Element readElement(final XMLReader in) throws XMLStreamException, XMLBadFormatException {
|
||||||
Element result;
|
Element result;
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -157,7 +157,7 @@ public class XMLSikevaDB {
|
||||||
* @param in
|
* @param in
|
||||||
* @throws Exception
|
* @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");
|
XMLTag list = in.readListTag("elements");
|
||||||
|
@ -184,7 +184,7 @@ public class XMLSikevaDB {
|
||||||
* @param source
|
* @param source
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
static public void write(final XMLWriter out, final Element source) {
|
public static void write(final XMLWriter out, final Element source) {
|
||||||
|
|
||||||
if (out == null) {
|
if (out == null) {
|
||||||
throw new NullPointerException("out is null.");
|
throw new NullPointerException("out is null.");
|
||||||
|
@ -225,7 +225,7 @@ public class XMLSikevaDB {
|
||||||
* @param source
|
* @param source
|
||||||
* @throws Exception
|
* @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) {
|
if (out == null) {
|
||||||
throw new NullPointerException("out is null.");
|
throw new NullPointerException("out is null.");
|
||||||
|
|
Loading…
Reference in a new issue