removed TODOs

This commit is contained in:
Ralf Wisser
2020-09-16 15:34:16 +02:00
parent 6e764c9773
commit d07728bb7b
4 changed files with 5 additions and 8 deletions
@@ -1865,6 +1865,4 @@ public class SubsettingEngine {
return resetFilters;
}
// TODO: write-entities: without topo-sort & number if threads == 1 -> write out lexicograhically
}
@@ -2087,7 +2087,7 @@ public class ExtractionModelEditor extends javax.swing.JPanel {
boolean restrictedDep = currentAssociation != null && !ScriptFormat.XML.equals(scriptFormat) && currentAssociation.isInsertDestinationBeforeSource() && currentAssociation.isRestricted();
// TODO Differentiated filtering of restricted dependencies
restrictionEditor.fkToNullCheckBox.setVisible(restrictedDep && (RestrictionModel.IGNORE.equals(currentAssociation.getRestrictionCondition()) || "false".equals(currentAssociation.getRestrictionCondition()))); // TODO
restrictionEditor.fkToNullCheckBox.setVisible(restrictedDep && (RestrictionModel.IGNORE.equals(currentAssociation.getRestrictionCondition()) || "false".equals(currentAssociation.getRestrictionCondition())));
restrictionEditor.fkToNullCheckBox.setEnabled(restrictedDep && currentAssociation.hasNullableFK() && !currentAssociation.fkHasExcludeFilter());
restrictionEditor.fkToNullCheckBox.setSelected(restrictedDep && currentAssociation.fkHasNullFilter());
restrictionEditor.restrictedDependencyWarning.setVisible(restrictedDep && !currentAssociation.fkHasNullFilter());
@@ -56,10 +56,6 @@ import javax.swing.table.TableColumn;
*/
public class ProgressTable extends JTable {
// TODO delicon nur wenn delscript erzeugt wird
/**
* Maximum number of tables in a closure-table's line.
*/
@@ -4215,7 +4215,10 @@ public abstract class BrowserContentPane extends javax.swing.JPanel {
}
if (stripHour[i] && (rowData[i] instanceof java.sql.Date || rowData[i] instanceof java.sql.Timestamp)) {
String asString = rowData[i].toString();
rowData[i] = asString.substring(0, asString.length() - HOUR.length());
int endIndex = asString.length() - HOUR.length();
if (endIndex > 0) {
rowData[i] = asString.substring(0, endIndex);
}
}
}
if (tableContentViewFilter != null) {