don't refresh row number each time

This commit is contained in:
Jacky 2017-12-14 22:17:51 -05:00
parent 314d0a7386
commit 880620b538
2 changed files with 3 additions and 1 deletions

View File

@ -186,6 +186,7 @@ org.eclipse.wst.jsdt.core.formatter.insert_space_after_comma_in_superinterfaces=
org.eclipse.wst.jsdt.core.formatter.insert_space_after_comma_in_type_arguments=insert
org.eclipse.wst.jsdt.core.formatter.insert_space_after_comma_in_type_parameters=insert
org.eclipse.wst.jsdt.core.formatter.insert_space_after_ellipsis=insert
org.eclipse.wst.jsdt.core.formatter.insert_space_after_function_keyword=do not insert
org.eclipse.wst.jsdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert
org.eclipse.wst.jsdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert
org.eclipse.wst.jsdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert

View File

@ -180,7 +180,8 @@ public class GetRowsCommand extends Command {
}
// metadata refresh for row mode and record mode
if (project.getMetadata() != null) {
if (project.getMetadata() != null
&& project.getMetadata().getRowCount() == 0) {
project.getMetadata().setRowCount(project.rows.size());
}
} catch (Exception e) {