Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Vosburgh2015-10-21 21:51:58 +0000
committerBrian Vosburgh2015-10-21 22:55:40 +0000
commitd0cee112178efe7228b5b150221014d980a2d78c (patch)
tree87da95621eeb735548ff69c97e87e29c5f8ed78a /common/plugins/org.eclipse.jpt.common.utility/src/org
parentc2516c02cc1bd79ce11638488acc088d25cf6748 (diff)
downloadwebtools.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.java5
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;
}
}
}

Back to the top