commit | 9966fb0b39b34cde88b8d0956dff5c6cf25848a4 | [log] [tgz] |
---|---|---|
author | Jeff Schumacher <jeffschu@google.com> | Wed Jul 28 12:59:06 2010 -0700 |
committer | Jeff Schumacher <jeffschu@google.com> | Wed Jul 28 13:55:58 2010 -0700 |
tree | 1922f59fa0dc9e8e4c7924d0585a9314fb6f3e5a | |
parent | 9a9c21d675cbb7a15ec57d8f3cf4e08ab0831949 [diff] |
Added code to check that objects have @Column annotations If a class to be encoded has no @Column annotations the CodecGen should throw an Exception, as a class with no @Column annotations cannot be correctly represented on protobuf. I added a check to scanFields to check for this, and throw an appropriate exception. Change-Id: Ib6962d1b2e05e5b494ca0cee2091caa1f5daa731