Revision: 7969
Author: rj...@google.com
Date: Thu Apr 22 16:27:00 2010
Log: Turn off strict Record#get() implementaiton until it's more practical
to actually request all fields.

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

Modified:
/trunk/bikeshed/src/com/google/gwt/valuestore/shared/impl/RecordJsoImpl.java

=======================================
--- /trunk/bikeshed/src/com/google/gwt/valuestore/shared/impl/RecordJsoImpl.java Tue Apr 20 17:26:34 2010 +++ /trunk/bikeshed/src/com/google/gwt/valuestore/shared/impl/RecordJsoImpl.java Thu Apr 22 16:27:00 2010
@@ -55,8 +55,9 @@

   @SuppressWarnings("unchecked")
   public final <V> V get(Property<V> property) {
- assert isDefined(property.getName()) : "Cannot ask for a property before setting it: "
-        + property.getName();
+ // TODO lax for the moment b/c client code can't yet reasonably make the request +// assert isDefined(property.getName()) : "Cannot ask for a property before setting it: "
+//         + property.getName();

     if (Integer.class.equals(property.getType())) {
       return (V) Integer.valueOf(getInt(property.getName()));

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

Reply via email to