Author: tchemit Date: 2010-04-12 15:46:06 +0200 (Mon, 12 Apr 2010) New Revision: 1821 Log: - Evolution #489: Use mavenpom 2.1 and maven-license-plugin 2.1 - Evolution #490: Use junit 4.8.1 - remove H2TypeEnum - use new file headers - clean a little code Added: trunk/src/license/ trunk/src/license/project.xml Removed: trunk/src/main/java/org/nuiton/util/H2TypeEnum.java Modified: trunk/pom.xml trunk/src/main/java/org/nuiton/util/ApplicationConfig.java trunk/src/main/java/org/nuiton/util/ArgumentsParserException.java trunk/src/main/java/org/nuiton/util/ArrayUtil.java trunk/src/main/java/org/nuiton/util/BoundedList.java trunk/src/main/java/org/nuiton/util/BoundedListOutOfBoundsException.java trunk/src/main/java/org/nuiton/util/CallAnalyse.java trunk/src/main/java/org/nuiton/util/CardinalityHelper.java trunk/src/main/java/org/nuiton/util/CategorisedListenerSet.java trunk/src/main/java/org/nuiton/util/ClassLoaderUtil.java trunk/src/main/java/org/nuiton/util/CollectionUtil.java trunk/src/main/java/org/nuiton/util/ConverterUtil.java trunk/src/main/java/org/nuiton/util/DateUtils.java trunk/src/main/java/org/nuiton/util/DigestGenerator.java trunk/src/main/java/org/nuiton/util/EnumConverter.java trunk/src/main/java/org/nuiton/util/ExceptionUtil.java trunk/src/main/java/org/nuiton/util/FasterCachedResourceResolver.java trunk/src/main/java/org/nuiton/util/FileCompletion.java trunk/src/main/java/org/nuiton/util/FileUtil.java trunk/src/main/java/org/nuiton/util/FormatConverter.java trunk/src/main/java/org/nuiton/util/FormatConverterFactory.java trunk/src/main/java/org/nuiton/util/FormatMap.java trunk/src/main/java/org/nuiton/util/GZUtil.java trunk/src/main/java/org/nuiton/util/GZUtilException.java trunk/src/main/java/org/nuiton/util/HashList.java trunk/src/main/java/org/nuiton/util/LRUMapMultiKey.java trunk/src/main/java/org/nuiton/util/ListenerSet.java trunk/src/main/java/org/nuiton/util/Log.java trunk/src/main/java/org/nuiton/util/LoggingException.java trunk/src/main/java/org/nuiton/util/LoggingPatternFormatter.java trunk/src/main/java/org/nuiton/util/MD5InputStream.java trunk/src/main/java/org/nuiton/util/MD5OutputStream.java trunk/src/main/java/org/nuiton/util/MonthEnum.java trunk/src/main/java/org/nuiton/util/ObjectUtil.java trunk/src/main/java/org/nuiton/util/PeriodDates.java trunk/src/main/java/org/nuiton/util/PropertiesDateRemoveFilterStream.java trunk/src/main/java/org/nuiton/util/RecursiveProperties.java trunk/src/main/java/org/nuiton/util/ReflectUtil.java trunk/src/main/java/org/nuiton/util/Resource.java trunk/src/main/java/org/nuiton/util/ResourceException.java trunk/src/main/java/org/nuiton/util/ResourceNotFoundException.java trunk/src/main/java/org/nuiton/util/ResourceResolver.java trunk/src/main/java/org/nuiton/util/ReverseFileReader.java trunk/src/main/java/org/nuiton/util/SortedProperties.java trunk/src/main/java/org/nuiton/util/StreamKeywordTokenizer.java trunk/src/main/java/org/nuiton/util/StringUtil.java trunk/src/main/java/org/nuiton/util/StringUtilException.java trunk/src/main/java/org/nuiton/util/TransformedList.java trunk/src/main/java/org/nuiton/util/Transformer.java trunk/src/main/java/org/nuiton/util/TransparenteSoftReference.java trunk/src/main/java/org/nuiton/util/TransparenteWeakReference.java trunk/src/main/java/org/nuiton/util/URIConverter.java trunk/src/main/java/org/nuiton/util/URLConverter.java trunk/src/main/java/org/nuiton/util/Version.java trunk/src/main/java/org/nuiton/util/VersionConverter.java trunk/src/main/java/org/nuiton/util/VersionUtil.java trunk/src/main/java/org/nuiton/util/ZipStreamEncoder.java trunk/src/main/java/org/nuiton/util/ZipUtil.java trunk/src/main/java/org/nuiton/util/beans/Binder.java trunk/src/main/java/org/nuiton/util/beans/BinderBuilder.java trunk/src/main/java/org/nuiton/util/beans/BinderModel.java trunk/src/main/java/org/nuiton/util/beans/BinderProvider.java trunk/src/main/java/org/nuiton/util/beans/package-info.java trunk/src/main/java/org/nuiton/util/config/Config.java trunk/src/main/java/org/nuiton/util/config/IdentityConfig.java trunk/src/main/java/org/nuiton/util/config/IdentityConfigProperty.java trunk/src/main/java/org/nuiton/util/config/Property.java trunk/src/main/java/org/nuiton/util/config/SimpleConfig.java trunk/src/main/java/org/nuiton/util/config/SimpleIdentityConfig.java trunk/src/main/java/org/nuiton/util/war/JettyLauncher.java trunk/src/main/java/org/nuiton/util/war/WinstoneLauncher.java trunk/src/main/java/org/nuiton/util/war/package-info.java trunk/src/site/apt/ApplicationConfig.apt trunk/src/site/apt/Warlauncher.apt trunk/src/site/apt/index.apt trunk/src/site/apt/nuitonUtil.apt trunk/src/site/site_fr.xml trunk/src/test/java/org/nuiton/util/ApplicationConfigTest.java trunk/src/test/java/org/nuiton/util/CallAnalyseTest.java trunk/src/test/java/org/nuiton/util/CardinalityHelperTest.java trunk/src/test/java/org/nuiton/util/CategorisedListenerSetTest.java trunk/src/test/java/org/nuiton/util/CollectionUtilTest.java trunk/src/test/java/org/nuiton/util/ConverterUtilTest.java trunk/src/test/java/org/nuiton/util/DateUtilsTest.java trunk/src/test/java/org/nuiton/util/FileCompletionTest.java trunk/src/test/java/org/nuiton/util/FileUtilTest.java trunk/src/test/java/org/nuiton/util/LRUMapMultiKeyTest.java trunk/src/test/java/org/nuiton/util/ListenerSetTest.java trunk/src/test/java/org/nuiton/util/LogTest.java trunk/src/test/java/org/nuiton/util/MD5InputStreamTest.java trunk/src/test/java/org/nuiton/util/ObjectUtilTest.java trunk/src/test/java/org/nuiton/util/PeriodDatesTest.java trunk/src/test/java/org/nuiton/util/RecursivePropertiesTest.java trunk/src/test/java/org/nuiton/util/ResourceTest.java trunk/src/test/java/org/nuiton/util/ReverseFileReaderTest.java trunk/src/test/java/org/nuiton/util/StreamKeywordTokenizerTest.java trunk/src/test/java/org/nuiton/util/StringUtilTest.java trunk/src/test/java/org/nuiton/util/TransparenteReferenceTest.java trunk/src/test/java/org/nuiton/util/UnregistreableConverter.java trunk/src/test/java/org/nuiton/util/VersionConverterTest.java trunk/src/test/java/org/nuiton/util/VersionTest.java trunk/src/test/java/org/nuiton/util/VersionUtilTest.java trunk/src/test/java/org/nuiton/util/ZipUtilTest.java trunk/src/test/java/org/nuiton/util/beans/BeanA.java trunk/src/test/java/org/nuiton/util/beans/BeanB.java trunk/src/test/java/org/nuiton/util/beans/BinderBuilderTest.java trunk/src/test/java/org/nuiton/util/beans/BinderProviderTest.java trunk/src/test/java/org/nuiton/util/beans/BinderTest.java Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/pom.xml 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,6 +1,36 @@ <?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> +<!-- + #%L + Nuiton Utils + $Author$ + $LastChangedDate$ + $LastChangedRevision$ + $Id$ + $HeadURL$ + %% + Copyright (C) 2004 - 2010 CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + +<project xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> <!-- ************************************************************* --> @@ -65,7 +95,7 @@ <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> - <version>4.7</version> + <version>4.8.1</version> <scope>test</scope> </dependency> @@ -135,20 +165,6 @@ </build> - <reporting> - <plugins> - <plugin> - <artifactId>maven-javadoc-plugin</artifactId> - <configuration> - <quiet>true</quiet> - <links> - <link>http://java.sun.com/javase/6/docs/api/</link> - </links> - </configuration> - </plugin> - </plugins> - </reporting> - <!-- ************************************************************* --> <!-- *** Build Environment ************************************** --> <!-- ************************************************************* --> @@ -162,6 +178,31 @@ <profiles> <profile> + <id>reporting</id> + <activation> + <property> + <name>performRelease</name> + <value>true</value> + </property> + </activation> + + <reporting> + <plugins> + <plugin> + <artifactId>maven-javadoc-plugin</artifactId> + <configuration> + <quiet>true</quiet> + <links> + <link>http://java.sun.com/javase/6/docs/api/</link> + </links> + </configuration> + </plugin> + </plugins> + </reporting> + + </profile> + + <profile> <id>release-profile</id> <activation> <property> Added: trunk/src/license/project.xml =================================================================== --- trunk/src/license/project.xml (rev 0) +++ trunk/src/license/project.xml 2010-04-12 13:46:06 UTC (rev 1821) @@ -0,0 +1,69 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!-- + #%L + Nuiton Utils + + $Author$ + $LastChangedDate$ + $LastChangedRevision$ + $Id$ + $HeadURL$ + %% + Copyright (C) 2004 - 2010 CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + +<project xmlns="http://maven-site.nuiton.org/maven-license-plugin/1.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven-site.nuiton.org/maven-license-plugin/1.0.0 http://maven-site.nuiton.org/maven-license-plugin/licenseProjectDescriptor-1.0.0.xsd"> + <mainLicense>lgpl_v3</mainLicense> + + <headers> + + <header> + <commentStyle>java</commentStyle> + <fileSets> + <fileSet> + <basedir>src/main/java</basedir> + <include>**/*.java</include> + </fileSet> + <fileSet> + <basedir>src/test/java</basedir> + <include>**/*.java</include> + </fileSet> + </fileSets> + </header> + + <header> + <commentStyle>apt</commentStyle> + <fileSet> + <basedir>src/site</basedir> + <include>**/*.apt</include> + </fileSet> + </header> + + <header> + <commentStyle>xml</commentStyle> + <fileSet> + <basedir>src/site</basedir> + <include>**/*.xml</include> + </fileSet> + </header> + + </headers> + +</project> Property changes on: trunk/src/license/project.xml ___________________________________________________________________ Added: svn:keywords + "Author Date Id Revision HeadURL Modified: trunk/src/main/java/org/nuiton/util/ApplicationConfig.java =================================================================== --- trunk/src/main/java/org/nuiton/util/ApplicationConfig.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/ApplicationConfig.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,20 +1,32 @@ -/* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ + package org.nuiton.util; import org.apache.commons.beanutils.ConstructorUtils; Modified: trunk/src/main/java/org/nuiton/util/ArgumentsParserException.java =================================================================== --- trunk/src/main/java/org/nuiton/util/ArgumentsParserException.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/ArgumentsParserException.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,19 +1,30 @@ -/* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*/ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ package org.nuiton.util; Modified: trunk/src/main/java/org/nuiton/util/ArrayUtil.java =================================================================== --- trunk/src/main/java/org/nuiton/util/ArrayUtil.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/ArrayUtil.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,20 +1,32 @@ -/* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ + /* * * ArrayUtil.java * Modified: trunk/src/main/java/org/nuiton/util/BoundedList.java =================================================================== --- trunk/src/main/java/org/nuiton/util/BoundedList.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/BoundedList.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,20 +1,32 @@ -/* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ + /* * * BoundedList.java * Modified: trunk/src/main/java/org/nuiton/util/BoundedListOutOfBoundsException.java =================================================================== --- trunk/src/main/java/org/nuiton/util/BoundedListOutOfBoundsException.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/BoundedListOutOfBoundsException.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,19 +1,30 @@ -/* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ /* * * BoundedListOfBoundsException.java Modified: trunk/src/main/java/org/nuiton/util/CallAnalyse.java =================================================================== --- trunk/src/main/java/org/nuiton/util/CallAnalyse.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/CallAnalyse.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,20 +1,32 @@ -/* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ + /* * * CallAnalyse.java * Modified: trunk/src/main/java/org/nuiton/util/CardinalityHelper.java =================================================================== --- trunk/src/main/java/org/nuiton/util/CardinalityHelper.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/CardinalityHelper.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,20 +1,31 @@ -/* -* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ + package org.nuiton.util; import java.util.regex.Matcher; @@ -48,7 +59,7 @@ * disponibles sur une cardianlité à partir d'un nombre d'oocurrence et du max * de la cardinalité. * - * @author tony + * @author tchemit <chemit@codelutin.com> */ public class CardinalityHelper { Modified: trunk/src/main/java/org/nuiton/util/CategorisedListenerSet.java =================================================================== --- trunk/src/main/java/org/nuiton/util/CategorisedListenerSet.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/CategorisedListenerSet.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,20 +1,32 @@ -/* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ + /* * * CategorisedListenerSet.java * Modified: trunk/src/main/java/org/nuiton/util/ClassLoaderUtil.java =================================================================== --- trunk/src/main/java/org/nuiton/util/ClassLoaderUtil.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/ClassLoaderUtil.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,21 +1,31 @@ -/** - * *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% */ + package org.nuiton.util; import org.apache.commons.logging.Log; @@ -32,7 +42,7 @@ /** * A usefull class with method for ClassLoader * - * @author chemit + * @author tchemit <chemit@codelutin.com> */ public class ClassLoaderUtil { Modified: trunk/src/main/java/org/nuiton/util/CollectionUtil.java =================================================================== --- trunk/src/main/java/org/nuiton/util/CollectionUtil.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/CollectionUtil.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,19 +1,30 @@ -/* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ /* * * CollectionUtil.java Modified: trunk/src/main/java/org/nuiton/util/ConverterUtil.java =================================================================== --- trunk/src/main/java/org/nuiton/util/ConverterUtil.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/ConverterUtil.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,20 +1,31 @@ -/* - * *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ + package org.nuiton.util; import java.lang.reflect.Method; @@ -27,7 +38,7 @@ /** * Une classe contenant des méthodes utiles sur les converters et les conversions * - * @author tony + * @author tchemit <chemit@codelutin.com> */ public class ConverterUtil { Modified: trunk/src/main/java/org/nuiton/util/DateUtils.java =================================================================== --- trunk/src/main/java/org/nuiton/util/DateUtils.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/DateUtils.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,32 +1,40 @@ -package org.nuiton.util; - -/** - * *##% Chorem-Commons - * Copyright (C) 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. ##%* + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% */ +package org.nuiton.util; + +import java.text.DateFormat; import java.text.DateFormatSymbols; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import java.util.Locale; -import org.apache.commons.logging.LogFactory; -import org.apache.commons.logging.Log; /** * Library for manipulating dates. @@ -50,7 +58,7 @@ * @param date the date to format * @param pattern the pattern to use * @return a String corresponding to the date formatted - * @see java.text.DateFormat + * @see DateFormat */ public static String formatDate(Date date, String pattern) { SimpleDateFormat simpleDateFormat = new SimpleDateFormat(pattern); @@ -70,7 +78,7 @@ * @param pattern the pattern to use * @return a Date corresponding to the String argument parsed * @throws ParseException for parsing errors - * @see java.text.DateFormat + * @see DateFormat */ public static Date parseDate(String date, String pattern) throws ParseException { SimpleDateFormat simpleDateFormat = new SimpleDateFormat(pattern); @@ -198,7 +206,7 @@ * @param afterDate the second date of the period * @return true if the current date is included between the two dates, * false otherwise - * @see #between(java.util.Date, java.util.Date, java.util.Date) + * @see #between(Date, Date, Date) */ public static boolean currentPeriod(Date beforeDate, Date afterDate) { return between(new Date(), beforeDate, afterDate); @@ -228,7 +236,7 @@ long begin = beginDate.getTime(); long end = endDate.getTime(); // 86400000 = 24 * 60 * 60 * 1000 - return (int) Math.ceil(((end - begin) / 86400000)); + return (int) Math.ceil((end - begin) / 86400000); } /** Modified: trunk/src/main/java/org/nuiton/util/DigestGenerator.java =================================================================== --- trunk/src/main/java/org/nuiton/util/DigestGenerator.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/DigestGenerator.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,22 +1,12 @@ -/** - * *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* - */ /* + * Nuiton Utils %%Ignore-License + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information Modified: trunk/src/main/java/org/nuiton/util/EnumConverter.java =================================================================== --- trunk/src/main/java/org/nuiton/util/EnumConverter.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/EnumConverter.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,20 +1,31 @@ -/* - * *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ + package org.nuiton.util; import org.apache.commons.beanutils.ConversionException; @@ -35,7 +46,7 @@ * méthodes * {@link ConverterUtil#registerEnumConverter(Class)}, * et {@link ConverterUtil#registerEnumConverter(Class,Object)} . * - * @author chemit + * @author tchemit <chemit@codelutin.com> * @see Enum * @see Enum#ordinal() */ Modified: trunk/src/main/java/org/nuiton/util/ExceptionUtil.java =================================================================== --- trunk/src/main/java/org/nuiton/util/ExceptionUtil.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/ExceptionUtil.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,19 +1,30 @@ -/* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ /* * * ExceptionUtil.java Modified: trunk/src/main/java/org/nuiton/util/FasterCachedResourceResolver.java =================================================================== --- trunk/src/main/java/org/nuiton/util/FasterCachedResourceResolver.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/FasterCachedResourceResolver.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,19 +1,31 @@ -/* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*/ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ + package org.nuiton.util; import java.net.URL; Modified: trunk/src/main/java/org/nuiton/util/FileCompletion.java =================================================================== --- trunk/src/main/java/org/nuiton/util/FileCompletion.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/FileCompletion.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,20 +1,29 @@ /* - * *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% */ package org.nuiton.util; Modified: trunk/src/main/java/org/nuiton/util/FileUtil.java =================================================================== --- trunk/src/main/java/org/nuiton/util/FileUtil.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/FileUtil.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,19 +1,30 @@ -/* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ /* * * FileUtil.java @@ -29,6 +40,7 @@ package org.nuiton.util; +import java.awt.Component; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.BufferedReader; @@ -61,12 +73,13 @@ import javax.swing.JFileChooser; +import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; public class FileUtil { // FileUtil /** to use log facility, just put in your code: log.info(\"...\"); */ - static private org.apache.commons.logging.Log log = LogFactory.getLog(FileUtil.class); + static private Log log = LogFactory.getLog(FileUtil.class); /** Encoding par defaut utilisé si non spécifié */ static public String ENCODING = "ISO-8859-1"; @@ -139,7 +152,7 @@ * @return le fichier accepté, ou null si rien n'est chois ou l'utilisateur a annulé * @see #getFile(javax.swing.filechooser.FileFilter[]) */ - static public File getFile(java.awt.Component parent, String... patternOrDescriptionFilters) { + static public File getFile(Component parent, String... patternOrDescriptionFilters) { File result; result = getFile("Ok", "Ok", parent, patternOrDescriptionFilters); return result; @@ -157,7 +170,7 @@ * @return le fichier accepté, ou null si rien n'est chois ou l'utilisateur a annulé * @see #getFile(javax.swing.filechooser.FileFilter[]) */ - static public File getFile(String title, String approvalText,java.awt.Component parent, String... patternOrDescriptionFilters) { + static public File getFile(String title, String approvalText, Component parent, String... patternOrDescriptionFilters) { if (patternOrDescriptionFilters.length % 2 != 0) { throw new IllegalArgumentException("Arguments must be (pattern, description) couple"); @@ -182,7 +195,7 @@ * @param filters les filtres a ajouter * @return le fichier accepté, ou null si rien n'est chois ou l'utilisateur a annulé */ - static public File getFile(java.awt.Component parent, javax.swing.filechooser.FileFilter... filters) { + static public File getFile(Component parent, javax.swing.filechooser.FileFilter... filters) { File result = getFile("Ok", "Ok", parent, filters); return result; } @@ -197,7 +210,7 @@ * @param filters les filtres a ajouter * @return le fichier accepté, ou null si rien n'est chois ou l'utilisateur a annulé */ - static public File getFile(String title, String approvalText, java.awt.Component parent, javax.swing.filechooser.FileFilter... filters) { + static public File getFile(String title, String approvalText, Component parent, javax.swing.filechooser.FileFilter... filters) { try { JFileChooser chooser = new JFileChooser(currentDirectory); @@ -257,7 +270,7 @@ * Si le bouton annuler est utilisé, ou qu'il y a une erreur retourne * null. */ - static public String getDirectory(java.awt.Component parent, String title, String approvalText) { + static public String getDirectory(Component parent, String title, String approvalText) { try { JFileChooser chooser = new JFileChooser(currentDirectory); chooser.setDialogType(JFileChooser.CUSTOM_DIALOG); @@ -422,7 +435,7 @@ * @param tmpdir le répertoire temporaire ou il faut creer le repertoire * si null on utilise java.io.tmpdir * @return le fichier pointant sur le nouveau repertoire - * @throws java.io.IOException if any io pb + * @throws IOException if any io pb */ static public File createTempDirectory(String prefix, String suffix, File tmpdir) throws IOException { if (tmpdir == null) { @@ -445,7 +458,7 @@ * @param prefix le prefix du repertoire a creer * @param suffix le suffix du repertoire a creer. * @return the temprary created file - * @throws java.io.IOException if any io pb + * @throws IOException if any io pb */ static public File createTempDirectory(String prefix, String suffix) throws IOException { return createTempDirectory(prefix, suffix, null); Modified: trunk/src/main/java/org/nuiton/util/FormatConverter.java =================================================================== --- trunk/src/main/java/org/nuiton/util/FormatConverter.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/FormatConverter.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,19 +1,30 @@ -/* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ /* * * FormatConverter.java Modified: trunk/src/main/java/org/nuiton/util/FormatConverterFactory.java =================================================================== --- trunk/src/main/java/org/nuiton/util/FormatConverterFactory.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/FormatConverterFactory.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,19 +1,30 @@ -/* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ /* * * FormatConverterFactory.java @@ -61,7 +72,7 @@ /** to use log facility, just put in your code: log.info(\"...\"); */ static private Log log = LogFactory.getLog(FormatConverterFactory.class); - static protected FormatConverterFactory instance = null; + static protected FormatConverterFactory instance; /** <Class, from, to -> FormatConverter> */ protected MultiKeyMap converters = new MultiKeyMap(); Modified: trunk/src/main/java/org/nuiton/util/FormatMap.java =================================================================== --- trunk/src/main/java/org/nuiton/util/FormatMap.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/FormatMap.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,19 +1,30 @@ -/* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ /* * * FormatMap.java @@ -69,7 +80,7 @@ static public class Format { - protected String name = null; + protected String name; public Format(String name) { this.name = name; @@ -80,7 +91,7 @@ return name; } } - protected Class<?> clazz = null; + protected Class<?> clazz; public FormatMap(Class<?> clazz) { this.clazz = clazz; Modified: trunk/src/main/java/org/nuiton/util/GZUtil.java =================================================================== --- trunk/src/main/java/org/nuiton/util/GZUtil.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/GZUtil.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,19 +1,30 @@ -/* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ /* * * GZUtil.java Modified: trunk/src/main/java/org/nuiton/util/GZUtilException.java =================================================================== --- trunk/src/main/java/org/nuiton/util/GZUtilException.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/GZUtilException.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,19 +1,30 @@ -/* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ /* * * GZUtilException.java Deleted: trunk/src/main/java/org/nuiton/util/H2TypeEnum.java =================================================================== --- trunk/src/main/java/org/nuiton/util/H2TypeEnum.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/H2TypeEnum.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,32 +0,0 @@ -/* -* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ -package org.nuiton.util; - -/** - * Une énumération pour représenter les différentes types d'implantation dans H2 - * - * @author chemit - * @deprecated since 1.2, will be removed soon and not replace. - */ -@Deprecated -public enum H2TypeEnum { - derby, - h2, - hsql, - mckoi -} Modified: trunk/src/main/java/org/nuiton/util/HashList.java =================================================================== --- trunk/src/main/java/org/nuiton/util/HashList.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/HashList.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,19 +1,30 @@ -/* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ /* * * HashList.java @@ -32,7 +43,6 @@ import java.util.ArrayList; import java.util.Collection; import java.util.HashSet; -import java.util.Iterator; /** * Cette objet permet de gerer l'unicité des objets ajouté. @@ -54,7 +64,6 @@ protected HashSet<E> set = new HashSet<E>(); public HashList() { - super(); } public HashList(Collection<? extends E> c) { @@ -105,9 +114,8 @@ @Override public boolean addAll(Collection<? extends E> c) { boolean modified = false; - Iterator<? extends E> e = c.iterator(); - while (e.hasNext()) { - if (add(e.next())) + for (E aC : c) { + if (add(aC)) modified = true; } return modified; @@ -117,9 +125,8 @@ @Override public boolean addAll(int index, Collection<? extends E> c) { boolean modified = false; - Iterator<? extends E> e = c.iterator(); - while (e.hasNext()) { - add(index++, e.next()); + for (E aC : c) { + add(index++, aC); modified = true; } return modified; Modified: trunk/src/main/java/org/nuiton/util/LRUMapMultiKey.java =================================================================== --- trunk/src/main/java/org/nuiton/util/LRUMapMultiKey.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/LRUMapMultiKey.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,19 +1,30 @@ -/* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ /* * * LRUMapMultiKey.java Modified: trunk/src/main/java/org/nuiton/util/ListenerSet.java =================================================================== --- trunk/src/main/java/org/nuiton/util/ListenerSet.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/ListenerSet.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,19 +1,31 @@ -/* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ + /* * * ListenerSet.java * Modified: trunk/src/main/java/org/nuiton/util/Log.java =================================================================== --- trunk/src/main/java/org/nuiton/util/Log.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/Log.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,19 +1,30 @@ -/* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ /* * * Log.java Modified: trunk/src/main/java/org/nuiton/util/LoggingException.java =================================================================== --- trunk/src/main/java/org/nuiton/util/LoggingException.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/LoggingException.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,19 +1,30 @@ -/* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ /** * LogException.java Modified: trunk/src/main/java/org/nuiton/util/LoggingPatternFormatter.java =================================================================== --- trunk/src/main/java/org/nuiton/util/LoggingPatternFormatter.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/LoggingPatternFormatter.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,19 +1,30 @@ -/* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ /** * PatternFormatter.java Modified: trunk/src/main/java/org/nuiton/util/MD5InputStream.java =================================================================== --- trunk/src/main/java/org/nuiton/util/MD5InputStream.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/MD5InputStream.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,21 +1,31 @@ -/** - * *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% */ + package org.nuiton.util; import org.apache.commons.logging.Log; Modified: trunk/src/main/java/org/nuiton/util/MD5OutputStream.java =================================================================== --- trunk/src/main/java/org/nuiton/util/MD5OutputStream.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/MD5OutputStream.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,21 +1,31 @@ -/** - * *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% */ + package org.nuiton.util; import java.io.OutputStream; Modified: trunk/src/main/java/org/nuiton/util/MonthEnum.java =================================================================== --- trunk/src/main/java/org/nuiton/util/MonthEnum.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/MonthEnum.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,20 +1,31 @@ -/* -* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ + package org.nuiton.util; import org.apache.commons.logging.Log; @@ -25,7 +36,7 @@ /** * Une énumération pour représenter les mois d'une année. * - * @author chemit + * @author tchemit <chemit@codelutin.com> */ public enum MonthEnum { Modified: trunk/src/main/java/org/nuiton/util/ObjectUtil.java =================================================================== --- trunk/src/main/java/org/nuiton/util/ObjectUtil.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/ObjectUtil.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,19 +1,30 @@ -/* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ /* * * ObjectUtil.java Modified: trunk/src/main/java/org/nuiton/util/PeriodDates.java =================================================================== --- trunk/src/main/java/org/nuiton/util/PeriodDates.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/PeriodDates.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,30 +1,36 @@ -package org.nuiton.util; - -/** - * *##% Chorem-Commons - * Copyright (C) 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. ##%* + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% */ +package org.nuiton.util; - import java.util.ArrayList; import java.util.Calendar; import java.util.Date; -import java.util.GregorianCalendar; import java.util.List; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; Modified: trunk/src/main/java/org/nuiton/util/PropertiesDateRemoveFilterStream.java =================================================================== --- trunk/src/main/java/org/nuiton/util/PropertiesDateRemoveFilterStream.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/PropertiesDateRemoveFilterStream.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,20 +1,31 @@ -/* -* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ + package org.nuiton.util; import java.io.FilterOutputStream; Modified: trunk/src/main/java/org/nuiton/util/RecursiveProperties.java =================================================================== --- trunk/src/main/java/org/nuiton/util/RecursiveProperties.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/RecursiveProperties.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,19 +1,30 @@ -/* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ /* * * RecursiveProperties.java @@ -56,7 +67,6 @@ private static final long serialVersionUID = -5012939272780929116L; public RecursiveProperties() { - super(); } public RecursiveProperties(Properties defaults) { Modified: trunk/src/main/java/org/nuiton/util/ReflectUtil.java =================================================================== --- trunk/src/main/java/org/nuiton/util/ReflectUtil.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/ReflectUtil.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,20 +1,31 @@ -/* - * *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ + package org.nuiton.util; import static org.nuiton.i18n.I18n._; @@ -27,7 +38,7 @@ /** * Des méthodes utiles d'introspection * - * @author tony + * @author tchemit <chemit@codelutin.com> */ public class ReflectUtil { Modified: trunk/src/main/java/org/nuiton/util/Resource.java =================================================================== --- trunk/src/main/java/org/nuiton/util/Resource.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/Resource.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,19 +1,30 @@ -/* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ /** * Resource.java Modified: trunk/src/main/java/org/nuiton/util/ResourceException.java =================================================================== --- trunk/src/main/java/org/nuiton/util/ResourceException.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/ResourceException.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,19 +1,30 @@ -/* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ /* * * ResourceException.java Modified: trunk/src/main/java/org/nuiton/util/ResourceNotFoundException.java =================================================================== --- trunk/src/main/java/org/nuiton/util/ResourceNotFoundException.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/ResourceNotFoundException.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,19 +1,30 @@ -/* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ /** * ResourceNotFoundException.java Modified: trunk/src/main/java/org/nuiton/util/ResourceResolver.java =================================================================== --- trunk/src/main/java/org/nuiton/util/ResourceResolver.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/ResourceResolver.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,19 +1,31 @@ -/* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*/ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ + package org.nuiton.util; import java.net.URL; Modified: trunk/src/main/java/org/nuiton/util/ReverseFileReader.java =================================================================== --- trunk/src/main/java/org/nuiton/util/ReverseFileReader.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/ReverseFileReader.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,20 +1,29 @@ /* - * *##% Nuiton utilities library + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% * Copyright (C) 2004 - 2010 CodeLutin - * + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% */ package org.nuiton.util; Modified: trunk/src/main/java/org/nuiton/util/SortedProperties.java =================================================================== --- trunk/src/main/java/org/nuiton/util/SortedProperties.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/SortedProperties.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,19 +1,30 @@ -/* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ package org.nuiton.util; Modified: trunk/src/main/java/org/nuiton/util/StreamKeywordTokenizer.java =================================================================== --- trunk/src/main/java/org/nuiton/util/StreamKeywordTokenizer.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/StreamKeywordTokenizer.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,19 +1,30 @@ -/* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ /* * * StreamKeywordTokenizer.java Modified: trunk/src/main/java/org/nuiton/util/StringUtil.java =================================================================== --- trunk/src/main/java/org/nuiton/util/StringUtil.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/StringUtil.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,19 +1,31 @@ -/* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ + /* * * StringUtil.java * Modified: trunk/src/main/java/org/nuiton/util/StringUtilException.java =================================================================== --- trunk/src/main/java/org/nuiton/util/StringUtilException.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/StringUtilException.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,19 +1,29 @@ -/* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% */ package org.nuiton.util; Modified: trunk/src/main/java/org/nuiton/util/TransformedList.java =================================================================== --- trunk/src/main/java/org/nuiton/util/TransformedList.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/TransformedList.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,19 +1,30 @@ -/* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ /* * * TransformedList.java Modified: trunk/src/main/java/org/nuiton/util/Transformer.java =================================================================== --- trunk/src/main/java/org/nuiton/util/Transformer.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/Transformer.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,20 +1,32 @@ -/* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ + /* * * Transformer.java * Modified: trunk/src/main/java/org/nuiton/util/TransparenteSoftReference.java =================================================================== --- trunk/src/main/java/org/nuiton/util/TransparenteSoftReference.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/TransparenteSoftReference.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,19 +1,31 @@ -/* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ + /* * * TransparenteSoftReference.java * Modified: trunk/src/main/java/org/nuiton/util/TransparenteWeakReference.java =================================================================== --- trunk/src/main/java/org/nuiton/util/TransparenteWeakReference.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/TransparenteWeakReference.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,19 +1,31 @@ -/* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ + /* * * TransparenteWeakReference.java * Modified: trunk/src/main/java/org/nuiton/util/URIConverter.java =================================================================== --- trunk/src/main/java/org/nuiton/util/URIConverter.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/URIConverter.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,19 +1,31 @@ -/* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ + package org.nuiton.util; import org.apache.commons.beanutils.ConversionException; @@ -28,7 +40,7 @@ /** * classe pour convertir une chaine en un objet URI. * - * @author chemit + * @author tchemit <chemit@codelutin.com> */ public class URIConverter implements Converter { Modified: trunk/src/main/java/org/nuiton/util/URLConverter.java =================================================================== --- trunk/src/main/java/org/nuiton/util/URLConverter.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/URLConverter.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,20 +1,31 @@ -/* - * *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ + package org.nuiton.util; import org.apache.commons.beanutils.ConversionException; @@ -29,7 +40,7 @@ /** * classe pour convertir une chaine en un objet URL. * - * @author chemit + * @author tchemit <chemit@codelutin.com> */ public class URLConverter implements Converter { Modified: trunk/src/main/java/org/nuiton/util/Version.java =================================================================== --- trunk/src/main/java/org/nuiton/util/Version.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/Version.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,20 +1,31 @@ -/* - * *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ + package org.nuiton.util; import static org.nuiton.i18n.I18n._; @@ -54,7 +65,7 @@ * but prefer use the factory static methods * <code>VersionUtil.valueOf(...)</code> instead. * - * @author chemit + * @author tchemit <chemit@codelutin.com> * @since 1.1.0 */ public class Version implements Comparable<Version>, Serializable { Modified: trunk/src/main/java/org/nuiton/util/VersionConverter.java =================================================================== --- trunk/src/main/java/org/nuiton/util/VersionConverter.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/VersionConverter.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,20 +1,31 @@ -/* - * *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ + package org.nuiton.util; import org.apache.commons.beanutils.ConversionException; @@ -26,7 +37,7 @@ /** * classe pour convertir une chaine en un objet Version. * - * @author chemit + * @author tchemit <chemit@codelutin.com> * @see Version */ public class VersionConverter implements Converter { Modified: trunk/src/main/java/org/nuiton/util/VersionUtil.java =================================================================== --- trunk/src/main/java/org/nuiton/util/VersionUtil.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/VersionUtil.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,21 +1,31 @@ -/** - * *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% */ + package org.nuiton.util; import java.util.*; @@ -36,7 +46,7 @@ * - removeClassifier(Version) : to remove a classifier from a version * </pre> * - * @author chemit + * @author tchemit <chemit@codelutin.com> * @since 1.1.0 */ public class VersionUtil { Modified: trunk/src/main/java/org/nuiton/util/ZipStreamEncoder.java =================================================================== --- trunk/src/main/java/org/nuiton/util/ZipStreamEncoder.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/ZipStreamEncoder.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,20 +1,31 @@ -/* -* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ + package org.nuiton.util; import java.io.IOException; Modified: trunk/src/main/java/org/nuiton/util/ZipUtil.java =================================================================== --- trunk/src/main/java/org/nuiton/util/ZipUtil.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/ZipUtil.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,19 +1,30 @@ -/* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ package org.nuiton.util; Modified: trunk/src/main/java/org/nuiton/util/beans/Binder.java =================================================================== --- trunk/src/main/java/org/nuiton/util/beans/Binder.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/beans/Binder.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,20 +1,29 @@ /* - * *##% Nuiton utilities library + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% * Copyright (C) 2004 - 2010 CodeLutin - * + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% */ package org.nuiton.util.beans; Modified: trunk/src/main/java/org/nuiton/util/beans/BinderBuilder.java =================================================================== --- trunk/src/main/java/org/nuiton/util/beans/BinderBuilder.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/beans/BinderBuilder.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,21 +1,31 @@ /* - * *##% Nuiton utilities library + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% * Copyright (C) 2004 - 2010 CodeLutin - * + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% */ + package org.nuiton.util.beans; import java.beans.BeanInfo; Modified: trunk/src/main/java/org/nuiton/util/beans/BinderModel.java =================================================================== --- trunk/src/main/java/org/nuiton/util/beans/BinderModel.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/beans/BinderModel.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,24 +1,35 @@ /* - * *##% Nuiton utilities library + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% * Copyright (C) 2004 - 2010 CodeLutin - * + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% */ + package org.nuiton.util.beans; import java.beans.PropertyDescriptor; +import java.io.Serializable; import java.lang.reflect.Method; import java.util.Map; import java.util.Set; @@ -35,7 +46,7 @@ * @param <T> the target type * @since 1.1.5 */ -public class BinderModel<S, T> implements java.io.Serializable { +public class BinderModel<S, T> implements Serializable { /** * source type @@ -65,9 +76,9 @@ public BinderModel(Class<S> sourceType, Class<T> targetType) { this.sourceType = sourceType; this.targetType = targetType; - this.sourceDescriptors = new TreeMap<String, PropertyDescriptor>(); - this.targetDescriptors = new TreeMap<String, PropertyDescriptor>(); - this.propertiesMapping = new TreeMap<String, String>(); + sourceDescriptors = new TreeMap<String, PropertyDescriptor>(); + targetDescriptors = new TreeMap<String, PropertyDescriptor>(); + propertiesMapping = new TreeMap<String, String>(); } /** Modified: trunk/src/main/java/org/nuiton/util/beans/BinderProvider.java =================================================================== --- trunk/src/main/java/org/nuiton/util/beans/BinderProvider.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/beans/BinderProvider.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,20 +1,29 @@ /* - * *##% Nuiton utilities library + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% * Copyright (C) 2004 - 2010 CodeLutin - * + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% */ package org.nuiton.util.beans; @@ -155,7 +164,7 @@ * @param builder the builder which contains builder model to use * @see BinderBuilder#createBinder(Class) */ - public static <B extends Binder> void registerBinder(BinderBuilder builder) { + public static void registerBinder(BinderBuilder builder) { registerBinder(builder, Binder.class); } @@ -169,7 +178,7 @@ * @param binderType the type of binder to instanciate and register. * @see BinderBuilder#createBinder(Class) */ - public static <B extends Binder> void registerBinder(BinderBuilder builder, + public static <B extends Binder<?,?>> void registerBinder(BinderBuilder builder, Class<B> binderType) { registerBinder(builder, binderType, null); @@ -185,8 +194,7 @@ * @param name the context's name * @see BinderBuilder#createBinder(Class) */ - public static <B extends Binder> void registerBinder(BinderBuilder builder, - String name) { + public static void registerBinder(BinderBuilder builder, String name) { registerBinder(builder, Binder.class, name); } @@ -202,7 +210,7 @@ * @param name the context's name * @see BinderBuilder#createBinder(Class) */ - public static <B extends Binder> void registerBinder(BinderBuilder builder, + public static <B extends Binder<?,?>> void registerBinder(BinderBuilder builder, Class<B> binderType, String name) { // instanciate the binder @@ -230,7 +238,7 @@ if (log.isDebugEnabled()) { log.debug("binder to seek : " + entry); } - Binder oldBinder = getBinders().get(entry); + Binder<?,?> oldBinder = getBinders().get(entry); if (oldBinder != null) { // already a binder for this entry if (log.isWarnEnabled()) { Modified: trunk/src/main/java/org/nuiton/util/beans/package-info.java =================================================================== --- trunk/src/main/java/org/nuiton/util/beans/package-info.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/beans/package-info.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,3 +1,30 @@ +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ /** * Packages for all stuff of bean transformations (binder, and others...). * Modified: trunk/src/main/java/org/nuiton/util/config/Config.java =================================================================== --- trunk/src/main/java/org/nuiton/util/config/Config.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/config/Config.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,21 +1,31 @@ -/** - * *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% */ + package org.nuiton.util.config; import java.util.EnumMap; @@ -24,7 +34,7 @@ /** * config contract based on a Enum to obtain properties * - * @author chemit + * @author tchemit <chemit@codelutin.com> */ public interface Config<E extends Enum<E>> { Modified: trunk/src/main/java/org/nuiton/util/config/IdentityConfig.java =================================================================== --- trunk/src/main/java/org/nuiton/util/config/IdentityConfig.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/config/IdentityConfig.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,21 +1,31 @@ -/** - * *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% */ + package org.nuiton.util.config; import org.nuiton.util.ApplicationConfig; @@ -24,7 +34,7 @@ /** * Definition of an identity * - * @author chemit + * @author tchemit <chemit@codelutin.com> * @deprecated since 1.2.2 (will be remove soon), use {@link ApplicationConfig} * instead */ Modified: trunk/src/main/java/org/nuiton/util/config/IdentityConfigProperty.java =================================================================== --- trunk/src/main/java/org/nuiton/util/config/IdentityConfigProperty.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/config/IdentityConfigProperty.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,21 +1,31 @@ -/** - * *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% */ + package org.nuiton.util.config; import org.nuiton.util.ApplicationConfig; @@ -23,7 +33,7 @@ /** * Enumaration of properties to be used in a {@link IdentityConfig} * - * @author chemit + * @author tchemit <chemit@codelutin.com> * @see IdentityConfig * @deprecated since 1.2.2 (will be remove soon), use {@link ApplicationConfig} * instead Modified: trunk/src/main/java/org/nuiton/util/config/Property.java =================================================================== --- trunk/src/main/java/org/nuiton/util/config/Property.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/config/Property.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,27 +1,37 @@ -/** - * *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% */ + package org.nuiton.util.config; import org.nuiton.util.ApplicationConfig; /** - * @author chemit + * @author tchemit <chemit@codelutin.com> * @deprecated since 1.2.2 (will be remove soon), use {@link * ApplicationConfig} instead */ Modified: trunk/src/main/java/org/nuiton/util/config/SimpleConfig.java =================================================================== --- trunk/src/main/java/org/nuiton/util/config/SimpleConfig.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/config/SimpleConfig.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,21 +1,31 @@ -/** - * *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% */ + package org.nuiton.util.config; import org.apache.commons.beanutils.BeanUtils; @@ -31,7 +41,7 @@ /** * simple config implementation based on a Enum to obtain properties * - * @author chemit + * @author tchemit <chemit@codelutin.com> * @deprecated since 1.2.2 (will be remove soon), use {@link ApplicationConfig} * instead */ Modified: trunk/src/main/java/org/nuiton/util/config/SimpleIdentityConfig.java =================================================================== --- trunk/src/main/java/org/nuiton/util/config/SimpleIdentityConfig.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/config/SimpleIdentityConfig.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,21 +1,31 @@ -/** - * *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% */ + package org.nuiton.util.config; import org.nuiton.util.ApplicationConfig; @@ -26,7 +36,7 @@ import java.util.EnumMap; -/** @author chemit +/** @author tchemit <chemit@codelutin.com> * @deprecated since 1.2.2 (will be remove soon), use {@link ApplicationConfig} * instead*/ @Deprecated Modified: trunk/src/main/java/org/nuiton/util/war/JettyLauncher.java =================================================================== --- trunk/src/main/java/org/nuiton/util/war/JettyLauncher.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/war/JettyLauncher.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,20 +1,30 @@ -/* *##% - * Copyright (C) 2009 Code Lutin - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - *##%*/ + * GNU General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ package org.nuiton.util.war; Modified: trunk/src/main/java/org/nuiton/util/war/WinstoneLauncher.java =================================================================== --- trunk/src/main/java/org/nuiton/util/war/WinstoneLauncher.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/war/WinstoneLauncher.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,20 +1,30 @@ -/* *##% - * Copyright (C) 2009 Code Lutin - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - *##%*/ + * GNU General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ package org.nuiton.util.war; Modified: trunk/src/main/java/org/nuiton/util/war/package-info.java =================================================================== --- trunk/src/main/java/org/nuiton/util/war/package-info.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/main/java/org/nuiton/util/war/package-info.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,3 +1,30 @@ +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ /** * Embedded war launchers. * Modified: trunk/src/site/apt/ApplicationConfig.apt =================================================================== --- trunk/src/site/apt/ApplicationConfig.apt 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/site/apt/ApplicationConfig.apt 2010-04-12 13:46:06 UTC (rev 1821) @@ -4,7 +4,36 @@ ---- 2010-02-23 ---- + +~~~ +~~ #%L +~~ Nuiton Utils +~~ +~~ $Author$ +~~ $LastChangedDate$ +~~ $LastChangedRevision$ +~~ $Id$ +~~ $HeadURL$ +~~ %% +~~ Copyright (C) 2004 - 2010 CodeLutin +~~ %% +~~ This program is free software: you can redistribute it and/or modify +~~ it under the terms of the GNU Lesser General Public License as +~~ published by the Free Software Foundation, either version 3 of the +~~ License, or (at your option) any later version. +~~ +~~ This program is distributed in the hope that it will be useful, +~~ but WITHOUT ANY WARRANTY; without even the implied warranty of +~~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +~~ GNU General Lesser Public License for more details. +~~ +~~ You should have received a copy of the GNU General Lesser Public +~~ License along with this program. If not, see +~~ <http://www.gnu.org/licenses/lgpl-3.0.html>. +~~ #L% +~~~ + Présentation La classe ApplicationConfig a pour but de gérer les options et action @@ -292,4 +321,4 @@ System.out.println("Connected, do something..."); config.doAction(MyConfig.AFTER_LOGIN); } -+------------------------------------------- \ No newline at end of file ++------------------------------------------- Modified: trunk/src/site/apt/Warlauncher.apt =================================================================== --- trunk/src/site/apt/Warlauncher.apt 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/site/apt/Warlauncher.apt 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,7 +1,36 @@ ------ War launcher ------ + +~~~ +~~ #%L +~~ Nuiton Utils +~~ +~~ $Author$ +~~ $LastChangedDate$ +~~ $LastChangedRevision$ +~~ $Id$ +~~ $HeadURL$ +~~ %% +~~ Copyright (C) 2004 - 2010 CodeLutin +~~ %% +~~ This program is free software: you can redistribute it and/or modify +~~ it under the terms of the GNU Lesser General Public License as +~~ published by the Free Software Foundation, either version 3 of the +~~ License, or (at your option) any later version. +~~ +~~ This program is distributed in the hope that it will be useful, +~~ but WITHOUT ANY WARRANTY; without even the implied warranty of +~~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +~~ GNU General Lesser Public License for more details. +~~ +~~ You should have received a copy of the GNU General Lesser Public +~~ License along with this program. If not, see +~~ <http://www.gnu.org/licenses/lgpl-3.0.html>. +~~ #L% +~~~ + War launcher * Features Modified: trunk/src/site/apt/index.apt =================================================================== (Binary files differ) Modified: trunk/src/site/apt/nuitonUtil.apt =================================================================== --- trunk/src/site/apt/nuitonUtil.apt 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/site/apt/nuitonUtil.apt 2010-04-12 13:46:06 UTC (rev 1821) @@ -4,6 +4,34 @@ ---- 2009-08-23 ---- + +~~~ +~~ #%L +~~ Nuiton Utils +~~ +~~ $Author$ +~~ $LastChangedDate$ +~~ $LastChangedRevision$ +~~ $Id$ +~~ $HeadURL$ +~~ %% +~~ Copyright (C) 2004 - 2010 CodeLutin +~~ %% +~~ This program is free software: you can redistribute it and/or modify +~~ it under the terms of the GNU Lesser General Public License as +~~ published by the Free Software Foundation, either version 3 of the +~~ License, or (at your option) any later version. +~~ +~~ This program is distributed in the hope that it will be useful, +~~ but WITHOUT ANY WARRANTY; without even the implied warranty of +~~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +~~ GNU General Lesser Public License for more details. +~~ +~~ You should have received a copy of the GNU General Lesser Public +~~ License along with this program. If not, see +~~ <http://www.gnu.org/licenses/lgpl-3.0.html>. +~~ #L% +~~~ Documentation Modified: trunk/src/site/site_fr.xml =================================================================== --- trunk/src/site/site_fr.xml 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/site/site_fr.xml 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,38 +1,69 @@ <?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + Nuiton Utils + + $Author$ + $LastChangedDate$ + $LastChangedRevision$ + $Id$ + $HeadURL$ + %% + Copyright (C) 2004 - 2010 CodeLutin + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Lesser Public License for more details. + + You should have received a copy of the GNU General Lesser Public + License along with this program. If not, see + <http://www.gnu.org/licenses/lgpl-3.0.html>. + #L% + --> + <project name="${project.name}"> - <bannerLeft> - <name>${project.name}</name> - <href>index.html</href> - </bannerLeft> + <bannerLeft> + <name>${project.name}</name> + <href>index.html</href> + </bannerLeft> - <poweredBy> - <logo href="http://maven.apache.org" name="Maven" img="images/logos/maven-feather.png"/> - </poweredBy> + <poweredBy> + <logo href="http://maven.apache.org" name="Maven" img="images/logos/maven-feather.png"/> + </poweredBy> - <body> + <body> - <breadcrumbs> - <item name="${project.name}" href="index.html" /> - </breadcrumbs> - - <menu name="Utilisateur"> - <item name="Accueil" href="index.html"/> - <item name="Documentation" href="/nuitonUtil.html"/> - <item name="Application config" href="/ApplicationConfig.html"/> - <item name="War launcher" href="/Warlauncher.html"/> - </menu> + <breadcrumbs> + <item name="${project.name}" href="index.html"/> + </breadcrumbs> - <menu name="Téléchargement"> - <item href="${repository.home.url}/org/nuiton/${project.artifactId}/${project.version}/${project.build.finalName}.jar" - name="Librairie (jar)"/> - <item href="${repository.home.url}/org/nuiton/${project.artifactId}/${project.version}/${project.build.finalName}-javadoc.jar" - name="Javadoc (jar)"/> - <item href="${repository.home.url}/org/nuiton/${project.artifactId}/${project.version}/${project.build.finalName}-sources.jar" - name="Sources (jar)"/> - </menu> + <menu name="Utilisateur"> + <item name="Accueil" href="index.html"/> + <item name="Documentation" href="/nuitonUtil.html"/> + <item name="Application config" href="/ApplicationConfig.html"/> + <item name="War launcher" href="/Warlauncher.html"/> + </menu> - <menu ref="reports"/> + <menu name="Téléchargement"> + <item + href="${repository.home.url}/org/nuiton/${project.artifactId}/${project.version}/${project.build.finalName}.jar" + name="Librairie (jar)"/> + <item + href="${repository.home.url}/org/nuiton/${project.artifactId}/${project.version}/${project.build.finalName}-javadoc.jar" + name="Javadoc (jar)"/> + <item + href="${repository.home.url}/org/nuiton/${project.artifactId}/${project.version}/${project.build.finalName}-sources.jar" + name="Sources (jar)"/> + </menu> - </body> + <menu ref="reports"/> + + </body> </project> Modified: trunk/src/test/java/org/nuiton/util/ApplicationConfigTest.java =================================================================== --- trunk/src/test/java/org/nuiton/util/ApplicationConfigTest.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/test/java/org/nuiton/util/ApplicationConfigTest.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,20 +1,29 @@ /* - * *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% */ package org.nuiton.util; Modified: trunk/src/test/java/org/nuiton/util/CallAnalyseTest.java =================================================================== --- trunk/src/test/java/org/nuiton/util/CallAnalyseTest.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/test/java/org/nuiton/util/CallAnalyseTest.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,19 +1,30 @@ -/* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ /* * * CallAnalyseTest.java Modified: trunk/src/test/java/org/nuiton/util/CardinalityHelperTest.java =================================================================== --- trunk/src/test/java/org/nuiton/util/CardinalityHelperTest.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/test/java/org/nuiton/util/CardinalityHelperTest.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,20 +1,31 @@ /* -* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ + package org.nuiton.util; import junit.framework.TestCase; @@ -22,7 +33,7 @@ /** * CardinalityHelper Tester. * - * @author chemit + * @author tchemit <chemit@codelutin.com> * @version 1.0 * @since <pre>12/17/2007</pre> */ Modified: trunk/src/test/java/org/nuiton/util/CategorisedListenerSetTest.java =================================================================== --- trunk/src/test/java/org/nuiton/util/CategorisedListenerSetTest.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/test/java/org/nuiton/util/CategorisedListenerSetTest.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,20 +1,29 @@ /* - * *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% */ /******************************************************************************* Modified: trunk/src/test/java/org/nuiton/util/CollectionUtilTest.java =================================================================== --- trunk/src/test/java/org/nuiton/util/CollectionUtilTest.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/test/java/org/nuiton/util/CollectionUtilTest.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,21 +1,31 @@ -/** - * *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% */ + package org.nuiton.util; import junit.framework.TestCase; @@ -26,7 +36,7 @@ /** * CollectionUtil Tester. * - * @author chemit + * @author tchemit <chemit@codelutin.com> * @version 1.0 * @since <pre>02/04/2008</pre> */ Modified: trunk/src/test/java/org/nuiton/util/ConverterUtilTest.java =================================================================== --- trunk/src/test/java/org/nuiton/util/ConverterUtilTest.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/test/java/org/nuiton/util/ConverterUtilTest.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,21 +1,31 @@ -/** - * *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% */ + package org.nuiton.util; import org.apache.commons.beanutils.ConvertUtils; @@ -26,7 +36,7 @@ /** * ConverterUtil Tester. * - * @author chemit + * @author tchemit <chemit@codelutin.com> * @version 1.0 * @since <pre>02/13/2008</pre> */ Modified: trunk/src/test/java/org/nuiton/util/DateUtilsTest.java =================================================================== --- trunk/src/test/java/org/nuiton/util/DateUtilsTest.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/test/java/org/nuiton/util/DateUtilsTest.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,3 +1,30 @@ +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ package org.nuiton.util; Modified: trunk/src/test/java/org/nuiton/util/FileCompletionTest.java =================================================================== --- trunk/src/test/java/org/nuiton/util/FileCompletionTest.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/test/java/org/nuiton/util/FileCompletionTest.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,21 +1,31 @@ -/** - * *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% */ + package org.nuiton.util; import org.junit.Ignore; Modified: trunk/src/test/java/org/nuiton/util/FileUtilTest.java =================================================================== --- trunk/src/test/java/org/nuiton/util/FileUtilTest.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/test/java/org/nuiton/util/FileUtilTest.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,19 +1,30 @@ -/* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ package org.nuiton.util; Modified: trunk/src/test/java/org/nuiton/util/LRUMapMultiKeyTest.java =================================================================== --- trunk/src/test/java/org/nuiton/util/LRUMapMultiKeyTest.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/test/java/org/nuiton/util/LRUMapMultiKeyTest.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,19 +1,30 @@ -/* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ /* * * LRUMapMultiKeyTest.java Modified: trunk/src/test/java/org/nuiton/util/ListenerSetTest.java =================================================================== --- trunk/src/test/java/org/nuiton/util/ListenerSetTest.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/test/java/org/nuiton/util/ListenerSetTest.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,19 +1,30 @@ -/* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ /* * * ListenerSetTest.java Modified: trunk/src/test/java/org/nuiton/util/LogTest.java =================================================================== --- trunk/src/test/java/org/nuiton/util/LogTest.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/test/java/org/nuiton/util/LogTest.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,19 +1,30 @@ -/* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ /* * * LogTest.java Modified: trunk/src/test/java/org/nuiton/util/MD5InputStreamTest.java =================================================================== --- trunk/src/test/java/org/nuiton/util/MD5InputStreamTest.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/test/java/org/nuiton/util/MD5InputStreamTest.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,3 +1,31 @@ +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ + package org.nuiton.util; import org.apache.commons.logging.Log; Modified: trunk/src/test/java/org/nuiton/util/ObjectUtilTest.java =================================================================== --- trunk/src/test/java/org/nuiton/util/ObjectUtilTest.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/test/java/org/nuiton/util/ObjectUtilTest.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,19 +1,30 @@ -/* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ /* * * ObjectUtilTest.java Modified: trunk/src/test/java/org/nuiton/util/PeriodDatesTest.java =================================================================== --- trunk/src/test/java/org/nuiton/util/PeriodDatesTest.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/test/java/org/nuiton/util/PeriodDatesTest.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,3 +1,30 @@ +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ package org.nuiton.util; @@ -227,4 +254,4 @@ System.out.println("toString"); } -} \ No newline at end of file +} Modified: trunk/src/test/java/org/nuiton/util/RecursivePropertiesTest.java =================================================================== --- trunk/src/test/java/org/nuiton/util/RecursivePropertiesTest.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/test/java/org/nuiton/util/RecursivePropertiesTest.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,19 +1,30 @@ -/* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%*/ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ package org.nuiton.util; Modified: trunk/src/test/java/org/nuiton/util/ResourceTest.java =================================================================== --- trunk/src/test/java/org/nuiton/util/ResourceTest.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/test/java/org/nuiton/util/ResourceTest.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,19 +1,30 @@ -/* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ /* * * ResourceTest.java Modified: trunk/src/test/java/org/nuiton/util/ReverseFileReaderTest.java =================================================================== --- trunk/src/test/java/org/nuiton/util/ReverseFileReaderTest.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/test/java/org/nuiton/util/ReverseFileReaderTest.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,20 +1,29 @@ /* - * *##% Nuiton utilities library + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% * Copyright (C) 2004 - 2010 CodeLutin - * + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% */ package org.nuiton.util; Modified: trunk/src/test/java/org/nuiton/util/StreamKeywordTokenizerTest.java =================================================================== --- trunk/src/test/java/org/nuiton/util/StreamKeywordTokenizerTest.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/test/java/org/nuiton/util/StreamKeywordTokenizerTest.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,19 +1,30 @@ -/* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ /* * * StreamKeywordTokenizer.java Modified: trunk/src/test/java/org/nuiton/util/StringUtilTest.java =================================================================== --- trunk/src/test/java/org/nuiton/util/StringUtilTest.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/test/java/org/nuiton/util/StringUtilTest.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,19 +1,30 @@ -/* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ /******************************************************************************* * StringUtilTest.java @@ -39,7 +50,8 @@ import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNull; -public class StringUtilTest { // StringUtilTest +public class StringUtilTest { + private static final String[] EMPTY_STRING_ARRAY = new String[0]; // StringUtilTest @Test public void testSubstring() throws Exception { @@ -95,8 +107,8 @@ public void testSplit() { assertTrue(Arrays.equals(StringUtil.split("toto,titi,tutu"), new String[]{"toto", "titi", "tutu"})); assertTrue(Arrays.equals(StringUtil.split("toto"), new String[]{"toto"})); - assertTrue(Arrays.equals(StringUtil.split(""), new String[0])); - assertTrue(Arrays.equals(StringUtil.split(null), new String[0])); + assertTrue(Arrays.equals(StringUtil.split(""), EMPTY_STRING_ARRAY)); + assertTrue(Arrays.equals(StringUtil.split(null), EMPTY_STRING_ARRAY)); String argTest = "toto, titi, titi($tru('roer'), erke), \"t|u(t{u\\\"ti[ti'\", fin"; String[] arg = StringUtil.split(argTest); Modified: trunk/src/test/java/org/nuiton/util/TransparenteReferenceTest.java =================================================================== --- trunk/src/test/java/org/nuiton/util/TransparenteReferenceTest.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/test/java/org/nuiton/util/TransparenteReferenceTest.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,19 +1,30 @@ -/* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ /* * * TransparenteReferenceTest.java @@ -40,13 +51,13 @@ public class TransparenteReferenceTest extends TestCase { public void testHash() { - Map<TransparenteSoftReference, TransparenteSoftReference> map = new HashMap<TransparenteSoftReference, TransparenteSoftReference>(); + Map<TransparenteSoftReference<?>, TransparenteSoftReference<?>> map = new HashMap<TransparenteSoftReference<?>, TransparenteSoftReference<?>>(); String key = "key"; - TransparenteSoftReference keyRef = new TransparenteSoftReference<String>(key); + TransparenteSoftReference<?> keyRef = new TransparenteSoftReference<String>(key); String value = "value"; - TransparenteSoftReference valueRef = new TransparenteSoftReference<String>(value); + TransparenteSoftReference<?> valueRef = new TransparenteSoftReference<String>(value); map.put(keyRef, valueRef); Modified: trunk/src/test/java/org/nuiton/util/UnregistreableConverter.java =================================================================== --- trunk/src/test/java/org/nuiton/util/UnregistreableConverter.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/test/java/org/nuiton/util/UnregistreableConverter.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,3 +1,31 @@ +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ + package org.nuiton.util; import org.apache.commons.beanutils.Converter; @@ -5,7 +33,7 @@ /** * A converter with no getType method, so not registreable via {@link ConverterUtil#initConverters()} * - * @author chemit + * @author tchemit <chemit@codelutin.com> */ public class UnregistreableConverter implements Converter{ Modified: trunk/src/test/java/org/nuiton/util/VersionConverterTest.java =================================================================== --- trunk/src/test/java/org/nuiton/util/VersionConverterTest.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/test/java/org/nuiton/util/VersionConverterTest.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,20 +1,29 @@ -/** - * *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% */ package org.nuiton.util; @@ -28,7 +37,7 @@ /** * - * @author chemit + * @author tchemit <chemit@codelutin.com> */ public class VersionConverterTest { @@ -91,4 +100,4 @@ boolean result = converter.isEnabled(Version.class); assertEquals(expResult, result); } -} \ No newline at end of file +} Modified: trunk/src/test/java/org/nuiton/util/VersionTest.java =================================================================== --- trunk/src/test/java/org/nuiton/util/VersionTest.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/test/java/org/nuiton/util/VersionTest.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,21 +1,31 @@ -/** - * *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% */ + package org.nuiton.util; import java.util.ArrayList; @@ -28,7 +38,7 @@ /** * - * @author chemit + * @author tchemit <chemit@codelutin.com> * @since 1.1.0 */ public class VersionTest { Modified: trunk/src/test/java/org/nuiton/util/VersionUtilTest.java =================================================================== --- trunk/src/test/java/org/nuiton/util/VersionUtilTest.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/test/java/org/nuiton/util/VersionUtilTest.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,21 +1,31 @@ -/** - * *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% */ + package org.nuiton.util; import java.util.ArrayList; @@ -31,7 +41,7 @@ /** * - * @author chemit + * @author tchemit <chemit@codelutin.com> * @since 1.1.0 */ public class VersionUtilTest { Modified: trunk/src/test/java/org/nuiton/util/ZipUtilTest.java =================================================================== --- trunk/src/test/java/org/nuiton/util/ZipUtilTest.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/test/java/org/nuiton/util/ZipUtilTest.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,19 +1,30 @@ -/* *##% Nuiton utilities library - * Copyright (C) 2004 - 2009 CodeLutin - * +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public + * + * You should have received a copy of the GNU General Lesser Public * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. ##%* */ + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ package org.nuiton.util; @@ -24,6 +35,7 @@ import java.util.Collections; import java.util.List; +import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.junit.Assert; import org.junit.Test; @@ -42,8 +54,7 @@ public class ZipUtilTest { /** to use log facility, just put in your code: log.info(\"...\"); */ - private static org.apache.commons.logging.Log log = LogFactory - .getLog(ZipUtilTest.class); + private static Log log = LogFactory.getLog(ZipUtilTest.class); protected static final File DIR = new File(System.getProperty("java.home"), "bin"); Modified: trunk/src/test/java/org/nuiton/util/beans/BeanA.java =================================================================== --- trunk/src/test/java/org/nuiton/util/beans/BeanA.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/test/java/org/nuiton/util/beans/BeanA.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,3 +1,31 @@ +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ + package org.nuiton.util.beans; public class BeanA { @@ -61,4 +89,4 @@ public void setF(int f) { this.f = f; } -} \ No newline at end of file +} Modified: trunk/src/test/java/org/nuiton/util/beans/BeanB.java =================================================================== --- trunk/src/test/java/org/nuiton/util/beans/BeanB.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/test/java/org/nuiton/util/beans/BeanB.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,3 +1,31 @@ +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ + package org.nuiton.util.beans; public class BeanB extends BeanA { @@ -59,4 +87,4 @@ public void setF2(int f2) { this.f2 = f2; } -} \ No newline at end of file +} Modified: trunk/src/test/java/org/nuiton/util/beans/BinderBuilderTest.java =================================================================== --- trunk/src/test/java/org/nuiton/util/beans/BinderBuilderTest.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/test/java/org/nuiton/util/beans/BinderBuilderTest.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,3 +1,31 @@ +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ + package org.nuiton.util.beans; import org.junit.Assert; @@ -304,4 +332,4 @@ Assert.assertEquals("b", b.getB2()); Assert.assertNull(b.getB()); } -} \ No newline at end of file +} Modified: trunk/src/test/java/org/nuiton/util/beans/BinderProviderTest.java =================================================================== --- trunk/src/test/java/org/nuiton/util/beans/BinderProviderTest.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/test/java/org/nuiton/util/beans/BinderProviderTest.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,3 +1,31 @@ +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ + package org.nuiton.util.beans; import org.junit.Assert; Modified: trunk/src/test/java/org/nuiton/util/beans/BinderTest.java =================================================================== --- trunk/src/test/java/org/nuiton/util/beans/BinderTest.java 2010-04-12 12:15:35 UTC (rev 1820) +++ trunk/src/test/java/org/nuiton/util/beans/BinderTest.java 2010-04-12 13:46:06 UTC (rev 1821) @@ -1,3 +1,31 @@ +/* + * #%L + * Nuiton Utils + * + * $Author$ + * $LastChangedDate$ + * $LastChangedRevision$ + * $Id$ + * $HeadURL$ + * %% + * Copyright (C) 2004 - 2010 CodeLutin + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Lesser Public License for more details. + * + * You should have received a copy of the GNU General Lesser Public + * License along with this program. If not, see + * <http://www.gnu.org/licenses/lgpl-3.0.html>. + * #L% + */ + package org.nuiton.util.beans; import org.junit.*; @@ -123,4 +151,4 @@ Assert.assertEquals(0,b.getE2()); } -} \ No newline at end of file +}