diff options
author | Brian Vosburgh | 2015-10-21 21:51:58 +0000 |
---|---|---|
committer | Brian Vosburgh | 2015-10-21 22:55:40 +0000 |
commit | d0cee112178efe7228b5b150221014d980a2d78c (patch) | |
tree | 87da95621eeb735548ff69c97e87e29c5f8ed78a /common/plugins/org.eclipse.jpt.common.utility/src/org | |
parent | c2516c02cc1bd79ce11638488acc088d25cf6748 (diff) | |
download | webtools.dali-d0cee112178efe7228b5b150221014d980a2d78c.tar.gz webtools.dali-d0cee112178efe7228b5b150221014d980a2d78c.tar.xz webtools.dali-d0cee112178efe7228b5b150221014d980a2d78c.zip |
add SynchronizedInt tests
Diffstat (limited to 'common/plugins/org.eclipse.jpt.common.utility/src/org')
-rw-r--r-- | common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/reference/SynchronizedInt.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/reference/SynchronizedInt.java b/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/reference/SynchronizedInt.java index 02a5781f67..554415c8ec 100644 --- a/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/reference/SynchronizedInt.java +++ b/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/reference/SynchronizedInt.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2009, 2012 Oracle. All rights reserved. + * Copyright (c) 2009, 2015 Oracle. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0, which accompanies this distribution * and is available at http://www.eclipse.org/legal/epl-v10.html. @@ -599,7 +599,8 @@ public class SynchronizedInt return thisValue; // nothing changes } other.setChangedValue_(thisValue); - return this.setChangedValue_(otherValue); + this.setChangedValue_(otherValue); + return otherValue; } } } |