From 2e0c39a2264dd7275e29a1142a5e065933d6119b Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Fri, 28 Apr 2017 00:01:22 +0200 Subject: [PATCH] Added header. Improved naming. --- .../util/strings/StringLengthComparator.java | 18 ++++++++++++++++++ .../devinsy/util/strings/StringListWriter.java | 6 +++--- 2 files changed, 21 insertions(+), 3 deletions(-) mode change 100755 => 100644 src/fr/devinsy/util/strings/StringListWriter.java diff --git a/src/fr/devinsy/util/strings/StringLengthComparator.java b/src/fr/devinsy/util/strings/StringLengthComparator.java index 9d436dd..adac2f1 100644 --- a/src/fr/devinsy/util/strings/StringLengthComparator.java +++ b/src/fr/devinsy/util/strings/StringLengthComparator.java @@ -1,3 +1,21 @@ +/** + * Copyright (C) 2013-2017 Christian Pierre MOMON + * + * This file is part of Devinsy-utils. + * + * Devinsy-utils 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. + * + * Devinsy-utils 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Devinsy-utils. If not, see + */ package fr.devinsy.util.strings; import java.util.Comparator; diff --git a/src/fr/devinsy/util/strings/StringListWriter.java b/src/fr/devinsy/util/strings/StringListWriter.java old mode 100755 new mode 100644 index 7fe4394..b52bf3c --- a/src/fr/devinsy/util/strings/StringListWriter.java +++ b/src/fr/devinsy/util/strings/StringListWriter.java @@ -1,5 +1,5 @@ /** - * Copyright (C) 2013-2015 Christian Pierre MOMON + * Copyright (C) 2013-2017 Christian Pierre MOMON * * This file is part of Devinsy-utils. * @@ -39,9 +39,9 @@ public class StringListWriter extends Writer /** * */ - public StringListWriter(final int size) + public StringListWriter(final int initialCapacity) { - this.out = new StringList(size); + this.out = new StringList(initialCapacity); } /**