Revision: 8053
Author: [email protected]
Date: Wed May  5 10:09:25 2010
Log: Add assert to make fire failures less mysterious

http://code.google.com/p/google-web-toolkit/source/detail?r=8053

Modified:
/branches/2.1/bikeshed/src/com/google/gwt/requestfactory/client/impl/AbstractRequest.java

=======================================
--- /branches/2.1/bikeshed/src/com/google/gwt/requestfactory/client/impl/AbstractRequest.java Fri Apr 30 09:10:49 2010 +++ /branches/2.1/bikeshed/src/com/google/gwt/requestfactory/client/impl/AbstractRequest.java Wed May 5 10:09:25 2010
@@ -43,6 +43,7 @@
   }

   public void fire() {
+    assert null != receiver : "to(Receiver) was not called";
     requestFactory.fire(this);
   }

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to