Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(520)

Unified Diff: pkg/analyzer/lib/src/generated/java_core.dart

Issue 649873007: Remove Math and most uses of PrintStringWriter (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer/lib/src/generated/engine.dart ('k') | pkg/analyzer/lib/src/generated/parser.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/generated/java_core.dart
diff --git a/pkg/analyzer/lib/src/generated/java_core.dart b/pkg/analyzer/lib/src/generated/java_core.dart
index 0801917da7efcb7a7f89fafcc48165077a2d4796..d7ea1fbeea25a7202eb21dd44a09208a1ce725b4 100644
--- a/pkg/analyzer/lib/src/generated/java_core.dart
+++ b/pkg/analyzer/lib/src/generated/java_core.dart
@@ -248,6 +248,10 @@ class StringUtils {
return iter.join(separator);
}
+ static void printf(StringBuffer buffer, String fmt, List args) {
+ buffer.write(_printf(fmt, args));
+ }
+
static String remove(String str, String remove) {
if (isEmpty(str) || isEmpty(remove)) {
return str;
@@ -283,11 +287,6 @@ class StringUtils {
}
}
-class Math {
- static num max(num a, num b) => math.max(a, b);
- static num min(num a, num b) => math.min(a, b);
-}
-
class RuntimeException extends JavaException {
RuntimeException({String message: "", Exception cause: null}) :
super(message, cause);
« no previous file with comments | « pkg/analyzer/lib/src/generated/engine.dart ('k') | pkg/analyzer/lib/src/generated/parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698