Author: vyemialyanchyk
Date: 2009-04-07 08:46:06 -0400 (Tue, 07 Apr 2009)
New Revision: 14550
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/views/navigator/KnownConfigurationsNavigator.java
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/views/properties/CollectionPropertySource.java
Log:
JBIDE-4137
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/views/navigator/KnownConfigurationsNavigator.java
===================================================================
---
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/views/navigator/KnownConfigurationsNavigator.java 2009-04-07
12:45:22 UTC (rev 14549)
+++
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/views/navigator/KnownConfigurationsNavigator.java 2009-04-07
12:46:06 UTC (rev 14550)
@@ -29,7 +29,7 @@
public class KnownConfigurationsNavigator extends CommonNavigator {
protected IAdaptable getInitialInput() {
- return new AdaptableWrapper(new String());
+ return new AdaptableWrapper(""); //$NON-NLS-1$
}
public void createPartControl(Composite aParent) {
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/views/properties/CollectionPropertySource.java
===================================================================
---
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/views/properties/CollectionPropertySource.java 2009-04-07
12:45:22 UTC (rev 14549)
+++
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/views/properties/CollectionPropertySource.java 2009-04-07
12:46:06 UTC (rev 14550)
@@ -62,7 +62,7 @@
if(descriptors==null) {
PropertyDescriptor[] properties = new PropertyDescriptor[collection.size()];
for (int i = 0; i < properties.length; i++) {
- properties[i] = new PropertyDescriptor(new Integer(i),"#" + i);
//$NON-NLS-1$
+ properties[i] = new PropertyDescriptor(Integer.valueOf(i),"#" + i);
//$NON-NLS-1$
}
descriptors = properties;
}
Show replies by date