List Info

Thread: class variables vs. class-instance variables




class variables vs. class-instance variables
country flaguser name
Italy
2007-03-16 10:48:02
Here's my current patch to remove many class variables.
Some of them could be considered bugs.  Some of them
reduce duplicated code.  Some are leftovers of class
variables that had *already* been converted to
class-instance variables, which sort of proves my point.

I'd appreciate another pair of eyes or two going
through it.

 compiler/STCompiler.st    |    2 -
 compiler/STLoader.st      |    2 -
 compiler/STSymTable.st    |    2 -
 doc/gst.1                 |    2 -
 gtk/GtkDecl.st            |   13 ++++---
 java/JavaClassFiles.st    |   66
++++++++++++++++++-------------------
 java/JavaRuntime.st       |   49
++++++++++++++--------------
 java/java_lang_Runtime.st |    2 -
 kernel/ContextPart.st     |    2 -
 kernel/DLD.st             |   31 +++++++++--------
 kernel/ObjDumper.st       |   20 ++++++++---
 kernel/PkgLoader.st       |   29 +++++++++-------
 kernel/Random.st          |   18 +++++++---
 kernel/Regex.st           |   23 ++++++-------
 kernel/VFS.st             |   80
+++++++++++++++++++++++++++++++---------------
 kernel/ValueAdapt.st      |   15 ++++++--
 libgst/dict.c             |    7 ----
 libgst/lib.c              |    2 -
 net/Base.st               |   11 ++++--
 net/MIME.st               |   15 --------
 net/URIResolver.st        |   17 +++++----
 net/httpd/WikiServer.st   |    6 ++-
 22 files changed, 236 insertions(+), 178 deletions(-)

_______________________________________________
help-smalltalk mailing list
help-smalltalkgnu.org

http://lists.gnu.org/mailman/listinfo/help-smalltalk

  
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )