Revision: 14991
http://gate.svn.sourceforge.net/gate/?rev=14991&view=rev
Author: markagreenwood
Date: 2012-01-10 18:16:40 +0000 (Tue, 10 Jan 2012)
Log Message:
-----------
escape the @ in javadoc comments so it doesn't get parsed as an actual
annotation
Modified Paths:
--------------
gate/trunk/src/gate/creole/metadata/Optional.java
gate/trunk/src/gate/creole/metadata/RunTime.java
Modified: gate/trunk/src/gate/creole/metadata/Optional.java
===================================================================
--- gate/trunk/src/gate/creole/metadata/Optional.java 2012-01-10 18:02:42 UTC
(rev 14990)
+++ gate/trunk/src/gate/creole/metadata/Optional.java 2012-01-10 18:16:40 UTC
(rev 14991)
@@ -26,18 +26,18 @@
* parameters that are optional.
*
* <pre>
- * @Optional
- * @CreoleParameter
+ * @Optional
+ * @CreoleParameter
* public void setAnnotationTypes(List<String> types) { ... }
* </pre>
*
* While usually used to mark parameters as optional, this annotation
* also supports an optional boolean flag, so it can be used as
- * <code>@Optional(false)</code> to mark required parameters. This is not
+ * <code>@Optional(false)</code> to mark required parameters. This is not
* generally necessary, as parameters are required by default, however if a
- * given parameter has been annotated as <code>@Optional</code> in a superclass
+ * given parameter has been annotated as <code>@Optional</code> in a
superclass
* this will be inherited. If you want to change the parameter to be required
- * in a subclass then you must use <code>@Optional(false)</code>.
+ * in a subclass then you must use <code>@Optional(false)</code>.
*/
@Documented
@Target( {ElementType.METHOD})
Modified: gate/trunk/src/gate/creole/metadata/RunTime.java
===================================================================
--- gate/trunk/src/gate/creole/metadata/RunTime.java 2012-01-10 18:02:42 UTC
(rev 14990)
+++ gate/trunk/src/gate/creole/metadata/RunTime.java 2012-01-10 18:16:40 UTC
(rev 14991)
@@ -28,19 +28,19 @@
* {@link java.lang.Runtime} class in java.lang.
*
* <pre>
- * @Optional
- * @RunTime
- * @CreoleParameter
+ * @Optional
+ * @RunTime
+ * @CreoleParameter
* public void setAnnotationTypes(List<String> types) { ... }
* </pre>
*
* While usually used to mark parameters as runtime parameters, this annotation
* also supports an optional boolean flag, so it can be used as
- * <code>@RunTime(false)</code> to mark init-time parameters. This is not
+ * <code>@RunTime(false)</code> to mark init-time parameters. This is not
* generally necessary, as parameters are init-time by default, however if a
- * given parameter has been annotated as <code>@RunTime</code> in a superclass
+ * given parameter has been annotated as <code>@RunTime</code> in a
superclass
* this will be inherited. If you want to change the parameter to be init-time
- * in a subclass then you must use <code>@RunTime(false)</code>.
+ * in a subclass then you must use <code>@RunTime(false)</code>.
*/
@Documented
@Target( {ElementType.METHOD})
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs