tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hls...@apache.org
Subject [3/14] git commit: Add an annotation to clearly identify incompatible changes to method signatures
Date Thu, 14 Mar 2013 23:09:18 GMT
Add an annotation to clearly identify incompatible changes to method signatures


Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/47b8d6ec
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/47b8d6ec
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/47b8d6ec

Branch: refs/heads/master
Commit: 47b8d6ec07ecee233fdbbfd28b9c23e3f1b76d05
Parents: 8a29dbf
Author: Howard M. Lewis Ship <hlship@apache.org>
Authored: Wed Jan 23 17:03:32 2013 -0800
Committer: Howard M. Lewis Ship <hlship@apache.org>
Committed: Thu Mar 14 13:38:02 2013 -0700

----------------------------------------------------------------------
 .../ioc/annotations/IncompatibleChange.java        |   35 +++++++++++++++
 1 files changed, 35 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/47b8d6ec/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/annotations/IncompatibleChange.java
----------------------------------------------------------------------
diff --git a/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/annotations/IncompatibleChange.java
b/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/annotations/IncompatibleChange.java
new file mode 100644
index 0000000..7b0f722
--- /dev/null
+++ b/tapestry-ioc/src/main/java/org/apache/tapestry5/ioc/annotations/IncompatibleChange.java
@@ -0,0 +1,35 @@
+//  Copyright 2013 The Apache Software Foundation
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+//     http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+package org.apache.tapestry5.ioc.annotations;
+
+import java.lang.annotation.*;
+
+@Target(ElementType.METHOD)
+@Retention(RetentionPolicy.CLASS)
+@Documented
+public @interface IncompatibleChange
+{
+    /**
+     * Identifies the release in which this signature of the method.
+     *
+     * @return a release number, e.g., "5.4"
+     */
+    String release();
+
+    /**
+     * Short string describing what changed.
+     */
+    String details();
+}


Mime
View raw message