You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by hl...@apache.org on 2014/06/03 18:21:20 UTC

[3/4] git commit: Allow IncompatibleChange to be attached to fields as well as methods

Allow IncompatibleChange to be attached to fields as well as methods


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

Branch: refs/heads/master
Commit: 6e63b052ac090dca7a8496838e9888cf8b48340d
Parents: c8a7edd
Author: Howard M. Lewis Ship <hl...@apache.org>
Authored: Tue Jun 3 09:18:47 2014 -0700
Committer: Howard M. Lewis Ship <hl...@apache.org>
Committed: Tue Jun 3 09:21:33 2014 -0700

----------------------------------------------------------------------
 .../org/apache/tapestry5/ioc/annotations/IncompatibleChange.java | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/6e63b052/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
index 38b1535..ffc9490 100644
--- 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
@@ -1,5 +1,3 @@
-//  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
@@ -16,7 +14,7 @@ package org.apache.tapestry5.ioc.annotations;
 
 import java.lang.annotation.*;
 
-@Target(ElementType.METHOD)
+@Target({ElementType.METHOD, ElementType.FIELD})
 @Retention(RetentionPolicy.CLASS)
 @Documented
 public @interface IncompatibleChange