compiler/tests/extras/PPCResources.st
changeset 461 5986bf6d7d60
parent 460 87a3d30ab570
child 465 f729f6cd3c76
--- a/compiler/tests/extras/PPCResources.st	Tue May 12 01:33:33 2015 +0100
+++ b/compiler/tests/extras/PPCResources.st	Tue May 12 01:57:37 2015 +0100
@@ -9,6 +9,7 @@
 	category:'PetitCompiler-Extras-Tests-Support'
 !
 
+
 !PPCResources methodsFor:'expressions'!
 
 expressionOfSize: size
@@ -53,26 +54,29 @@
         2000 timesRepeat: [ 
             sources add: (self expressionOfSize: 200).
         ].
-        sources	
+        sources 
     ].
 
     ^ cache at: #expressionSourcesBig
-    
+
+    "Modified: / 12-05-2015 / 01:44:58 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+!
 
 expressionSourcesMedium
     | sources |
-    
+
     cache at: #expressionSourcesMedium ifAbsentPut: [ 
         sources := OrderedCollection new.
-        
+
         1000 timesRepeat: [ 
             sources add: (self expressionOfSize: 100).
         ].
-        sources	
+        sources 
     ].
 
     ^ cache at: #expressionSourcesMedium
-    
+
+    "Created: / 12-05-2015 / 01:45:00 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
 !PPCResources methodsFor:'initialization'!
@@ -89,7 +93,9 @@
     files := self readDirectory: directory.
     files := self files: files withExtension: 'java'.
     
-    ^ files collect: [ :f | (FileStream fileNamed: f) contents ]
+    ^ files collect: [ :f | (FileStream fileNamed: f) contents asString ]
+
+    "Modified: / 12-05-2015 / 01:50:19 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 javaLangMath