summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaren Butzke2013-01-04 11:41:54 (EST)
committerKaren Butzke2013-01-04 11:41:54 (EST)
commitcd42e23a701694a3556bbdb893d42ca42e2e65d3 (patch)
tree2ddd97e38f5c53e06d553eb00f05e939ea44789d
parent1af24e634d585380025bffe11753302a851ca669 (diff)
downloadwebtools.dali-cd42e23a701694a3556bbdb893d42ca42e2e65d3.zip
webtools.dali-cd42e23a701694a3556bbdb893d42ca42e2e65d3.tar.gz
webtools.dali-cd42e23a701694a3556bbdb893d42ca42e2e65d3.tar.bz2
Bug 397454 - added null check to Converter Transformer
-rw-r--r--jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/context/EclipseLinkConvert.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/context/EclipseLinkConvert.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/context/EclipseLinkConvert.java
index c8be861..f8d5999 100644
--- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/context/EclipseLinkConvert.java
+++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/context/EclipseLinkConvert.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2008, 2011 Oracle. All rights reserved.
+ * Copyright (c) 2008, 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.
@@ -9,7 +9,7 @@
******************************************************************************/
package org.eclipse.jpt.jpa.eclipselink.core.context;
-import org.eclipse.jpt.common.utility.internal.transformer.TransformerAdapter;
+import org.eclipse.jpt.common.utility.internal.transformer.AbstractTransformer;
import org.eclipse.jpt.common.utility.transformer.Transformer;
import org.eclipse.jpt.jpa.core.context.Converter;
import org.eclipse.jpt.jpa.eclipselink.core.context.persistence.EclipseLinkPersistenceUnit;
@@ -76,10 +76,10 @@ public interface EclipseLinkConvert
*/
Transformer<Converter, EclipseLinkConvert> CONVERTER_TRANSFORMER = new ConverterTransformer();
class ConverterTransformer
- extends TransformerAdapter<Converter, EclipseLinkConvert>
+ extends AbstractTransformer<Converter, EclipseLinkConvert>
{
@Override
- public EclipseLinkConvert transform(Converter converter) {
+ public EclipseLinkConvert transform_(Converter converter) {
return (converter.getType() == EclipseLinkConvert.class) ? (EclipseLinkConvert) converter : null;
}
}