Author: dgolovin
Date: 2008-01-03 20:55:08 -0500 (Thu, 03 Jan 2008)
New Revision: 5503
Modified:
trunk/common/plugins/org.jboss.tools.common.text.ext/src/org/jboss/tools/common/text/ext/hyperlink/HyperlinkPartitionerDefinition.java
Log:
http://jira.jboss.org/jira/browse/JBIDE-1544
Need add @catalogProperty@@schemaProperty@ back to persistence.xml templates file in
seam-gen.
JUnit tests also added.
Modified:
trunk/common/plugins/org.jboss.tools.common.text.ext/src/org/jboss/tools/common/text/ext/hyperlink/HyperlinkPartitionerDefinition.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.text.ext/src/org/jboss/tools/common/text/ext/hyperlink/HyperlinkPartitionerDefinition.java 2008-01-04
01:55:05 UTC (rev 5502)
+++
trunk/common/plugins/org.jboss.tools.common.text.ext/src/org/jboss/tools/common/text/ext/hyperlink/HyperlinkPartitionerDefinition.java 2008-01-04
01:55:08 UTC (rev 5503)
@@ -234,7 +234,7 @@
}
public boolean equals(Object obj) {
- if(obj == null && !(obj instanceof ContentType)) {
+ if(obj == null || !(obj instanceof ContentType)) {
return false;
}
ContentType type = (ContentType)obj;
@@ -285,7 +285,7 @@
}
public boolean equals(Object obj) {
- if(obj == null && !(obj instanceof PartitionType)) {
+ if(obj == null || !(obj instanceof PartitionType)) {
return false;
}
PartitionType type = (PartitionType)obj;
@@ -392,7 +392,7 @@
}
public boolean equals(Object obj) {
- if(obj == null && !(obj instanceof Axis)) {
+ if(obj == null || !(obj instanceof Axis)) {
return false;
}
Axis axis = (Axis)obj;