lib/java: add some Java collections
[nit.git] / lib / symbol.nit
index d3a27ec..1e9fb67 100644 (file)
@@ -12,7 +12,7 @@
 
 # Symbol classes
 # FIXME: Should be deprecated soon
-package symbol
+module symbol
 
 redef class String
        # Get the unique corresponding to the string
@@ -31,7 +31,7 @@ end
 
 # A symbol is a unique immutable string
 class Symbol
-       var _string: String
+       private var string: String
        redef fun to_s do return _string.to_s
 
        # Only used by String::to_symbol