Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreutarass2008-06-25 03:05:22 -0400
committereutarass2008-06-25 03:05:22 -0400
commit22448ad8dad9f5ef72c65700bfaf86913effb051 (patch)
tree3fca405069460163eaa4c4cb7f7c1a237dc42769 /examples
parentb975e7bbc93133f35a5bc31747e2c7e30f5c2d5d (diff)
downloadorg.eclipse.tcf-22448ad8dad9f5ef72c65700bfaf86913effb051.tar.gz
org.eclipse.tcf-22448ad8dad9f5ef72c65700bfaf86913effb051.tar.xz
org.eclipse.tcf-22448ad8dad9f5ef72c65700bfaf86913effb051.zip
Bug 232410: [tcf][api] TCF needs standard way to define agent error codes
Diffstat (limited to 'examples')
-rw-r--r--examples/org.eclipse.tm.tcf.examples.daytime/src/org/eclipse/tm/internal/tcf/examples/daytime/DaytimeServiceProxy.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/org.eclipse.tm.tcf.examples.daytime/src/org/eclipse/tm/internal/tcf/examples/daytime/DaytimeServiceProxy.java b/examples/org.eclipse.tm.tcf.examples.daytime/src/org/eclipse/tm/internal/tcf/examples/daytime/DaytimeServiceProxy.java
index 4270aee4d..cefa9b92e 100644
--- a/examples/org.eclipse.tm.tcf.examples.daytime/src/org/eclipse/tm/internal/tcf/examples/daytime/DaytimeServiceProxy.java
+++ b/examples/org.eclipse.tm.tcf.examples.daytime/src/org/eclipse/tm/internal/tcf/examples/daytime/DaytimeServiceProxy.java
@@ -45,9 +45,9 @@ public class DaytimeServiceProxy implements IDaytimeService {
public void done(Exception error, Object[] args) {
String str = null;
if (error == null) {
- assert args.length == 3;
- error = toError(args[0], args[1]);
- str = (String)args[2];
+ assert args.length == 2;
+ error = toError(args[0]);
+ str = (String)args[1];
}
done.doneGetTimeOfDay(token, error, str);
}

Back to the top