Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Vosburgh2013-07-12 22:12:11 +0000
committerBrian Vosburgh2013-07-12 22:13:49 +0000
commitd29ab55eeab759b4078a0bc942b22e6dfc107602 (patch)
tree39a4a8bc4f79792f7a9515da6b261a323a0a3e4d /common/plugins
parent5935fb82501315d4d450a232a6bcd81cd8dbb2c7 (diff)
downloadwebtools.dali-d29ab55eeab759b4078a0bc942b22e6dfc107602.tar.gz
webtools.dali-d29ab55eeab759b4078a0bc942b22e6dfc107602.tar.xz
webtools.dali-d29ab55eeab759b4078a0bc942b22e6dfc107602.zip
tweak some ObjectReference implementations' comments
Diffstat (limited to 'common/plugins')
-rw-r--r--common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/reference/FlaggedObjectReference.java3
-rw-r--r--common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/reference/LazyObjectReference.java3
-rw-r--r--common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/reference/SimpleObjectReference.java3
3 files changed, 6 insertions, 3 deletions
diff --git a/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/reference/FlaggedObjectReference.java b/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/reference/FlaggedObjectReference.java
index a8dc6bedb6..0a658a03da 100644
--- a/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/reference/FlaggedObjectReference.java
+++ b/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/reference/FlaggedObjectReference.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2010, 2012 Oracle. All rights reserved.
+ * Copyright (c) 2010, 2013 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.
@@ -20,6 +20,7 @@ package org.eclipse.jpt.common.utility.internal.reference;
* <p>
* The reference can be set multiple times, but it can
* never be "unset" once it is "set".
+ * @param <V> the type of the reference's value
*/
public class FlaggedObjectReference<V>
extends SimpleObjectReference<V>
diff --git a/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/reference/LazyObjectReference.java b/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/reference/LazyObjectReference.java
index 5c99ea755e..96b54d676a 100644
--- a/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/reference/LazyObjectReference.java
+++ b/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/reference/LazyObjectReference.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2010, 2012 Oracle. All rights reserved.
+ * Copyright (c) 2010, 2013 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.
@@ -25,6 +25,7 @@ import org.eclipse.jpt.common.utility.reference.ObjectReference;
* <li>If the value calculated during lazy initialization is <code>null</code>,
* access will be <code>synchronized</code> <em>every</em> time.
* </ul>
+ * @param <V> the type of the reference's value
* @see SimpleObjectReference
* @see SynchronizedObject
*/
diff --git a/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/reference/SimpleObjectReference.java b/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/reference/SimpleObjectReference.java
index 0de1070f14..d518978819 100644
--- a/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/reference/SimpleObjectReference.java
+++ b/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/reference/SimpleObjectReference.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2009, 2012 Oracle. All rights reserved.
+ * Copyright (c) 2009, 2013 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.
@@ -16,6 +16,7 @@ import org.eclipse.jpt.common.utility.reference.ModifiableObjectReference;
/**
* Provide a container for passing an object that can be changed by the recipient.
*
+ * @param <V> the type of the reference's value
* @see SynchronizedObject
*/
public class SimpleObjectReference<V>

Back to the top