diff --git a/src/fr/devinsy/util/strings/StringLengthComparator.java b/src/fr/devinsy/strings/StringLengthComparator.java similarity index 96% rename from src/fr/devinsy/util/strings/StringLengthComparator.java rename to src/fr/devinsy/strings/StringLengthComparator.java index 8b2bcd9..ac95490 100644 --- a/src/fr/devinsy/util/strings/StringLengthComparator.java +++ b/src/fr/devinsy/strings/StringLengthComparator.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2013-2017 Christian Pierre MOMON + * Copyright (C) 2013-2018 Christian Pierre MOMON * * This file is part of Devinsy-strings. * @@ -16,7 +16,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with Devinsy-strings. If not, see */ -package fr.devinsy.util.strings; +package fr.devinsy.strings; import java.util.Comparator; diff --git a/src/fr/devinsy/util/strings/StringList.java b/src/fr/devinsy/strings/StringList.java similarity index 98% rename from src/fr/devinsy/util/strings/StringList.java rename to src/fr/devinsy/strings/StringList.java index 0f2fb26..575e1b1 100644 --- a/src/fr/devinsy/util/strings/StringList.java +++ b/src/fr/devinsy/strings/StringList.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2008-2010,2013-2015,2017 Christian Pierre MOMON + * Copyright (C) 2008-2010,2013-2015,2017-2018 Christian Pierre MOMON * * This file is part of Devinsy-strings. * @@ -16,7 +16,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with Devinsy-strings. If not, see */ -package fr.devinsy.util.strings; +package fr.devinsy.strings; import java.io.IOException; import java.text.Collator; @@ -51,8 +51,8 @@ public class StringList extends ArrayList implements CharSequence, Appen } /** - * Constructs a list of string of the specified collection, in the order - * they are returned by the collection's iterator. + * Constructs a list of string of the specified collection, in the order they + * are returned by the collection's iterator. * * @param source */ @@ -147,8 +147,7 @@ public class StringList extends ArrayList implements CharSequence, Appen } /** - * Appends the string representation of the char argument to this string - * list. + * Appends the string representation of the char argument to this string list. * * @param character * @return @@ -230,8 +229,7 @@ public class StringList extends ArrayList implements CharSequence, Appen } /** - * Appends the string representation of the double argument to this string - * list. + * Appends the string representation of the double argument to this string list. * * @param value * @return @@ -247,8 +245,7 @@ public class StringList extends ArrayList implements CharSequence, Appen } /** - * Appends the string representation of the int argument to this string - * list. + * Appends the string representation of the int argument to this string list. * * @param value * @return @@ -264,8 +261,7 @@ public class StringList extends ArrayList implements CharSequence, Appen } /** - * Appends the string representation of the long argument to this string - * list. + * Appends the string representation of the long argument to this string list. * * @param value * @return @@ -305,8 +301,7 @@ public class StringList extends ArrayList implements CharSequence, Appen } /** - * Appends the string representation of the int argument to this string - * list. + * Appends the string representation of the int argument to this string list. * * @param value * @return @@ -351,8 +346,7 @@ public class StringList extends ArrayList implements CharSequence, Appen } /** - * Appends the string representation of the long argument to this string - * list. + * Appends the string representation of the long argument to this string list. * * @param value * @return @@ -432,8 +426,8 @@ public class StringList extends ArrayList implements CharSequence, Appen } /** - * Appends the string representation of the char argument to this string - * list, then append a break line too. + * Appends the string representation of the char argument to this string list, + * then append a break line too. * * @param character * @return @@ -639,8 +633,7 @@ public class StringList extends ArrayList implements CharSequence, Appen } /** - * Deep copy and shallow copy have no sense about a list of immutable - * objects. + * Deep copy and shallow copy have no sense about a list of immutable objects. * * @return the string list */ @@ -1500,9 +1493,8 @@ public class StringList extends ArrayList implements CharSequence, Appen } /** - * Merge all strings of the list into in single string. At the end of - * operation, the new string is the first of the list and the size list is - * 1. + * Merge all strings of the list into in single string. At the end of operation, + * the new string is the first of the list and the size list is 1. * * @return the string list */ @@ -1851,9 +1843,9 @@ public class StringList extends ArrayList implements CharSequence, Appen } /** - * Returns a string containing the concatenation of the strings of this - * list. Between each string of this list, a separator argument string is - * concatenated too. + * Returns a string containing the concatenation of the strings of this list. + * Between each string of this list, a separator argument string is concatenated + * too. * * @param separator * the separator diff --git a/src/fr/devinsy/util/strings/StringListCharIterator.java b/src/fr/devinsy/strings/StringListCharIterator.java similarity index 96% rename from src/fr/devinsy/util/strings/StringListCharIterator.java rename to src/fr/devinsy/strings/StringListCharIterator.java index 6c349db..e1b27e8 100644 --- a/src/fr/devinsy/util/strings/StringListCharIterator.java +++ b/src/fr/devinsy/strings/StringListCharIterator.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2014-2015,2017 Christian Pierre MOMON + * Copyright (C) 2014-2015,2017-2018 Christian Pierre MOMON * * This file is part of Devinsy-strings. * @@ -16,7 +16,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with Devinsy-strings. If not, see */ -package fr.devinsy.util.strings; +package fr.devinsy.strings; import java.util.Iterator; diff --git a/src/fr/devinsy/util/strings/StringListCharPosition.java b/src/fr/devinsy/strings/StringListCharPosition.java similarity index 97% rename from src/fr/devinsy/util/strings/StringListCharPosition.java rename to src/fr/devinsy/strings/StringListCharPosition.java index def5794..318ab58 100644 --- a/src/fr/devinsy/util/strings/StringListCharPosition.java +++ b/src/fr/devinsy/strings/StringListCharPosition.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2013-2015,2017 Christian Pierre MOMON + * Copyright (C) 2013-2015,2017-2018 Christian Pierre MOMON * * This file is part of Devinsy-strings. * @@ -16,7 +16,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with Devinsy-strings. If not, see */ -package fr.devinsy.util.strings; +package fr.devinsy.strings; /** * This class manages a char position in a StringList object. diff --git a/src/fr/devinsy/util/strings/StringListInputStream.java b/src/fr/devinsy/strings/StringListInputStream.java similarity index 96% rename from src/fr/devinsy/util/strings/StringListInputStream.java rename to src/fr/devinsy/strings/StringListInputStream.java index dab0330..0d235a9 100644 --- a/src/fr/devinsy/util/strings/StringListInputStream.java +++ b/src/fr/devinsy/strings/StringListInputStream.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2013-2015,2017 Christian Pierre MOMON + * Copyright (C) 2013-2015,2017-2018 Christian Pierre MOMON * * This file is part of Devinsy-strings. * @@ -16,7 +16,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with Devinsy-strings. If not, see */ -package fr.devinsy.util.strings; +package fr.devinsy.strings; import java.io.IOException; import java.io.InputStream; diff --git a/src/fr/devinsy/util/strings/StringListReader.java b/src/fr/devinsy/strings/StringListReader.java similarity index 96% rename from src/fr/devinsy/util/strings/StringListReader.java rename to src/fr/devinsy/strings/StringListReader.java index c38a3aa..0a71bbd 100644 --- a/src/fr/devinsy/util/strings/StringListReader.java +++ b/src/fr/devinsy/strings/StringListReader.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2013-2017 Christian Pierre MOMON + * Copyright (C) 2013-2018 Christian Pierre MOMON * * This file is part of Devinsy-strings. * @@ -16,7 +16,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with Devinsy-strings. If not, see */ -package fr.devinsy.util.strings; +package fr.devinsy.strings; import java.io.BufferedReader; import java.io.IOException; diff --git a/src/fr/devinsy/util/strings/StringListWriter.java b/src/fr/devinsy/strings/StringListWriter.java similarity index 97% rename from src/fr/devinsy/util/strings/StringListWriter.java rename to src/fr/devinsy/strings/StringListWriter.java index 075e053..4f58113 100644 --- a/src/fr/devinsy/util/strings/StringListWriter.java +++ b/src/fr/devinsy/strings/StringListWriter.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2013-2017 Christian Pierre MOMON + * Copyright (C) 2013-2018 Christian Pierre MOMON * * This file is part of Devinsy-strings. * @@ -16,7 +16,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with Devinsy-strings. If not, see */ -package fr.devinsy.util.strings; +package fr.devinsy.strings; import java.io.IOException; import java.io.Writer; diff --git a/src/fr/devinsy/util/strings/StringSet.java b/src/fr/devinsy/strings/StringSet.java similarity index 97% rename from src/fr/devinsy/util/strings/StringSet.java rename to src/fr/devinsy/strings/StringSet.java index 23c0a04..ababa36 100644 --- a/src/fr/devinsy/util/strings/StringSet.java +++ b/src/fr/devinsy/strings/StringSet.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2014-2017 Christian Pierre MOMON + * Copyright (C) 2014-2018 Christian Pierre MOMON * * This file is part of Devinsy-strings. * @@ -16,7 +16,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with Devinsy-strings. If not, see */ -package fr.devinsy.util.strings; +package fr.devinsy.strings; import java.util.Collection; import java.util.HashSet; @@ -39,8 +39,8 @@ public class StringSet extends HashSet } /** - * Constructs a list of string of the specified collection, in the order - * they are returned by the collection's iterator. + * Constructs a list of string of the specified collection, in the order they + * are returned by the collection's iterator. * * @param source * the source @@ -163,8 +163,7 @@ public class StringSet extends HashSet } /** - * Deep copy and shallow copy have no sense about a list of immutable - * objects. + * Deep copy and shallow copy have no sense about a list of immutable objects. * * @return the string set */ diff --git a/src/fr/devinsy/util/strings/StringsUtils.java b/src/fr/devinsy/strings/StringsUtils.java similarity index 99% rename from src/fr/devinsy/util/strings/StringsUtils.java rename to src/fr/devinsy/strings/StringsUtils.java index a4f522d..9f35fb5 100644 --- a/src/fr/devinsy/util/strings/StringsUtils.java +++ b/src/fr/devinsy/strings/StringsUtils.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2008-2010,2013-2016,2017 Christian Pierre MOMON + * Copyright (C) 2008-2010,2013-2016,2017-2018 Christian Pierre MOMON * * This file is part of Devinsy-strings. * @@ -16,7 +16,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with Devinsy-strings. If not, see */ -package fr.devinsy.util.strings; +package fr.devinsy.strings; import java.io.BufferedReader; import java.io.File; @@ -1393,8 +1393,8 @@ public class StringsUtils * * @param source * the source - * @return If argument is null then returns an empty string, otherwise - * returns a string concatenation of the argument. + * @return If argument is null then returns an empty string, otherwise returns a + * string concatenation of the argument. */ public static String toStringNotNull(final String[] source) { diff --git a/src/fr/devinsy/util/strings/demo/StringsDemo.java b/src/fr/devinsy/strings/demo/StringsDemo.java similarity index 96% rename from src/fr/devinsy/util/strings/demo/StringsDemo.java rename to src/fr/devinsy/strings/demo/StringsDemo.java index 39d8481..d48fa45 100644 --- a/src/fr/devinsy/util/strings/demo/StringsDemo.java +++ b/src/fr/devinsy/strings/demo/StringsDemo.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017 Christian Pierre MOMON + * Copyright (C) 2017-2018 Christian Pierre MOMON * * This file is part of Devinsy-strings. * @@ -16,13 +16,13 @@ * You should have received a copy of the GNU Lesser General Public License * along with Devinsy-strings. If not, see */ -package fr.devinsy.util.strings.demo; +package fr.devinsy.strings.demo; import java.util.ArrayList; import java.util.Date; -import fr.devinsy.util.strings.StringList; -import fr.devinsy.util.strings.StringsUtils; +import fr.devinsy.strings.StringList; +import fr.devinsy.strings.StringsUtils; /** * The Class Demo. diff --git a/test/fr/devinsy/util/strings/StringListTest.java b/test/fr/devinsy/strings/StringListTest.java similarity index 99% rename from test/fr/devinsy/util/strings/StringListTest.java rename to test/fr/devinsy/strings/StringListTest.java index e43974a..93aeecf 100644 --- a/test/fr/devinsy/util/strings/StringListTest.java +++ b/test/fr/devinsy/strings/StringListTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2013,2014,2017 Christian Pierre MOMON + * Copyright (C) 2013,2014,2017-2018 Christian Pierre MOMON * * This file is part of Devinsy-strings. * @@ -16,7 +16,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with Devinsy-strings. If not, see */ -package fr.devinsy.util.strings; +package fr.devinsy.strings; import java.util.Iterator; diff --git a/test/fr/devinsy/util/strings/StringsUtilsTest.java b/test/fr/devinsy/strings/StringsUtilsTest.java similarity index 98% rename from test/fr/devinsy/util/strings/StringsUtilsTest.java rename to test/fr/devinsy/strings/StringsUtilsTest.java index 4a98af6..107d62c 100644 --- a/test/fr/devinsy/util/strings/StringsUtilsTest.java +++ b/test/fr/devinsy/strings/StringsUtilsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2013,2014,2017 Christian Pierre MOMON + * Copyright (C) 2013,2014,2017-2018 Christian Pierre MOMON * * This file is part of Devinsy-strings. * @@ -16,7 +16,7 @@ * You should have received a copy of the GNU Lesser General Public License * along with Devinsy-strings. If not, see */ -package fr.devinsy.util.strings; +package fr.devinsy.strings; import java.util.ArrayList; import java.util.Collection;