Tweaking DbViewerProvider method access.

This commit is contained in:
Ryan Kurtz
2019-09-30 11:31:22 -04:00
parent 461ac90026
commit 2ce191d865

View File

@@ -41,7 +41,7 @@ public class DbViewerProvider extends ComponentProviderAdapter {
setHelpLocation(new HelpLocation(plugin.getName(), "DbViewer")); setHelpLocation(new HelpLocation(plugin.getName(), "DbViewer"));
} }
public void closeDatabase() { protected void closeDatabase() {
if (comp != null) { if (comp != null) {
comp.closeDatabase(); comp.closeDatabase();
} }
@@ -53,7 +53,7 @@ public class DbViewerProvider extends ComponentProviderAdapter {
* @param databaseName the name of the database. * @param databaseName the name of the database.
* @param handle the DBHandle for the open database * @param handle the DBHandle for the open database
*/ */
public void openDatabase(String databaseName, DBHandle handle) { protected void openDatabase(String databaseName, DBHandle handle) {
if (comp != null) { if (comp != null) {
comp.openDatabase(databaseName, handle); comp.openDatabase(databaseName, handle);
} }