[jboss-dev-forums] [Design of POJO Server] - Re: Making Creators declare supported annotation types

skajotde do-not-reply at jboss.com
Thu Jul 17 12:19:47 EDT 2008


"emuckenhuber" wrote :  and null for Method and Field annotations. 
  | 
  | Any further ideas / comments ?

Technical remark ;) Preferred way (by me and described in Effective Java) is to return always collections, empty or not emty instead of null ;)

http://java.sun.com/j2se/1.5.0/docs/api/java/util/Collections.html#EMPTY_LIST]Java 5 Collections#EMPTY_LIST

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4165109#4165109

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4165109



More information about the jboss-dev-forums mailing list