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

Unified Diff: sdk/lib/io/process.dart

Issue 96893002: Fully rename argument (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/process.dart
diff --git a/sdk/lib/io/process.dart b/sdk/lib/io/process.dart
index dd7f0dcdaa5f8b24db4db393035ffe47378d1257..3c0f0fe392a3b74891afa4d2b6eb4fe680c3548e 100644
--- a/sdk/lib/io/process.dart
+++ b/sdk/lib/io/process.dart
@@ -41,10 +41,10 @@ class _ProcessUtils {
* cross-platform issues.
*/
void exit(int code) {
- if (status is !int) {
- throw new ArgumentError("exit: int status expected");
+ if (code is !int) {
+ throw new ArgumentError("Integer value for exit code expected");
}
- _ProcessUtils._exit(status);
+ _ProcessUtils._exit(code);
}
/**
@@ -58,10 +58,10 @@ void exit(int code) {
* exit code.
*/
set exitCode(int code) {
- if (status is !int) {
- throw new ArgumentError("setExitCode: int status expected");
+ if (code is !int) {
+ throw new ArgumentError("Integer value for exit code expected");
}
- _ProcessUtils._setExitCode(status);
+ _ProcessUtils._setExitCode(code);
}
/**
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698