[Cherbot-commit] SF.net SVN: cherbot: [104] trunk/src/net/sf/cherbot/redel/Patterns.java
Status: Alpha
Brought to you by:
christianhujer
|
From: <chr...@us...> - 2007-06-29 19:11:41
|
Revision: 104
http://svn.sourceforge.net/cherbot/?rev=104&view=rev
Author: christianhujer
Date: 2007-06-29 12:11:37 -0700 (Fri, 29 Jun 2007)
Log Message:
-----------
Added missing @Target declaration. This annotation only makes sense for methods.
Modified Paths:
--------------
trunk/src/net/sf/cherbot/redel/Patterns.java
Modified: trunk/src/net/sf/cherbot/redel/Patterns.java
===================================================================
--- trunk/src/net/sf/cherbot/redel/Patterns.java 2007-06-25 20:51:55 UTC (rev 103)
+++ trunk/src/net/sf/cherbot/redel/Patterns.java 2007-06-29 19:11:37 UTC (rev 104)
@@ -8,11 +8,14 @@
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+import java.lang.annotation.ElementType;
/** Annotation for methods that should be automatically called when their regular expression matches.
* @author <a href="mailto:ch...@ri...">Christian Hujer</a>
*/
@Retention(RetentionPolicy.RUNTIME)
+@Target(ElementType.METHOD)
public @interface Patterns {
/** Returns the regular expressions that should match for this method to be invoked.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|