You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bval.apache.org by mb...@apache.org on 2018/02/22 16:57:49 UTC
bval git commit: volatile supplier
Repository: bval
Updated Branches:
refs/heads/bv2 79c352dea -> 46e801984
volatile supplier
Project: http://git-wip-us.apache.org/repos/asf/bval/repo
Commit: http://git-wip-us.apache.org/repos/asf/bval/commit/46e80198
Tree: http://git-wip-us.apache.org/repos/asf/bval/tree/46e80198
Diff: http://git-wip-us.apache.org/repos/asf/bval/diff/46e80198
Branch: refs/heads/bv2
Commit: 46e801984ecdf30e6037b7db033d51fd4bc8088e
Parents: 79c352d
Author: Matt Benson <mb...@apache.org>
Authored: Thu Feb 22 10:57:44 2018 -0600
Committer: Matt Benson <mb...@apache.org>
Committed: Thu Feb 22 10:57:44 2018 -0600
----------------------------------------------------------------------
bval-core/src/main/java/org/apache/bval/util/LazyInt.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/bval/blob/46e80198/bval-core/src/main/java/org/apache/bval/util/LazyInt.java
----------------------------------------------------------------------
diff --git a/bval-core/src/main/java/org/apache/bval/util/LazyInt.java b/bval-core/src/main/java/org/apache/bval/util/LazyInt.java
index 44e09dd..b866226 100644
--- a/bval-core/src/main/java/org/apache/bval/util/LazyInt.java
+++ b/bval-core/src/main/java/org/apache/bval/util/LazyInt.java
@@ -24,7 +24,7 @@ import java.util.function.IntSupplier;
*/
public class LazyInt implements IntSupplier {
private int value;
- private IntSupplier init;
+ private volatile IntSupplier init;
public LazyInt(IntSupplier init) {
this.init = Validate.notNull(init);