Author: jfuerth
Date: Sat May 30 11:55:10 2009
New Revision: 3078
Modified:
trunk/src/ca/sqlpower/architect/swingui/ArchitectPropertiesDataSourceTypeOptionPanel.java
Log:
Fixed FindBugs warning about use of Boolean constructor.
Modified:
trunk/src/ca/sqlpower/architect/swingui/ArchitectPropertiesDataSourceTypeOptionPanel.java
==============================================================================
---
trunk/src/ca/sqlpower/architect/swingui/ArchitectPropertiesDataSourceTypeOptionPanel.java
(original)
+++
trunk/src/ca/sqlpower/architect/swingui/ArchitectPropertiesDataSourceTypeOptionPanel.java
Sat May 30 11:55:10 2009
@@ -424,7 +424,7 @@
}
currentDSType.putProperty(JDBCDataSourceType.DDL_GENERATOR,
((KnownDDLGenerators)
ddlGeneratorCombo.getSelectedItem()).getDDLClassName());
-
currentDSType.putProperty(JDBCDataSourceType.SUPPORTS_UPDATEABLE_RESULT_SETS,
new Boolean(updatableRSField.isSelected()).toString());
+
currentDSType.putProperty(JDBCDataSourceType.SUPPORTS_UPDATEABLE_RESULT_SETS,
String.valueOf(updatableRSField.isSelected()));
currentDSType.putProperty(RemoteDatabaseProfileCreator.propName(AverageSQLFunction.class),
averageSQLFunctionField.getText());
currentDSType.putProperty(RemoteDatabaseProfileCreator.propName(StringLengthSQLFunction.class),
stringLengthSQLFuncField.getText());
currentDSType.putProperty(RemoteDatabaseProfileCreator.propName(CaseWhenNullSQLFunction.class),
caseWhenNullSQLFuncField.getText());