You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tamaya.apache.org by pl...@apache.org on 2015/01/22 17:49:37 UTC

incubator-tamaya git commit: TAMAYA-53 Added serialVersionUID to DynamicValue.

Repository: incubator-tamaya
Updated Branches:
  refs/heads/master d1e3d0220 -> 97a9854f3


TAMAYA-53 Added serialVersionUID to DynamicValue.


Project: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/commit/97a9854f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/tree/97a9854f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/diff/97a9854f

Branch: refs/heads/master
Commit: 97a9854f3a5a80b7a0cbd048d5f599a724470955
Parents: d1e3d02
Author: Oliver B. Fischer <pl...@apache.org>
Authored: Thu Jan 22 17:48:59 2015 +0100
Committer: Oliver B. Fischer <pl...@apache.org>
Committed: Thu Jan 22 17:48:59 2015 +0100

----------------------------------------------------------------------
 .../src/main/resources/findbugs/findbugs-exclude.xml    | 12 +++---------
 .../java/org/apache/tamaya/inject/DynamicValue.java     |  4 +++-
 2 files changed, 6 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/97a9854f/buildconfigurations/src/main/resources/findbugs/findbugs-exclude.xml
----------------------------------------------------------------------
diff --git a/buildconfigurations/src/main/resources/findbugs/findbugs-exclude.xml b/buildconfigurations/src/main/resources/findbugs/findbugs-exclude.xml
index a79f53b..8959c16 100644
--- a/buildconfigurations/src/main/resources/findbugs/findbugs-exclude.xml
+++ b/buildconfigurations/src/main/resources/findbugs/findbugs-exclude.xml
@@ -119,14 +119,8 @@ under the License.
     <Match>
         <Class name="org.apache.tamaya.inject.internal.ConfigTemplateInvocationHandler" />
     </Match>
-    <Match>
-        <Class name="org.apache.tamaya.inject.DynamicValue" />
-    </Match>
-    <Match>
-        <Class name="" />
-    </Match>
-    <Match>
-        <Class name="" />
-    </Match>
+    <!--<Match>-->
+        <!--<Class name="org.apache.tamaya.inject.DynamicValue" />-->
+    <!--</Match>-->
 
 </FindBugsFilter>

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/97a9854f/modules/injection/src/main/java/org/apache/tamaya/inject/DynamicValue.java
----------------------------------------------------------------------
diff --git a/modules/injection/src/main/java/org/apache/tamaya/inject/DynamicValue.java b/modules/injection/src/main/java/org/apache/tamaya/inject/DynamicValue.java
index 285e2bd..95dd6a6 100644
--- a/modules/injection/src/main/java/org/apache/tamaya/inject/DynamicValue.java
+++ b/modules/injection/src/main/java/org/apache/tamaya/inject/DynamicValue.java
@@ -48,8 +48,10 @@ import java.util.logging.Logger;
  *     <li>Thread safe</li>
  * </ul>
  */
-public final class DynamicValue<T> implements Serializable{
+public final class DynamicValue<T> implements Serializable {
 
+    private static final long serialVersionUID = -2071172847144537443L;
+    
     /**
      * Policy to control how new values are applied to this instance.
      */