From: Jean Privat Date: Wed, 26 Aug 2015 20:14:08 +0000 (-0400) Subject: lib/standard: fix whitespaces before renaming X-Git-Tag: v0.7.8~67^2~7 X-Git-Url: http://nitlanguage.org lib/standard: fix whitespaces before renaming Signed-off-by: Jean Privat --- diff --git a/lib/standard/collection/hash_collection.nit b/lib/standard/collection/hash_collection.nit index 961e560..1c9c17c 100644 --- a/lib/standard/collection/hash_collection.nit +++ b/lib/standard/collection/hash_collection.nit @@ -505,4 +505,3 @@ private class HashSetIterator[E] _node = _set._first_item end end - diff --git a/lib/standard/collection/list.nit b/lib/standard/collection/list.nit index 021a80c..4aa3242 100644 --- a/lib/standard/collection/list.nit +++ b/lib/standard/collection/list.nit @@ -4,7 +4,7 @@ # # This file is free software, which comes along with NIT. This software 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 +# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. You can modify it is you want, provided this header # is kept unaltered, and a notification of the changes is added. # You are allowed to redistribute it and sell it, alone or is a part of @@ -49,9 +49,9 @@ class List[E] var t = _head while t != null do l += 1 - t = t.next + t = t.next end - return l + return l end # O(n) @@ -198,7 +198,7 @@ class List[E] # Build an empty list. init do end - + # Build a list filled with the items of `coll`. init from(coll: Collection[E]) do append(coll) @@ -219,7 +219,7 @@ class List[E] n = n.next i -= 1 end - return n + return n end # get the first node that contains `e` after 'after', null otherwise diff --git a/lib/standard/environ.nit b/lib/standard/environ.nit index adfbedd..4774878 100644 --- a/lib/standard/environ.nit +++ b/lib/standard/environ.nit @@ -5,7 +5,7 @@ # # This file is free software, which comes along with NIT. This software 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 +# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. You can modify it is you want, provided this header # is kept unaltered, and a notification of the changes is added. # You are allowed to redistribute it and sell it, alone or is a part of diff --git a/lib/standard/exec.nit b/lib/standard/exec.nit index 3e0d97a..10c5374 100644 --- a/lib/standard/exec.nit +++ b/lib/standard/exec.nit @@ -375,4 +375,3 @@ private extern class NativeProcess `{ se_exec_data_t* `} } `} end - diff --git a/lib/standard/standard.nit b/lib/standard/standard.nit index 2251bc3..3dab695 100644 --- a/lib/standard/standard.nit +++ b/lib/standard/standard.nit @@ -5,7 +5,7 @@ # # This file is free software, which comes along with NIT. This software 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 +# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. You can modify it is you want, provided this header # is kept unaltered, and a notification of the changes is added. # You are allowed to redistribute it and sell it, alone or is a part of @@ -16,7 +16,7 @@ module standard import posix -import environ +import environ import time import file import exec