List:NDB Connectors« Previous MessageNext Message »
From:Monty Taylor Date:January 3 2008 12:05am
Subject:Rev 404: Made BaseCallback abstract so we can force callback to get overridden. duh. in http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/dev...
View as plain text  
At http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/devel

------------------------------------------------------------
revno: 404
revision-id:mtaylor@stripped
parent: mtaylor@stripped
committer: Monty Taylor <mtaylor@stripped>
branch nick: devel
timestamp: Wed 2008-01-02 18:05:27 -0600
message:
  Made BaseCallback abstract so we can force callback to get overridden. duh.
modified:
  java/com/mysql/cluster/ndbj/BaseCallback.java
indbcallable.java-20070913212805-mw0t23qijtyjad85-1
=== modified file 'java/com/mysql/cluster/ndbj/BaseCallback.java'
--- a/java/com/mysql/cluster/ndbj/BaseCallback.java	2007-12-09 22:26:12 +0000
+++ b/java/com/mysql/cluster/ndbj/BaseCallback.java	2008-01-03 00:05:27 +0000
@@ -2,7 +2,7 @@
 
 import com.mysql.cluster.ndbj.ndbjJNI;
 
-public class BaseCallback { 
+public abstract class BaseCallback { 
 
   private long create_time;
   private long start_time;
@@ -29,7 +29,7 @@
     this.end_time = this.getMicroTime();
   };
   
-  public void callback(int result) {}
+  public abstract void callback(int result);
 
   //public void callback(int result, NdbTransaction myTrans) {}
 

Thread
Rev 404: Made BaseCallback abstract so we can force callback to get overridden. duh. in http://bazaar.launchpad.net/~ndb-connectors/ndb-connectors/dev...Monty Taylor3 Jan