nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib/standard/stream: Renamed streams for more explicit denomination
[nit.git]
/
contrib
/
pep8analysis
/
src
/
pep8analysis_web.nit
diff --git
a/contrib/pep8analysis/src/pep8analysis_web.nit
b/contrib/pep8analysis/src/pep8analysis_web.nit
index
b991952
..
4d9d0aa
100644
(file)
--- a/
contrib/pep8analysis/src/pep8analysis_web.nit
+++ b/
contrib/pep8analysis/src/pep8analysis_web.nit
@@
-50,7
+50,7
@@
redef class AnalysisManager
do
sys.suggest_garbage_collection
do
sys.suggest_garbage_collection
- var stream = new StringIStream(src)
+ var stream = new StringReader(src)
var ast = build_ast("web", stream)
if ast == null then return
var ast = build_ast("web", stream)
if ast == null then return
@@
-95,7
+95,7
@@
redef class AnalysisManager
print_notes
if notes.is_empty then print "Success: Nothing wrong detected"
print_notes
if notes.is_empty then print "Success: Nothing wrong detected"
- var of = new StringOStream
+ var of = new StringWriter
cfg.print_dot(of, false)
of.close
show_graph(of.to_s)
cfg.print_dot(of, false)
of.close
show_graph(of.to_s)