r3778 - in trunk/src: main/java/fr/ifremer/isisfish/util test/java/fr/ifremer/isisfish/util
Author: echatellier Date: 2012-09-14 15:50:15 +0200 (Fri, 14 Sep 2012) New Revision: 3778 Url: http://forge.codelutin.com/repositories/revision/isis-fish/3778 Log: Add header Modified: trunk/src/main/java/fr/ifremer/isisfish/util/BitUtil.java trunk/src/test/java/fr/ifremer/isisfish/util/BitUtilTest.java Modified: trunk/src/main/java/fr/ifremer/isisfish/util/BitUtil.java =================================================================== --- trunk/src/main/java/fr/ifremer/isisfish/util/BitUtil.java 2012-09-14 13:46:18 UTC (rev 3777) +++ trunk/src/main/java/fr/ifremer/isisfish/util/BitUtil.java 2012-09-14 13:50:15 UTC (rev 3778) @@ -1,9 +1,31 @@ +/* + * #%L + * IsisFish + * + * $Id: BitUtil.java 3671 2012-04-03 13:31:36Z echatellier $ + * $HeadURL$ + * %% + * Copyright (C) 2012 Ifremer, Benjamin Poussin + * %% + * 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. + * + * 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, see + * <http://www.gnu.org/licenses/gpl-2.0.html>. + * #L% + */ + package fr.ifremer.isisfish.util; - import org.apache.commons.lang3.StringUtils; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; /** * Quelques methodes pour manipuler les bits d'un long. Ces methodes servent pour @@ -17,8 +39,6 @@ */ public class BitUtil { - /** to use log facility, just put in your code: log.info(\"...\"); */ - static private Log log = LogFactory.getLog(BitUtil.class); /** * Converti une chaine de maximum 8 carateres en un long representant cette * chaine en ascii. Modified: trunk/src/test/java/fr/ifremer/isisfish/util/BitUtilTest.java =================================================================== --- trunk/src/test/java/fr/ifremer/isisfish/util/BitUtilTest.java 2012-09-14 13:46:18 UTC (rev 3777) +++ trunk/src/test/java/fr/ifremer/isisfish/util/BitUtilTest.java 2012-09-14 13:50:15 UTC (rev 3778) @@ -1,8 +1,30 @@ +/* + * #%L + * IsisFish + * + * $Id: BitUtil.java 3671 2012-04-03 13:31:36Z echatellier $ + * $HeadURL$ + * %% + * Copyright (C) 2012 Ifremer, Benjamin Poussin + * %% + * 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. + * + * 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, see + * <http://www.gnu.org/licenses/gpl-2.0.html>. + * #L% + */ + package fr.ifremer.isisfish.util; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; import org.junit.Assert; import org.junit.Test; @@ -16,8 +38,6 @@ */ public class BitUtilTest { - /** to use log facility, just put in your code: log.info(\"...\"); */ - static private Log log = LogFactory.getLog(BitUtilTest.class); /** * Test que la conversion chaine vers long fonctionne pour la creation de mark */
participants (1)
-
echatellier@users.forge.codelutin.com