Migrated Eclipse configuration to Java 8. Upgraded jar files.

This commit is contained in:
Christian P. MOMON 2018-05-31 09:24:12 +02:00
parent 64617c5e46
commit aa15b27c35
38 changed files with 36 additions and 40 deletions

View file

@ -3,18 +3,17 @@
<classpathentry kind="src" path="src"/> <classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="test"/> <classpathentry kind="src" path="test"/>
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/> <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
<classpathentry kind="lib" path="lib/commons-lang3-3.1.jar" sourcepath="lib/commons-lang3-3.1-sources.jar"/>
<classpathentry kind="lib" path="lib/joda-time-2.3.jar" sourcepath="lib/joda-time-2.3-sources.jar"/>
<classpathentry kind="lib" path="lib/Logs/log4j-1.2.17.jar" sourcepath="lib/Logs/log4j-1.2.17-source.zip"/> <classpathentry kind="lib" path="lib/Logs/log4j-1.2.17.jar" sourcepath="lib/Logs/log4j-1.2.17-source.zip"/>
<classpathentry kind="lib" path="lib/Logs/slf4j-api-1.7.5.jar" sourcepath="lib/Logs/slf4j-api-1.7.5-sources.jar"/>
<classpathentry kind="lib" path="lib/Logs/slf4j-log4j12-1.7.5.jar" sourcepath="lib/Logs/slf4j-log4j12-1.7.5-sources.jar"/>
<classpathentry kind="lib" path="lib/UnitTesting/hamcrest-core-1.3.jar" sourcepath="lib/UnitTesting/hamcrest-core-1.3-sources.jar"/> <classpathentry kind="lib" path="lib/UnitTesting/hamcrest-core-1.3.jar" sourcepath="lib/UnitTesting/hamcrest-core-1.3-sources.jar"/>
<classpathentry kind="lib" path="lib/UnitTesting/junit-4.11.jar" sourcepath="lib/UnitTesting/junit-4.11-sources.jar"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
<classpathentry kind="lib" path="lib/devinsy-strings-0.4.4.jar" sourcepath="lib/devinsy-strings-0.4.4-sources.zip"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6">
<attributes> <attributes>
<attribute name="owner.project.facets" value="java"/> <attribute name="owner.project.facets" value="java"/>
</attributes> </attributes>
</classpathentry> </classpathentry>
<classpathentry kind="lib" path="lib/Logs/slf4j-api-1.7.25.jar" sourcepath="lib/Logs/slf4j-api-1.7.25-sources.jar"/>
<classpathentry kind="lib" path="lib/Logs/slf4j-log4j12-1.7.25.jar" sourcepath="lib/Logs/slf4j-log4j12-1.7.25-sources.jar"/>
<classpathentry kind="lib" path="lib/commons-lang3-3.7.jar" sourcepath="lib/commons-lang3-3.7-sources.jar"/>
<classpathentry kind="lib" path="lib/devinsy-strings-0.8.1.jar" sourcepath="lib/devinsy-strings-0.8.1-sources.zip"/>
<classpathentry kind="lib" path="lib/UnitTesting/junit-4.12.jar" sourcepath="lib/UnitTesting/junit-4.12-sources.jar"/>
<classpathentry kind="output" path="bin"/> <classpathentry kind="output" path="bin"/>
</classpath> </classpath>

View file

@ -10,15 +10,15 @@ org.eclipse.jdt.core.codeComplete.staticFieldSuffixes=
org.eclipse.jdt.core.codeComplete.staticFinalFieldPrefixes= org.eclipse.jdt.core.codeComplete.staticFinalFieldPrefixes=
org.eclipse.jdt.core.codeComplete.staticFinalFieldSuffixes= org.eclipse.jdt.core.codeComplete.staticFinalFieldSuffixes=
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.6 org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.debug.lineNumber=generate org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.6 org.eclipse.jdt.core.compiler.source=1.8
org.eclipse.jdt.core.formatter.align_type_members_on_columns=false org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0

View file

@ -2,6 +2,6 @@
<faceted-project> <faceted-project>
<fixed facet="jst.java"/> <fixed facet="jst.java"/>
<fixed facet="jst.utility"/> <fixed facet="jst.utility"/>
<installed facet="jst.java" version="6.0"/>
<installed facet="jst.utility" version="1.0"/> <installed facet="jst.utility" version="1.0"/>
<installed facet="jst.java" version="1.8"/>
</faceted-project> </faceted-project>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
lib/commons-lang3-3.7.jar Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2013-2014,2017 Christian Pierre MOMON * Copyright (C) 2013-2014,2017-2018 Christian Pierre MOMON
* *
* This file is part of Devinsy-xml. * This file is part of Devinsy-xml.
* *

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2013-2014,2017 Christian Pierre MOMON * Copyright (C) 2013-2014,2017-2018 Christian Pierre MOMON
* *
* This file is part of Devinsy-xml. * This file is part of Devinsy-xml.
* *
@ -76,8 +76,8 @@ public class XMLAttributes extends HashMap<String, XMLAttribute> implements Iter
} }
/** /**
* Instantiates a new XML attributes from a string array. Strings are series * Instantiates a new XML attributes from a string array. Strings are series of
* of label and value. This constructor is a helper. * label and value. This constructor is a helper.
* *
* @param source * @param source
* the source * the source

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2013-2014,2017 Christian Pierre MOMON * Copyright (C) 2013-2014,2017-2018 Christian Pierre MOMON
* *
* This file is part of Devinsy-xml. * This file is part of Devinsy-xml.
* *

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2013-2014,2017 Christian Pierre MOMON * Copyright (C) 2013-2014,2017-2018 Christian Pierre MOMON
* *
* This file is part of Devinsy-xml. * This file is part of Devinsy-xml.
* *
@ -35,7 +35,7 @@ import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import fr.devinsy.util.strings.StringList; import fr.devinsy.strings.StringList;
import fr.devinsy.xml.XMLTag.TagType; import fr.devinsy.xml.XMLTag.TagType;
/** /**
@ -422,8 +422,8 @@ public class XMLReader
* <li>START_ELEMENT(X) + START_ELEMENT(Y) => <X><Y> => START TAG * <li>START_ELEMENT(X) + START_ELEMENT(Y) => <X><Y> => START TAG
* <li>START_ELEMENT(X) + CHARACTERS(C) + START_ELEMENT(Y) => <X>SPACES<Y>=> * <li>START_ELEMENT(X) + CHARACTERS(C) + START_ELEMENT(Y) => <X>SPACES<Y>=>
* START TAG * START TAG
* <li>START_ELEMENT(X) + CHARACTERS(C) + END_ELEMENT(X) => <X>C</X> => * <li>START_ELEMENT(X) + CHARACTERS(C) + END_ELEMENT(X) => <X>C</X> => CONTENT
* CONTENT TAG * TAG
* <li>START_ELEMENT(X) + END_ELEMENT(X) => <X></X> => <X/> => EMPTY * <li>START_ELEMENT(X) + END_ELEMENT(X) => <X></X> => <X/> => EMPTY
* <li>END_ELEMENT(X) => </X> => END TAG * <li>END_ELEMENT(X) => </X> => END TAG
* <li>END_DOCUMENT => FOOTER TAG * <li>END_DOCUMENT => FOOTER TAG

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2013-2014,2017 Christian Pierre MOMON * Copyright (C) 2013-2014,2017-2018 Christian Pierre MOMON
* *
* This file is part of Devinsy-xml. * This file is part of Devinsy-xml.
* *

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2013-2014,2017 Christian Pierre MOMON * Copyright (C) 2013-2014,2017-2018 Christian Pierre MOMON
* *
* This file is part of Devinsy-xml. * This file is part of Devinsy-xml.
* *
@ -40,7 +40,7 @@ import org.apache.commons.lang3.StringUtils;
import org.xml.sax.InputSource; import org.xml.sax.InputSource;
import org.xml.sax.SAXException; import org.xml.sax.SAXException;
import fr.devinsy.util.strings.StringList; import fr.devinsy.strings.StringList;
/** /**
* The Class XMLTools. * The Class XMLTools.

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2013-2014,2017 Christian Pierre MOMON * Copyright (C) 2013-2014,2017-2018 Christian Pierre MOMON
* *
* This file is part of Devinsy-xml. * This file is part of Devinsy-xml.
* *
@ -28,8 +28,8 @@ import java.io.PrintWriter;
import java.io.UnsupportedEncodingException; import java.io.UnsupportedEncodingException;
import java.io.Writer; import java.io.Writer;
import fr.devinsy.util.strings.StringList; import fr.devinsy.strings.StringList;
import fr.devinsy.util.strings.StringListWriter; import fr.devinsy.strings.StringListWriter;
/** /**
* The Class XMLWriter. * The Class XMLWriter.
@ -324,8 +324,8 @@ public class XMLWriter
} }
/** /**
* This method write a XML tag with attributes and content data. Content * This method write a XML tag with attributes and content data. Content data
* data are converted in XML format. * are converted in XML format.
* *
* @param label * @param label
* the label * the label

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2013-2014,2017 Christian Pierre MOMON * Copyright (C) 2013-2014,2017-2018 Christian Pierre MOMON
* *
* This file is part of Devinsy-xml. * This file is part of Devinsy-xml.
* *

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2013-2014,2017 Christian Pierre MOMON * Copyright (C) 2013-2014,2017-2018 Christian Pierre MOMON
* *
* This file is part of Devinsy-xml. * This file is part of Devinsy-xml.
* *

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2017 Christian Pierre MOMON * Copyright (C) 2017-2018 Christian Pierre MOMON
* *
* This file is part of Devinsy-xml. * This file is part of Devinsy-xml.
* *

View file

@ -1,7 +1,5 @@
package foo;
/* /*
* Copyright (C) 2013-2014,2017 Christian Pierre MOMON * Copyright (C) 2013-2014,2017-2018 Christian Pierre MOMON
* *
* This file is part of Devinsy-xml. * This file is part of Devinsy-xml.
* *
@ -18,6 +16,8 @@ package foo;
* You should have received a copy of the GNU Lesser General Public License * You should have received a copy of the GNU Lesser General Public License
* along with Devinsy-xml. If not, see <http://www.gnu.org/licenses/> * along with Devinsy-xml. If not, see <http://www.gnu.org/licenses/>
*/ */
package foo;
import javax.xml.stream.XMLEventReader; import javax.xml.stream.XMLEventReader;
import javax.xml.stream.XMLInputFactory; import javax.xml.stream.XMLInputFactory;
import javax.xml.stream.events.XMLEvent; import javax.xml.stream.events.XMLEvent;

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2014,2017 Christian Pierre MOMON * Copyright (C) 2014,2017-2018 Christian Pierre MOMON
* *
* This file is part of Devinsy-xml. * This file is part of Devinsy-xml.
* *
@ -28,10 +28,7 @@ import org.apache.log4j.Level;
import org.apache.log4j.Logger; import org.apache.log4j.Logger;
import org.junit.Before; import org.junit.Before;
import fr.devinsy.util.strings.StringList; import fr.devinsy.strings.StringList;
import fr.devinsy.xml.XMLBadFormatException;
import fr.devinsy.xml.XMLReader;
import fr.devinsy.xml.XMLTag;
/** /**
* The Class XMLReaderTest. * The Class XMLReaderTest.

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2014,2017 Christian Pierre MOMON * Copyright (C) 2014,2017-2018 Christian Pierre MOMON
* *
* This file is part of Devinsy-xml. * This file is part of Devinsy-xml.
* *