From richfaces-svn-commits at lists.jboss.org Mon Jan 25 22:15:24 2010 Content-Type: multipart/mixed; boundary="===============6560275782961518531==" MIME-Version: 1.0 From: richfaces-svn-commits at lists.jboss.org To: richfaces-svn-commits at lists.jboss.org Subject: [richfaces-svn-commits] JBoss Rich Faces SVN: r16358 - in root/cdk/trunk/plugins/annotations/src/main/java: javax and 1 other directories. Date: Mon, 25 Jan 2010 22:15:24 -0500 Message-ID: <201001260315.o0Q3FOZq023602@svn01.web.mwc.hst.phx2.redhat.com> --===============6560275782961518531== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: alexsmirnov Date: 2010-01-25 22:15:23 -0500 (Mon, 25 Jan 2010) New Revision: 16358 Added: root/cdk/trunk/plugins/annotations/src/main/java/javax/ root/cdk/trunk/plugins/annotations/src/main/java/javax/annotation/ root/cdk/trunk/plugins/annotations/src/main/java/javax/annotation/Nullab= le.java Log: add JSR-305 "Nullable" annotation Added: root/cdk/trunk/plugins/annotations/src/main/java/javax/annotation/Nu= llable.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- root/cdk/trunk/plugins/annotations/src/main/java/javax/annotation/Nulla= ble.java (rev 0) +++ root/cdk/trunk/plugins/annotations/src/main/java/javax/annotation/Nulla= ble.java 2010-01-26 03:15:23 UTC (rev 16358) @@ -0,0 +1,24 @@ +package javax.annotation; + +import java.lang.annotation.Documented; +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + + + +/** + * This is a JSR-305= annotation. The presence of this annotation + * indicates that parameter or field may have null value + * @author asmirnov + * @version $Id$ + * + */ +(a)Documented + +(a)Retention(RetentionPolicy.RUNTIME) +(a)Target({ElementType.PARAMETER, ElementType.FIELD}) +public @interface Nullable { + +} Property changes on: root/cdk/trunk/plugins/annotations/src/main/java/javax= /annotation/Nullable.java ___________________________________________________________________ Name: svn:mime-type + text/plain Name: svn:eol-style + native --===============6560275782961518531==--