Author: vyemialyanchyk
Date: 2009-04-07 09:02:19 -0400 (Tue, 07 Apr 2009)
New Revision: 14567
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/ComponentShape.java
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/Connection.java
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/ExpandeableShape.java
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/OrmShape.java
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/Shape.java
Log:
JBIDE-4137
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/ComponentShape.java
===================================================================
---
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/ComponentShape.java 2009-04-07
13:00:58 UTC (rev 14566)
+++
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/ComponentShape.java 2009-04-07
13:02:19 UTC (rev 14567)
@@ -52,6 +52,6 @@
}
- firePropertyChange(SET_CHILDS_HIDEN, null, new Boolean(!refHide));
+ firePropertyChange(SET_CHILDS_HIDEN, null, Boolean.valueOf(!refHide));
}
}
\ No newline at end of file
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/Connection.java
===================================================================
---
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/Connection.java 2009-04-07
13:00:58 UTC (rev 14566)
+++
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/Connection.java 2009-04-07
13:02:19 UTC (rev 14567)
@@ -61,7 +61,7 @@
if(needHide == 1)
return;
}
- firePropertyChange(SET_HIDEN, null, new Boolean(hiden));
+ firePropertyChange(SET_HIDEN, null, Boolean.valueOf(hiden));
}
public boolean isHiden() {
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/ExpandeableShape.java
===================================================================
---
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/ExpandeableShape.java 2009-04-07
13:00:58 UTC (rev 14566)
+++
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/ExpandeableShape.java 2009-04-07
13:02:19 UTC (rev 14567)
@@ -45,7 +45,7 @@
}
}
}
- firePropertyChange(SHOW_REFERENCES, null, new Boolean(refHide));
+ firePropertyChange(SHOW_REFERENCES, null, Boolean.valueOf(refHide));
}
protected boolean getHide() {
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/OrmShape.java
===================================================================
---
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/OrmShape.java 2009-04-07
13:00:58 UTC (rev 14566)
+++
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/OrmShape.java 2009-04-07
13:02:19 UTC (rev 14567)
@@ -210,11 +210,11 @@
public void refreshHiden() {
hiden = !hiden;
setElementHidden(this, hiden);
- firePropertyChange(SET_HIDEN, null, new Boolean(hiden));
+ firePropertyChange(SET_HIDEN, null, Boolean.valueOf(hiden));
}
public void refreshReference(){
- firePropertyChange(SET_HIDEN, null, new Boolean(hiden));
+ firePropertyChange(SET_HIDEN, null, Boolean.valueOf(hiden));
}
private void setElementHidden(ModelElement element, boolean hidden){
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/Shape.java
===================================================================
---
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/Shape.java 2009-04-07
13:00:58 UTC (rev 14566)
+++
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.ui.veditor/src/org/jboss/tools/hibernate/ui/veditor/editors/model/Shape.java 2009-04-07
13:02:19 UTC (rev 14567)
@@ -192,7 +192,7 @@
StringBuffer name = new StringBuffer();
if (type != null) {
- name.append(type != null ? type.toUpperCase() : ""); //$NON-NLS-1$
+ name.append(type.toUpperCase());
name.append(HibernateUtils.getTable(column) != null
&& HibernateUtils.isPrimaryKey(column) ? " PK" : "");
//$NON-NLS-1$ //$NON-NLS-2$
name.append(HibernateUtils.getTable(column) != null
Show replies by date