diff --git a/src/as/com/threerings/presents/client/ConfirmAdapter.as b/src/as/com/threerings/presents/client/ConfirmAdapter.as index ccab1e6ea..6cc6e435c 100644 --- a/src/as/com/threerings/presents/client/ConfirmAdapter.as +++ b/src/as/com/threerings/presents/client/ConfirmAdapter.as @@ -24,8 +24,11 @@ package com.threerings.presents.client { public class ConfirmAdapter extends InvocationAdapter implements InvocationService_ConfirmListener { - public function ConfirmAdapter ( - failed :Function, processed :Function = null) + /** + * Construct a confirm adapter. + * The processed function may be null. + */ + public function ConfirmAdapter (processed :Function, failed :Function) { super(failed); _processed = processed; diff --git a/src/as/com/threerings/presents/client/ResultAdapter.as b/src/as/com/threerings/presents/client/ResultAdapter.as index 6af94c694..5a505e3c4 100644 --- a/src/as/com/threerings/presents/client/ResultAdapter.as +++ b/src/as/com/threerings/presents/client/ResultAdapter.as @@ -27,7 +27,7 @@ package com.threerings.presents.client { public class ResultAdapter extends InvocationAdapter implements InvocationService_ResultListener { - public function ResultAdapter (failed :Function, processed :Function) + public function ResultAdapter (processed :Function, failed :Function) { super(failed); _processed = processed;