JavaCodeLibrary.st
branchrefactoring-javalibrary
changeset 1953 1e42ad3fc322
parent 1951 4759acf61df0
child 2004 160dfe552938
--- a/JavaCodeLibrary.st	Tue Jan 15 18:12:48 2013 +0000
+++ b/JavaCodeLibrary.st	Wed Jan 16 13:37:32 2013 +0000
@@ -111,11 +111,12 @@
 sourcePathOn:aStream
     "superclass JavaCodeLibraryOrBundle says that I am responsible to implement this method"
 
-    sources asFilename isReadable ifTrue:[
+    (sources notNil and:[sources asFilename isReadable]) ifTrue:[
         aStream nextPut: sources.
     ].
 
     "Created: / 12-01-2013 / 16:24:58 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 16-01-2013 / 13:12:30 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
 !JavaCodeLibrary class methodsFor:'documentation'!