Author: vyemialyanchyk
Date: 2009-04-07 08:49:21 -0400 (Tue, 07 Apr 2009)
New Revision: 14555
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/ExporterSettingsTab.java
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/GeneralExceptionStatusHandler.java
Log:
JBIDE-4137
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/ExporterSettingsTab.java
===================================================================
---
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/ExporterSettingsTab.java 2009-04-07
12:48:52 UTC (rev 14554)
+++
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/ExporterSettingsTab.java 2009-04-07
12:49:21 UTC (rev 14555)
@@ -618,7 +618,7 @@
enableEJB3annotations.addSelectionListener( fieldlistener );
}
- private class ExporterContentProvider implements IStructuredContentProvider,
PropertyChangeListener {
+ static private class ExporterContentProvider implements IStructuredContentProvider,
PropertyChangeListener {
private AbstractTableViewer viewer;
@@ -661,7 +661,7 @@
}
// Complete hack to get table to work with arbitrary exporters quickly.
- private class ObservableFactoryList {
+ static private class ObservableFactoryList {
List underlyingList = new ArrayList();
@@ -675,7 +675,7 @@
underlyingList.remove((ExporterFactory) data);
remove(data);
underlyingList.add(i, data);
- pcs.firePropertyChange("insertElement", new Integer(i), data);
//$NON-NLS-1$
+ pcs.firePropertyChange("insertElement", Integer.valueOf(i), data);
//$NON-NLS-1$
}
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/GeneralExceptionStatusHandler.java
===================================================================
---
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/GeneralExceptionStatusHandler.java 2009-04-07
12:48:52 UTC (rev 14554)
+++
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/GeneralExceptionStatusHandler.java 2009-04-07
12:49:21 UTC (rev 14555)
@@ -34,7 +34,7 @@
final boolean[] result = new boolean[1];
HibernateConsolePlugin.getDefault().log( status );
HibernateConsolePlugin.openError(null,
HibernateConsoleMessages.GeneralExceptionStatusHandler_generating_code,
HibernateConsoleMessages.GeneralExceptionStatusHandler_exception_while_generating_code,
status.getException(), HibernateConsolePlugin.PERFORM_SYNC_EXEC);
- return new Boolean(result[0]);
+ return Boolean.valueOf(result[0]);
}
}
Show replies by date