Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Vosburgh2015-07-16 22:19:36 +0000
committerBrian Vosburgh2015-07-16 22:19:36 +0000
commitc606bf7336adb00f790b79d03650bed226ef0197 (patch)
treed59d9e2d7518193533271b5113d35b2b0a8dfd9a
parent33fa8734a194962f5c4bfcfdc63d04bae63ea467 (diff)
downloadwebtools.dali-c606bf7336adb00f790b79d03650bed226ef0197.tar.gz
webtools.dali-c606bf7336adb00f790b79d03650bed226ef0197.tar.xz
webtools.dali-c606bf7336adb00f790b79d03650bed226ef0197.zip
clean up comments in PredicateAdapter and TransformerAdapter
-rw-r--r--common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/predicate/PredicateAdapter.java4
-rw-r--r--common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/transformer/TransformerAdapter.java5
2 files changed, 6 insertions, 3 deletions
diff --git a/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/predicate/PredicateAdapter.java b/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/predicate/PredicateAdapter.java
index 467d586c91..ff4c744acc 100644
--- a/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/predicate/PredicateAdapter.java
+++ b/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/predicate/PredicateAdapter.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2005, 2013 Oracle. All rights reserved.
+ * Copyright (c) 2005, 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.
@@ -14,7 +14,7 @@ import org.eclipse.jpt.common.utility.predicate.Predicate;
/**
* Convenience predicate implementation that evaluates any object to
- * <code>true</code> and provides a helpful {@link #toString()}.
+ * <code>false</code> and provides a helpful {@link #toString()}.
*
* @param <V> the type of objects to be evaluated by the predicate
*/
diff --git a/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/transformer/TransformerAdapter.java b/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/transformer/TransformerAdapter.java
index 573411a60f..fbb02e7d95 100644
--- a/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/transformer/TransformerAdapter.java
+++ b/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/transformer/TransformerAdapter.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2012, 2013 Oracle. All rights reserved.
+ * Copyright (c) 2012, 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.
@@ -25,6 +25,9 @@ import org.eclipse.jpt.common.utility.transformer.Transformer;
public class TransformerAdapter<I, O>
implements Transformer<I, O>
{
+ /**
+ * It is possible the specified input is <code>null</code>.
+ */
public O transform(I input) {
return null;
}

Back to the top