floitsch@google.com
2013-02-15 13:57:18 +00:00
parent ad839e6957
commit 0672317bec
26 changed files with 9 additions and 352 deletions
+1 -1
View File
@@ -35,5 +35,5 @@ class ByteStream extends StreamView<List<int>> {
toBytes().then((bytes) => decodeString(bytes, encoding));
Stream<String> toStringStream([Encoding encoding=Encoding.UTF_8]) =>
wrapStream(mappedBy((bytes) => decodeString(bytes, encoding)));
wrapStream(map((bytes) => decodeString(bytes, encoding)));
}
+1 -1
View File
@@ -216,7 +216,7 @@ class SimpleJsonFormat extends Format {
} else {
throw new SerializationException("Invalid data format");
}
// Do not use mappedBy or other lazy operations for this. They do not play
// Do not use map or other lazy operations for this. They do not play
// well with a function that destructively modifies its arguments.
var newData = mapValues(data, (each) => recursivelyFixUp(each, r, result));
result[ruleNumber].add(newData);