#QUALITY by exept cvs_MAIN
authorClaus Gittinger <cg@exept.de>
Mon, 26 Aug 2019 10:05:55 +0200
branchcvs_MAIN
changeset 3940 0384371831e4
parent 3939 59ea7239aee5
child 3941 35c5061a7fe0
#QUALITY by exept class: JavaSourceFileWriter changed: #fileOutCommentEndOn: #fileOutCommentLine:on: #fileOutCommentStartOn: return the receiver; not the stream.
JavaSourceFileWriter.st
--- a/JavaSourceFileWriter.st	Sun Aug 25 16:54:21 2019 +0200
+++ b/JavaSourceFileWriter.st	Mon Aug 26 10:05:55 2019 +0200
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "
  COPYRIGHT (c) 1996-2015 by Claus Gittinger
 
@@ -20,6 +22,8 @@
 "
 "{ Package: 'stx:libjava' }"
 
+"{ NameSpace: Smalltalk }"
+
 AbstractSourceFileWriter subclass:#JavaSourceFileWriter
 	instanceVariableNames:''
 	classVariableNames:''
@@ -86,7 +90,7 @@
     "
      Writes a comment end mark on aStream."
 
-    ^ aStream nextPutAll: ' */'
+    aStream nextPutAll: ' */'
 
     "Modified: / 27-10-2010 / 18:39:49 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
@@ -94,7 +98,9 @@
 fileOutCommentLine:aString on:aStream
     "superclass AbstractSourceFileWriter says that I am responsible to implement this method"
 
-    ^ aStream nextPutAll: '// '; nextPutAll: aString
+    aStream 
+        nextPutAll: '// '; 
+        nextPutAll: aString
 
     "Modified: / 27-10-2010 / 18:40:48 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
@@ -103,7 +109,7 @@
     "
      Writes a comment end mark on aStream."
 
-    ^ aStream nextPutAll: '/* '
+    aStream nextPutAll: '/* '
 
     "Modified: / 27-10-2010 / 18:39:59 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
@@ -111,7 +117,7 @@
 !JavaSourceFileWriter class methodsFor:'documentation'!
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libjava/JavaSourceFileWriter.st,v 1.7 2015-03-20 12:08:00 vrany Exp $'
+    ^ '$Header$'
 !
 
 version_HG
@@ -120,6 +126,6 @@
 !
 
 version_SVN
-    ^ 'Id'
+    ^ '$Id$'
 ! !