Make String and StringIterator final

Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/1e30e5ad
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/1e30e5ad
Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/1e30e5ad

Branch: refs/heads/master
Commit: 1e30e5adf6250a3170b5a6628ec3f9164a414979
Parents: 2bff781
Author: Nick Wellnhofer <[email protected]>
Authored: Tue May 12 18:58:24 2015 +0200
Committer: Nick Wellnhofer <[email protected]>
Committed: Tue May 12 19:57:45 2015 +0200

----------------------------------------------------------------------
 runtime/core/Clownfish/String.cfh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/1e30e5ad/runtime/core/Clownfish/String.cfh
----------------------------------------------------------------------
diff --git a/runtime/core/Clownfish/String.cfh 
b/runtime/core/Clownfish/String.cfh
index 64e7d22..478ad19 100644
--- a/runtime/core/Clownfish/String.cfh
+++ b/runtime/core/Clownfish/String.cfh
@@ -20,7 +20,7 @@ parcel Clownfish;
  * Immutable string holding Unicode characters.
  */
 
-class Clownfish::String nickname Str
+final class Clownfish::String nickname Str
     inherits Clownfish::Obj {
 
     const char *ptr;
@@ -275,7 +275,7 @@ class Clownfish::String nickname Str
     Tail(String *self);
 }
 
-class Clownfish::StringIterator nickname StrIter
+final class Clownfish::StringIterator nickname StrIter
     inherits Clownfish::Obj {
 
     String *string;

Reply via email to