summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNan Li2013-01-11 10:52:03 (EST)
committerKaren Butzke2013-01-11 10:52:03 (EST)
commit0bc3dc52bd5e43a1dcc1e7068f1754a077790e1d (patch)
tree7556bd88d0681249f225dd3de6d4057d53bd5841
parent1583e09bb0f6def90ef454c8eda036d4331d20aa (diff)
downloadwebtools.dali-0bc3dc52bd5e43a1dcc1e7068f1754a077790e1d.zip
webtools.dali-0bc3dc52bd5e43a1dcc1e7068f1754a077790e1d.tar.gz
webtools.dali-0bc3dc52bd5e43a1dcc1e7068f1754a077790e1d.tar.bz2
Bug 397800 - Profiler hyperlink opens new class wizard for user defined classes
-rw-r--r--jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/context/persistence/Profiler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/context/persistence/Profiler.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/context/persistence/Profiler.java
index d2bbc61..27ae5f6 100644
--- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/context/persistence/Profiler.java
+++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.core/src/org/eclipse/jpt/jpa/eclipselink/core/context/persistence/Profiler.java
@@ -69,6 +69,6 @@ public enum Profiler implements PersistenceXmlEnumValue {
public static String getProfilerClassName(String profilerValue) {
Profiler profiler = fromPropertyValue(profilerValue);
- return (profiler == null) ? null : profiler.getClassName();
+ return (profiler == null) ? profilerValue : profiler.getClassName();
}
}