From 5dd92a5cb4a82b04c2850cce5a6420039f62271a Mon Sep 17 00:00:00 2001 From: Shamsutdinov Elmir <84476539+baslo2@users.noreply.github.com> Date: Fri, 28 Jun 2024 10:53:50 +0300 Subject: [PATCH] PGCK 366 updated license (#65) updated license --- LICENSE | 1 - NOTICE | 14 ------ .../ru/taximaxim/pgsqlblocks/PgSqlBlocks.java | 18 +++---- .../pgsqlblocks/common/DBQueries.java | 14 ++---- .../pgsqlblocks/common/models/DBBlock.java | 18 +++---- .../common/models/DBBlockDeserializer.java | 18 +++---- .../common/models/DBBlocksJournal.java | 14 ++---- .../models/DBBlocksJournalListener.java | 18 +++---- .../common/models/DBBlocksJournalProcess.java | 22 ++++---- .../pgsqlblocks/common/models/DBModel.java | 14 ++---- .../pgsqlblocks/common/models/DBProcess.java | 28 +++++------ .../common/models/DBProcessQuery.java | 18 +++---- .../common/models/DBProcessQueryCaller.java | 18 +++---- .../common/models/DBProcessStatus.java | 18 +++---- .../ui/DBBlocksJournalViewDataSource.java | 14 ++---- .../pgsqlblocks/common/ui/DBModelsView.java | 14 ++---- .../ui/DBModelsViewContentProvider.java | 22 ++++---- .../common/ui/DBModelsViewLabelProvider.java | 14 ++---- .../common/ui/DBModelsViewListener.java | 19 +++---- .../common/ui/DBProcessInfoView.java | 27 +++++----- .../common/ui/DBProcessInfoViewListener.java | 18 +++---- .../common/ui/DBProcessesViewDataSource.java | 14 ++---- .../common/ui/TreeLabelProvider.java | 24 ++++----- .../dialogs/AddDatabaseDialog.java | 28 ++++++----- .../dialogs/DBProcessInfoDialog.java | 30 +++++------ .../dialogs/EditDatabaseDialog.java | 14 ++---- .../pgsqlblocks/dialogs/PasswordDialog.java | 31 ++++++------ .../pgsqlblocks/dialogs/SettingsDialog.java | 14 ++---- .../pgsqlblocks/l10n/PgSqlBlocks.java | 18 +++---- .../pgsqlblocks/l10n/PgSqlBlocks_en.java | 14 ++---- .../pgsqlblocks/l10n/PgSqlBlocks_ru.java | 14 ++---- .../controller/ApplicationController.java | 14 ++---- .../application/view/ApplicationView.java | 14 ++---- .../view/ApplicationViewListener.java | 18 +++---- .../BlocksJournalFilesContentProvider.java | 22 ++++---- .../view/BlocksJournalFilesLabelProvider.java | 23 ++++----- .../blocksjournal/view/BlocksJournalView.java | 14 ++---- .../modules/db/controller/DBController.java | 14 ++---- .../db/controller/DBControllerListener.java | 22 ++++---- .../controller/UserInputPasswordProvider.java | 18 +++---- .../modules/db/model/DBStatus.java | 18 +++---- .../modules/logs/view/LogsView.java | 14 ++---- .../controller/ProcessesController.java | 14 ++---- .../modules/processes/view/ProcessesView.java | 18 +++---- .../ru/taximaxim/pgsqlblocks/ui/AboutDlg.java | 25 +++++----- .../taximaxim/pgsqlblocks/ui/UIAppender.java | 14 ++---- .../pgsqlblocks/utils/ColumnLayout.java | 14 ++---- .../taximaxim/pgsqlblocks/utils/Columns.java | 14 ++---- .../pgsqlblocks/utils/DateUtils.java | 14 ++---- .../pgsqlblocks/utils/ImageUtils.java | 14 ++---- .../taximaxim/pgsqlblocks/utils/Images.java | 18 +++---- .../pgsqlblocks/utils/PathBuilder.java | 14 ++---- .../taximaxim/pgsqlblocks/utils/Settings.java | 14 ++---- .../pgsqlblocks/utils/SettingsListener.java | 14 ++---- .../utils/UserCancelException.java | 18 +++---- .../xmlstore/ColumnLayoutsXmlStore.java | 14 ++---- .../xmlstore/DBBlocksXmlStore.java | 14 ++---- .../xmlstore/DBModelsXmlStore.java | 14 ++---- .../pgsqlblocks/xmlstore/XmlStore.java | 14 ++---- .../treeviewer/ExtendedTreeViewer.java | 14 ++---- .../treeviewer/dialog/ColumnConfigDialog.java | 14 ++---- .../treeviewer/filter/ColumnType.java | 14 ++---- .../filter/FilterChangeHandler.java | 14 ++---- .../treeviewer/filter/FilterComposite.java | 14 ++---- .../treeviewer/filter/FilterOperation.java | 14 ++---- .../taximaxim/treeviewer/l10n/TreeViewer.java | 18 +++---- .../treeviewer/l10n/TreeViewer_en.java | 14 ++---- .../treeviewer/l10n/TreeViewer_ru.java | 14 ++---- .../treeviewer/models/DataSource.java | 14 ++---- .../taximaxim/treeviewer/models/IObject.java | 14 ++---- .../tree/ExtendedTreeViewerComponent.java | 14 ++---- .../treeviewer/utils/AggregatingListener.java | 14 ++---- .../treeviewer/utils/ImageUtils.java | 22 ++++---- .../ru/taximaxim/treeviewer/utils/Images.java | 14 ++---- .../treeviewer/utils/TriFunction.java | 18 +++---- .../db/controller/DBControllerTest.java | 50 +++++++++++-------- .../pgsqlblocks/utils/DateUtilsTest.java | 22 ++++---- src/test/resources/create_index.sql | 19 ------- src/test/resources/create_rule.sql | 19 ------- src/test/resources/drop_rule.sql | 19 ------- src/test/resources/select_1000.sql | 19 ------- src/test/resources/select_sleep.sql | 19 ------- src/test/resources/testing_dump.sql | 19 ------- 83 files changed, 526 insertions(+), 914 deletions(-) delete mode 100644 NOTICE diff --git a/LICENSE b/LICENSE index 7a4a3ea2..f49a4e16 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,3 @@ - Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ diff --git a/NOTICE b/NOTICE deleted file mode 100644 index 0453651b..00000000 --- a/NOTICE +++ /dev/null @@ -1,14 +0,0 @@ -pgSqlBlocks -Copyright 2017 - 2022 "Technology" LLC - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. \ No newline at end of file diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/PgSqlBlocks.java b/src/main/java/ru/taximaxim/pgsqlblocks/PgSqlBlocks.java index ebaef66d..f4b5b63f 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/PgSqlBlocks.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/PgSqlBlocks.java @@ -1,22 +1,18 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * + * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks; import ru.taximaxim.pgsqlblocks.modules.application.controller.ApplicationController; diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/common/DBQueries.java b/src/main/java/ru/taximaxim/pgsqlblocks/common/DBQueries.java index ed062f9f..07b37082 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/common/DBQueries.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/common/DBQueries.java @@ -1,22 +1,18 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.common; import java.io.BufferedReader; diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/common/models/DBBlock.java b/src/main/java/ru/taximaxim/pgsqlblocks/common/models/DBBlock.java index 9b2813cb..3f9493e1 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/common/models/DBBlock.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/common/models/DBBlock.java @@ -1,22 +1,18 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * + * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.common.models; public class DBBlock { diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/common/models/DBBlockDeserializer.java b/src/main/java/ru/taximaxim/pgsqlblocks/common/models/DBBlockDeserializer.java index f7f36616..7eed9694 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/common/models/DBBlockDeserializer.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/common/models/DBBlockDeserializer.java @@ -1,22 +1,18 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * + * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.common.models; import java.sql.ResultSet; diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/common/models/DBBlocksJournal.java b/src/main/java/ru/taximaxim/pgsqlblocks/common/models/DBBlocksJournal.java index 72e8326c..b04c9456 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/common/models/DBBlocksJournal.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/common/models/DBBlocksJournal.java @@ -1,22 +1,18 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.common.models; import java.util.ArrayList; diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/common/models/DBBlocksJournalListener.java b/src/main/java/ru/taximaxim/pgsqlblocks/common/models/DBBlocksJournalListener.java index 19b44bd5..e18357ea 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/common/models/DBBlocksJournalListener.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/common/models/DBBlocksJournalListener.java @@ -1,22 +1,18 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * + * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.common.models; import java.util.List; diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/common/models/DBBlocksJournalProcess.java b/src/main/java/ru/taximaxim/pgsqlblocks/common/models/DBBlocksJournalProcess.java index ae436f7d..4ddcf14f 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/common/models/DBBlocksJournalProcess.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/common/models/DBBlocksJournalProcess.java @@ -1,32 +1,28 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * + * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.common.models; -import ru.taximaxim.treeviewer.models.IObject; - import java.util.Collections; import java.util.Date; import java.util.List; import java.util.Set; import java.util.stream.Collectors; +import ru.taximaxim.treeviewer.models.IObject; + public class DBBlocksJournalProcess implements IObject { private final DBProcess process; diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/common/models/DBModel.java b/src/main/java/ru/taximaxim/pgsqlblocks/common/models/DBModel.java index f46f861d..5f50f836 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/common/models/DBModel.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/common/models/DBModel.java @@ -1,22 +1,18 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.common.models; import java.util.Objects; diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/common/models/DBProcess.java b/src/main/java/ru/taximaxim/pgsqlblocks/common/models/DBProcess.java index 50e14474..56da6832 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/common/models/DBProcess.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/common/models/DBProcess.java @@ -1,29 +1,29 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * + * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.common.models; -import ru.taximaxim.treeviewer.models.IObject; - -import java.util.*; +import java.util.ArrayList; +import java.util.Date; +import java.util.HashSet; +import java.util.List; +import java.util.Set; import java.util.stream.Collectors; +import ru.taximaxim.treeviewer.models.IObject; + public class DBProcess implements IObject { private List parents = new ArrayList<>(); diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/common/models/DBProcessQuery.java b/src/main/java/ru/taximaxim/pgsqlblocks/common/models/DBProcessQuery.java index 4525b77b..09b9b24a 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/common/models/DBProcessQuery.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/common/models/DBProcessQuery.java @@ -1,22 +1,18 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * + * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.common.models; import java.util.Date; diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/common/models/DBProcessQueryCaller.java b/src/main/java/ru/taximaxim/pgsqlblocks/common/models/DBProcessQueryCaller.java index 54a0f2a0..7c448b3b 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/common/models/DBProcessQueryCaller.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/common/models/DBProcessQueryCaller.java @@ -1,22 +1,18 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * + * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.common.models; public class DBProcessQueryCaller { diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/common/models/DBProcessStatus.java b/src/main/java/ru/taximaxim/pgsqlblocks/common/models/DBProcessStatus.java index 28bd052a..b4c72ce1 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/common/models/DBProcessStatus.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/common/models/DBProcessStatus.java @@ -1,22 +1,18 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * + * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.common.models; import ru.taximaxim.pgsqlblocks.utils.Images; diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/common/ui/DBBlocksJournalViewDataSource.java b/src/main/java/ru/taximaxim/pgsqlblocks/common/ui/DBBlocksJournalViewDataSource.java index 02eaaf1d..92d7d4b1 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/common/ui/DBBlocksJournalViewDataSource.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/common/ui/DBBlocksJournalViewDataSource.java @@ -1,22 +1,18 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.common.ui; import java.util.Arrays; diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/common/ui/DBModelsView.java b/src/main/java/ru/taximaxim/pgsqlblocks/common/ui/DBModelsView.java index 51202c84..c316ccd0 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/common/ui/DBModelsView.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/common/ui/DBModelsView.java @@ -1,22 +1,18 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.common.ui; import java.util.ArrayList; diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/common/ui/DBModelsViewContentProvider.java b/src/main/java/ru/taximaxim/pgsqlblocks/common/ui/DBModelsViewContentProvider.java index 0edffe61..551ea6dc 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/common/ui/DBModelsViewContentProvider.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/common/ui/DBModelsViewContentProvider.java @@ -1,28 +1,24 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * + * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.common.ui; -import org.eclipse.jface.viewers.IStructuredContentProvider; - import java.util.List; +import org.eclipse.jface.viewers.IStructuredContentProvider; + public class DBModelsViewContentProvider implements IStructuredContentProvider { @Override diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/common/ui/DBModelsViewLabelProvider.java b/src/main/java/ru/taximaxim/pgsqlblocks/common/ui/DBModelsViewLabelProvider.java index 83f41c6d..135dcbed 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/common/ui/DBModelsViewLabelProvider.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/common/ui/DBModelsViewLabelProvider.java @@ -1,22 +1,18 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.common.ui; import java.util.ResourceBundle; diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/common/ui/DBModelsViewListener.java b/src/main/java/ru/taximaxim/pgsqlblocks/common/ui/DBModelsViewListener.java index b347d6b5..a1f423f8 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/common/ui/DBModelsViewListener.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/common/ui/DBModelsViewListener.java @@ -1,25 +1,22 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * + * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.common.ui; import org.eclipse.jface.action.IMenuManager; + import ru.taximaxim.pgsqlblocks.modules.db.controller.DBController; public interface DBModelsViewListener { diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/common/ui/DBProcessInfoView.java b/src/main/java/ru/taximaxim/pgsqlblocks/common/ui/DBProcessInfoView.java index 2ffb666c..6d12bac9 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/common/ui/DBProcessInfoView.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/common/ui/DBProcessInfoView.java @@ -1,35 +1,32 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * + * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.common.ui; +import java.util.ArrayList; +import java.util.List; +import java.util.ResourceBundle; + import org.eclipse.swt.SWT; import org.eclipse.swt.layout.GridData; import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.widgets.Button; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Text; -import ru.taximaxim.pgsqlblocks.common.models.DBProcess; -import java.util.ArrayList; -import java.util.List; -import java.util.ResourceBundle; +import ru.taximaxim.pgsqlblocks.common.models.DBProcess; public class DBProcessInfoView extends Composite { diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/common/ui/DBProcessInfoViewListener.java b/src/main/java/ru/taximaxim/pgsqlblocks/common/ui/DBProcessInfoViewListener.java index 8d34d768..bd530f39 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/common/ui/DBProcessInfoViewListener.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/common/ui/DBProcessInfoViewListener.java @@ -1,22 +1,18 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * + * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.common.ui; public interface DBProcessInfoViewListener { diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/common/ui/DBProcessesViewDataSource.java b/src/main/java/ru/taximaxim/pgsqlblocks/common/ui/DBProcessesViewDataSource.java index 8bb67d69..c19beb1e 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/common/ui/DBProcessesViewDataSource.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/common/ui/DBProcessesViewDataSource.java @@ -1,22 +1,18 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.common.ui; import java.util.ArrayList; diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/common/ui/TreeLabelProvider.java b/src/main/java/ru/taximaxim/pgsqlblocks/common/ui/TreeLabelProvider.java index e0396866..42634c8a 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/common/ui/TreeLabelProvider.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/common/ui/TreeLabelProvider.java @@ -1,30 +1,26 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * + * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.common.ui; -import org.eclipse.jface.viewers.ILabelProviderListener; -import org.eclipse.jface.viewers.ITableLabelProvider; - import java.util.ArrayList; import java.util.List; +import org.eclipse.jface.viewers.ILabelProviderListener; +import org.eclipse.jface.viewers.ITableLabelProvider; + public abstract class TreeLabelProvider implements ITableLabelProvider { // The listeners private List listeners; diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/dialogs/AddDatabaseDialog.java b/src/main/java/ru/taximaxim/pgsqlblocks/dialogs/AddDatabaseDialog.java index f6f513fb..38fa0015 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/dialogs/AddDatabaseDialog.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/dialogs/AddDatabaseDialog.java @@ -1,34 +1,36 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.dialogs; +import java.util.List; +import java.util.ResourceBundle; + import org.eclipse.jface.dialogs.Dialog; import org.eclipse.jface.dialogs.MessageDialog; import org.eclipse.swt.SWT; import org.eclipse.swt.layout.GridData; import org.eclipse.swt.layout.GridLayout; -import org.eclipse.swt.widgets.*; -import ru.taximaxim.pgsqlblocks.common.models.DBModel; +import org.eclipse.swt.widgets.Button; +import org.eclipse.swt.widgets.Composite; +import org.eclipse.swt.widgets.Control; +import org.eclipse.swt.widgets.Label; +import org.eclipse.swt.widgets.Shell; +import org.eclipse.swt.widgets.Text; -import java.util.List; -import java.util.ResourceBundle; +import ru.taximaxim.pgsqlblocks.common.models.DBModel; public class AddDatabaseDialog extends Dialog { diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/dialogs/DBProcessInfoDialog.java b/src/main/java/ru/taximaxim/pgsqlblocks/dialogs/DBProcessInfoDialog.java index a54df8c6..5895fded 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/dialogs/DBProcessInfoDialog.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/dialogs/DBProcessInfoDialog.java @@ -1,24 +1,22 @@ -/*- - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * + * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.dialogs; +import java.util.ResourceBundle; + import org.eclipse.jface.dialogs.Dialog; import org.eclipse.swt.SWT; import org.eclipse.swt.custom.StyledText; @@ -26,13 +24,17 @@ import org.eclipse.swt.events.SelectionListener; import org.eclipse.swt.layout.GridData; import org.eclipse.swt.layout.GridLayout; -import org.eclipse.swt.widgets.*; +import org.eclipse.swt.widgets.Button; +import org.eclipse.swt.widgets.Composite; +import org.eclipse.swt.widgets.Control; +import org.eclipse.swt.widgets.Label; +import org.eclipse.swt.widgets.Shell; +import org.eclipse.swt.widgets.Text; + import ru.taximaxim.pgsqlblocks.common.models.DBBlocksJournalProcess; import ru.taximaxim.pgsqlblocks.common.models.DBProcess; import ru.taximaxim.pgsqlblocks.utils.DateUtils; -import java.util.ResourceBundle; - /** * Dialog for current process info */ diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/dialogs/EditDatabaseDialog.java b/src/main/java/ru/taximaxim/pgsqlblocks/dialogs/EditDatabaseDialog.java index c92237b5..1addb70c 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/dialogs/EditDatabaseDialog.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/dialogs/EditDatabaseDialog.java @@ -1,22 +1,18 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.dialogs; import java.util.List; diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/dialogs/PasswordDialog.java b/src/main/java/ru/taximaxim/pgsqlblocks/dialogs/PasswordDialog.java index 121f0984..416bf3fb 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/dialogs/PasswordDialog.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/dialogs/PasswordDialog.java @@ -1,33 +1,34 @@ -/*- - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * + * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.dialogs; +import java.text.MessageFormat; +import java.util.ResourceBundle; + import org.eclipse.jface.dialogs.Dialog; import org.eclipse.swt.SWT; import org.eclipse.swt.layout.GridData; import org.eclipse.swt.layout.GridLayout; -import org.eclipse.swt.widgets.*; -import ru.taximaxim.pgsqlblocks.common.models.DBModel; +import org.eclipse.swt.widgets.Composite; +import org.eclipse.swt.widgets.Control; +import org.eclipse.swt.widgets.Label; +import org.eclipse.swt.widgets.Shell; +import org.eclipse.swt.widgets.Text; -import java.text.MessageFormat; -import java.util.ResourceBundle; +import ru.taximaxim.pgsqlblocks.common.models.DBModel; /** * Dialog for password for database diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/dialogs/SettingsDialog.java b/src/main/java/ru/taximaxim/pgsqlblocks/dialogs/SettingsDialog.java index 54c4ac40..40d863d8 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/dialogs/SettingsDialog.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/dialogs/SettingsDialog.java @@ -1,22 +1,18 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.dialogs; import java.util.ResourceBundle; diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/l10n/PgSqlBlocks.java b/src/main/java/ru/taximaxim/pgsqlblocks/l10n/PgSqlBlocks.java index 81e4ff7d..aa2a74a6 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/l10n/PgSqlBlocks.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/l10n/PgSqlBlocks.java @@ -1,22 +1,18 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * + * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.l10n; public class PgSqlBlocks extends PgSqlBlocks_ru { diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/l10n/PgSqlBlocks_en.java b/src/main/java/ru/taximaxim/pgsqlblocks/l10n/PgSqlBlocks_en.java index 57154113..43a40d21 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/l10n/PgSqlBlocks_en.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/l10n/PgSqlBlocks_en.java @@ -1,22 +1,18 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.l10n; import java.util.ListResourceBundle; diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/l10n/PgSqlBlocks_ru.java b/src/main/java/ru/taximaxim/pgsqlblocks/l10n/PgSqlBlocks_ru.java index 68af716d..2f6c5785 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/l10n/PgSqlBlocks_ru.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/l10n/PgSqlBlocks_ru.java @@ -1,22 +1,18 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.l10n; import java.util.ListResourceBundle; diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/modules/application/controller/ApplicationController.java b/src/main/java/ru/taximaxim/pgsqlblocks/modules/application/controller/ApplicationController.java index acd3ba3e..bfee07f7 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/modules/application/controller/ApplicationController.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/modules/application/controller/ApplicationController.java @@ -1,22 +1,18 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.modules.application.controller; import org.eclipse.swt.SWT; diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/modules/application/view/ApplicationView.java b/src/main/java/ru/taximaxim/pgsqlblocks/modules/application/view/ApplicationView.java index 6a9d8a63..1e21361a 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/modules/application/view/ApplicationView.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/modules/application/view/ApplicationView.java @@ -1,22 +1,18 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.modules.application.view; import static ru.taximaxim.pgsqlblocks.PgSqlBlocks.APP_NAME; diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/modules/application/view/ApplicationViewListener.java b/src/main/java/ru/taximaxim/pgsqlblocks/modules/application/view/ApplicationViewListener.java index 85cd25d6..848a7ee5 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/modules/application/view/ApplicationViewListener.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/modules/application/view/ApplicationViewListener.java @@ -1,22 +1,18 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * + * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.modules.application.view; public interface ApplicationViewListener { diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/modules/blocksjournal/view/BlocksJournalFilesContentProvider.java b/src/main/java/ru/taximaxim/pgsqlblocks/modules/blocksjournal/view/BlocksJournalFilesContentProvider.java index 5844ac53..3bde2960 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/modules/blocksjournal/view/BlocksJournalFilesContentProvider.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/modules/blocksjournal/view/BlocksJournalFilesContentProvider.java @@ -1,29 +1,25 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * + * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.modules.blocksjournal.view; +import java.util.List; + import org.eclipse.jface.viewers.IStructuredContentProvider; import org.eclipse.jface.viewers.Viewer; -import java.util.List; - public class BlocksJournalFilesContentProvider implements IStructuredContentProvider { @Override public Object[] getElements(Object inputElement) { diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/modules/blocksjournal/view/BlocksJournalFilesLabelProvider.java b/src/main/java/ru/taximaxim/pgsqlblocks/modules/blocksjournal/view/BlocksJournalFilesLabelProvider.java index e0b01c2c..6ff0c479 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/modules/blocksjournal/view/BlocksJournalFilesLabelProvider.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/modules/blocksjournal/view/BlocksJournalFilesLabelProvider.java @@ -1,28 +1,25 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * + * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.modules.blocksjournal.view; +import java.io.File; + import org.eclipse.swt.graphics.Image; -import ru.taximaxim.pgsqlblocks.common.ui.TreeLabelProvider; -import java.io.File; +import ru.taximaxim.pgsqlblocks.common.ui.TreeLabelProvider; public class BlocksJournalFilesLabelProvider extends TreeLabelProvider { diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/modules/blocksjournal/view/BlocksJournalView.java b/src/main/java/ru/taximaxim/pgsqlblocks/modules/blocksjournal/view/BlocksJournalView.java index 4aea6f7c..c4cd2780 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/modules/blocksjournal/view/BlocksJournalView.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/modules/blocksjournal/view/BlocksJournalView.java @@ -1,22 +1,18 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.modules.blocksjournal.view; import java.io.File; diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/modules/db/controller/DBController.java b/src/main/java/ru/taximaxim/pgsqlblocks/modules/db/controller/DBController.java index 1be69881..653081eb 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/modules/db/controller/DBController.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/modules/db/controller/DBController.java @@ -1,22 +1,18 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.modules.db.controller; import static ru.taximaxim.pgsqlblocks.PgSqlBlocks.APP_NAME; diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/modules/db/controller/DBControllerListener.java b/src/main/java/ru/taximaxim/pgsqlblocks/modules/db/controller/DBControllerListener.java index 93a0dab1..4b12fbd9 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/modules/db/controller/DBControllerListener.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/modules/db/controller/DBControllerListener.java @@ -1,28 +1,24 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * + * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.modules.db.controller; -import ru.taximaxim.pgsqlblocks.modules.db.model.DBStatus; - import java.sql.SQLException; +import ru.taximaxim.pgsqlblocks.modules.db.model.DBStatus; + public interface DBControllerListener { void dbControllerStatusChanged(DBController controller, DBStatus newStatus); diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/modules/db/controller/UserInputPasswordProvider.java b/src/main/java/ru/taximaxim/pgsqlblocks/modules/db/controller/UserInputPasswordProvider.java index f5c91a35..28de16d0 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/modules/db/controller/UserInputPasswordProvider.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/modules/db/controller/UserInputPasswordProvider.java @@ -1,22 +1,18 @@ -/*- - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * + * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.modules.db.controller; import ru.taximaxim.pgsqlblocks.utils.UserCancelException; diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/modules/db/model/DBStatus.java b/src/main/java/ru/taximaxim/pgsqlblocks/modules/db/model/DBStatus.java index 145e5286..7637a712 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/modules/db/model/DBStatus.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/modules/db/model/DBStatus.java @@ -1,22 +1,18 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * + * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.modules.db.model; import ru.taximaxim.pgsqlblocks.utils.Images; diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/modules/logs/view/LogsView.java b/src/main/java/ru/taximaxim/pgsqlblocks/modules/logs/view/LogsView.java index ca9c38dc..9ec7db2c 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/modules/logs/view/LogsView.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/modules/logs/view/LogsView.java @@ -1,22 +1,18 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.modules.logs.view; import org.eclipse.swt.SWT; diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/modules/processes/controller/ProcessesController.java b/src/main/java/ru/taximaxim/pgsqlblocks/modules/processes/controller/ProcessesController.java index 3aa0c043..6affd02f 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/modules/processes/controller/ProcessesController.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/modules/processes/controller/ProcessesController.java @@ -1,22 +1,18 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.modules.processes.controller; import java.lang.reflect.InvocationTargetException; diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/modules/processes/view/ProcessesView.java b/src/main/java/ru/taximaxim/pgsqlblocks/modules/processes/view/ProcessesView.java index cc8f4fbe..5471db84 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/modules/processes/view/ProcessesView.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/modules/processes/view/ProcessesView.java @@ -1,22 +1,18 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * + * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.modules.processes.view; import org.eclipse.swt.SWT; diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/ui/AboutDlg.java b/src/main/java/ru/taximaxim/pgsqlblocks/ui/AboutDlg.java index cd5565a9..c3df8ef2 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/ui/AboutDlg.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/ui/AboutDlg.java @@ -1,22 +1,18 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * + * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.ui; import org.eclipse.jface.layout.PixelConverter; @@ -27,7 +23,12 @@ import org.eclipse.swt.layout.GridData; import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.program.Program; -import org.eclipse.swt.widgets.*; +import org.eclipse.swt.widgets.Button; +import org.eclipse.swt.widgets.Dialog; +import org.eclipse.swt.widgets.Display; +import org.eclipse.swt.widgets.Label; +import org.eclipse.swt.widgets.Link; +import org.eclipse.swt.widgets.Shell; public class AboutDlg extends Dialog { diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/ui/UIAppender.java b/src/main/java/ru/taximaxim/pgsqlblocks/ui/UIAppender.java index 90013fb4..586acda9 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/ui/UIAppender.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/ui/UIAppender.java @@ -1,22 +1,18 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.ui; import java.nio.charset.StandardCharsets; diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/utils/ColumnLayout.java b/src/main/java/ru/taximaxim/pgsqlblocks/utils/ColumnLayout.java index 8bf424b0..8c3fe1c7 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/utils/ColumnLayout.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/utils/ColumnLayout.java @@ -1,22 +1,18 @@ -/*- - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.utils; public class ColumnLayout { diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/utils/Columns.java b/src/main/java/ru/taximaxim/pgsqlblocks/utils/Columns.java index 68d02dd3..c7fcacde 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/utils/Columns.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/utils/Columns.java @@ -1,22 +1,18 @@ -/*- - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.utils; public enum Columns { diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/utils/DateUtils.java b/src/main/java/ru/taximaxim/pgsqlblocks/utils/DateUtils.java index a7550933..f7cf8ce5 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/utils/DateUtils.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/utils/DateUtils.java @@ -1,22 +1,18 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.utils; import java.time.Duration; diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/utils/ImageUtils.java b/src/main/java/ru/taximaxim/pgsqlblocks/utils/ImageUtils.java index 6d18328b..d84c5b91 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/utils/ImageUtils.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/utils/ImageUtils.java @@ -1,22 +1,18 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.utils; import java.util.EnumMap; diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/utils/Images.java b/src/main/java/ru/taximaxim/pgsqlblocks/utils/Images.java index 46b9473f..52611a33 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/utils/Images.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/utils/Images.java @@ -1,22 +1,18 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * + * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.utils; public enum Images { diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/utils/PathBuilder.java b/src/main/java/ru/taximaxim/pgsqlblocks/utils/PathBuilder.java index bdd66fa9..2b89ebb3 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/utils/PathBuilder.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/utils/PathBuilder.java @@ -1,22 +1,18 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.utils; import java.io.IOException; diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/utils/Settings.java b/src/main/java/ru/taximaxim/pgsqlblocks/utils/Settings.java index dbc2db51..03eaad38 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/utils/Settings.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/utils/Settings.java @@ -1,22 +1,18 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.utils; import java.io.File; diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/utils/SettingsListener.java b/src/main/java/ru/taximaxim/pgsqlblocks/utils/SettingsListener.java index 813fbeb3..c7f078cb 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/utils/SettingsListener.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/utils/SettingsListener.java @@ -1,22 +1,18 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.utils; public interface SettingsListener { diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/utils/UserCancelException.java b/src/main/java/ru/taximaxim/pgsqlblocks/utils/UserCancelException.java index 101acfec..b6cd6229 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/utils/UserCancelException.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/utils/UserCancelException.java @@ -1,22 +1,18 @@ -/*- - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * + * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.utils; /** diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/xmlstore/ColumnLayoutsXmlStore.java b/src/main/java/ru/taximaxim/pgsqlblocks/xmlstore/ColumnLayoutsXmlStore.java index 456ea746..3dd602aa 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/xmlstore/ColumnLayoutsXmlStore.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/xmlstore/ColumnLayoutsXmlStore.java @@ -1,22 +1,18 @@ -/*- - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.xmlstore; import java.nio.file.Path; diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/xmlstore/DBBlocksXmlStore.java b/src/main/java/ru/taximaxim/pgsqlblocks/xmlstore/DBBlocksXmlStore.java index 31aedefa..c6fddbb2 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/xmlstore/DBBlocksXmlStore.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/xmlstore/DBBlocksXmlStore.java @@ -1,22 +1,18 @@ -/*- - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.xmlstore; import java.nio.file.Path; diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/xmlstore/DBModelsXmlStore.java b/src/main/java/ru/taximaxim/pgsqlblocks/xmlstore/DBModelsXmlStore.java index 31bbd270..16258f99 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/xmlstore/DBModelsXmlStore.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/xmlstore/DBModelsXmlStore.java @@ -1,22 +1,18 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.xmlstore; import java.nio.file.Path; diff --git a/src/main/java/ru/taximaxim/pgsqlblocks/xmlstore/XmlStore.java b/src/main/java/ru/taximaxim/pgsqlblocks/xmlstore/XmlStore.java index b16d64ed..eb8a2140 100644 --- a/src/main/java/ru/taximaxim/pgsqlblocks/xmlstore/XmlStore.java +++ b/src/main/java/ru/taximaxim/pgsqlblocks/xmlstore/XmlStore.java @@ -1,22 +1,18 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.xmlstore; import java.io.IOException; diff --git a/src/main/java/ru/taximaxim/treeviewer/ExtendedTreeViewer.java b/src/main/java/ru/taximaxim/treeviewer/ExtendedTreeViewer.java index 1863d4e3..520406a1 100644 --- a/src/main/java/ru/taximaxim/treeviewer/ExtendedTreeViewer.java +++ b/src/main/java/ru/taximaxim/treeviewer/ExtendedTreeViewer.java @@ -1,22 +1,18 @@ -/*- - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2018 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.treeviewer; import java.util.Locale; diff --git a/src/main/java/ru/taximaxim/treeviewer/dialog/ColumnConfigDialog.java b/src/main/java/ru/taximaxim/treeviewer/dialog/ColumnConfigDialog.java index f14ed4cb..eb5b13af 100644 --- a/src/main/java/ru/taximaxim/treeviewer/dialog/ColumnConfigDialog.java +++ b/src/main/java/ru/taximaxim/treeviewer/dialog/ColumnConfigDialog.java @@ -1,22 +1,18 @@ -/*- - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.treeviewer.dialog; import java.util.ResourceBundle; diff --git a/src/main/java/ru/taximaxim/treeviewer/filter/ColumnType.java b/src/main/java/ru/taximaxim/treeviewer/filter/ColumnType.java index 43bf65bc..6d7963c1 100644 --- a/src/main/java/ru/taximaxim/treeviewer/filter/ColumnType.java +++ b/src/main/java/ru/taximaxim/treeviewer/filter/ColumnType.java @@ -1,22 +1,18 @@ -/*- - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.treeviewer.filter; enum ColumnType { diff --git a/src/main/java/ru/taximaxim/treeviewer/filter/FilterChangeHandler.java b/src/main/java/ru/taximaxim/treeviewer/filter/FilterChangeHandler.java index ba8cd449..e071a1d5 100644 --- a/src/main/java/ru/taximaxim/treeviewer/filter/FilterChangeHandler.java +++ b/src/main/java/ru/taximaxim/treeviewer/filter/FilterChangeHandler.java @@ -1,22 +1,18 @@ -/*- - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.treeviewer.filter; import java.util.ArrayList; diff --git a/src/main/java/ru/taximaxim/treeviewer/filter/FilterComposite.java b/src/main/java/ru/taximaxim/treeviewer/filter/FilterComposite.java index a9c30766..ba5137da 100644 --- a/src/main/java/ru/taximaxim/treeviewer/filter/FilterComposite.java +++ b/src/main/java/ru/taximaxim/treeviewer/filter/FilterComposite.java @@ -1,22 +1,18 @@ -/*- - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.treeviewer.filter; import java.util.ArrayList; diff --git a/src/main/java/ru/taximaxim/treeviewer/filter/FilterOperation.java b/src/main/java/ru/taximaxim/treeviewer/filter/FilterOperation.java index 407d560e..38ad3d70 100644 --- a/src/main/java/ru/taximaxim/treeviewer/filter/FilterOperation.java +++ b/src/main/java/ru/taximaxim/treeviewer/filter/FilterOperation.java @@ -1,22 +1,18 @@ -/*- - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.treeviewer.filter; import java.util.Optional; diff --git a/src/main/java/ru/taximaxim/treeviewer/l10n/TreeViewer.java b/src/main/java/ru/taximaxim/treeviewer/l10n/TreeViewer.java index 380d6f09..c42efcbe 100644 --- a/src/main/java/ru/taximaxim/treeviewer/l10n/TreeViewer.java +++ b/src/main/java/ru/taximaxim/treeviewer/l10n/TreeViewer.java @@ -1,22 +1,18 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * + * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.treeviewer.l10n; public class TreeViewer extends TreeViewer_ru { diff --git a/src/main/java/ru/taximaxim/treeviewer/l10n/TreeViewer_en.java b/src/main/java/ru/taximaxim/treeviewer/l10n/TreeViewer_en.java index 5f4e660f..7846b36c 100644 --- a/src/main/java/ru/taximaxim/treeviewer/l10n/TreeViewer_en.java +++ b/src/main/java/ru/taximaxim/treeviewer/l10n/TreeViewer_en.java @@ -1,22 +1,18 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.treeviewer.l10n; import java.util.ListResourceBundle; diff --git a/src/main/java/ru/taximaxim/treeviewer/l10n/TreeViewer_ru.java b/src/main/java/ru/taximaxim/treeviewer/l10n/TreeViewer_ru.java index a7d83fe5..372e9b2e 100644 --- a/src/main/java/ru/taximaxim/treeviewer/l10n/TreeViewer_ru.java +++ b/src/main/java/ru/taximaxim/treeviewer/l10n/TreeViewer_ru.java @@ -1,22 +1,18 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.treeviewer.l10n; import java.util.ListResourceBundle; diff --git a/src/main/java/ru/taximaxim/treeviewer/models/DataSource.java b/src/main/java/ru/taximaxim/treeviewer/models/DataSource.java index 3b9164e0..c0ead71a 100644 --- a/src/main/java/ru/taximaxim/treeviewer/models/DataSource.java +++ b/src/main/java/ru/taximaxim/treeviewer/models/DataSource.java @@ -1,22 +1,18 @@ -/*- - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.treeviewer.models; import java.util.ArrayList; diff --git a/src/main/java/ru/taximaxim/treeviewer/models/IObject.java b/src/main/java/ru/taximaxim/treeviewer/models/IObject.java index 4c6ed897..3a29e7c0 100644 --- a/src/main/java/ru/taximaxim/treeviewer/models/IObject.java +++ b/src/main/java/ru/taximaxim/treeviewer/models/IObject.java @@ -1,22 +1,18 @@ -/*- - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.treeviewer.models; import java.util.List; diff --git a/src/main/java/ru/taximaxim/treeviewer/tree/ExtendedTreeViewerComponent.java b/src/main/java/ru/taximaxim/treeviewer/tree/ExtendedTreeViewerComponent.java index 228b8137..24bfa699 100644 --- a/src/main/java/ru/taximaxim/treeviewer/tree/ExtendedTreeViewerComponent.java +++ b/src/main/java/ru/taximaxim/treeviewer/tree/ExtendedTreeViewerComponent.java @@ -1,22 +1,18 @@ -/*- - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.treeviewer.tree; import java.util.ArrayList; diff --git a/src/main/java/ru/taximaxim/treeviewer/utils/AggregatingListener.java b/src/main/java/ru/taximaxim/treeviewer/utils/AggregatingListener.java index 1cee7e7d..024807c3 100644 --- a/src/main/java/ru/taximaxim/treeviewer/utils/AggregatingListener.java +++ b/src/main/java/ru/taximaxim/treeviewer/utils/AggregatingListener.java @@ -1,22 +1,18 @@ -/*- - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.treeviewer.utils; import org.eclipse.swt.internal.SWTEventListener; diff --git a/src/main/java/ru/taximaxim/treeviewer/utils/ImageUtils.java b/src/main/java/ru/taximaxim/treeviewer/utils/ImageUtils.java index eac184c5..4c8d78cf 100644 --- a/src/main/java/ru/taximaxim/treeviewer/utils/ImageUtils.java +++ b/src/main/java/ru/taximaxim/treeviewer/utils/ImageUtils.java @@ -1,29 +1,25 @@ -/*- - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * + * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.treeviewer.utils; -import org.eclipse.swt.graphics.Image; - import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; +import org.eclipse.swt.graphics.Image; + public final class ImageUtils { private static final ConcurrentMap imagesMap = new ConcurrentHashMap<>(); diff --git a/src/main/java/ru/taximaxim/treeviewer/utils/Images.java b/src/main/java/ru/taximaxim/treeviewer/utils/Images.java index 410ed4da..a2d0f419 100644 --- a/src/main/java/ru/taximaxim/treeviewer/utils/Images.java +++ b/src/main/java/ru/taximaxim/treeviewer/utils/Images.java @@ -1,22 +1,18 @@ -/*- - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.treeviewer.utils; import java.util.ResourceBundle; diff --git a/src/main/java/ru/taximaxim/treeviewer/utils/TriFunction.java b/src/main/java/ru/taximaxim/treeviewer/utils/TriFunction.java index fa4a42e9..c3e10610 100644 --- a/src/main/java/ru/taximaxim/treeviewer/utils/TriFunction.java +++ b/src/main/java/ru/taximaxim/treeviewer/utils/TriFunction.java @@ -1,22 +1,18 @@ -/*- - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * + * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.treeviewer.utils; import java.util.Objects; diff --git a/src/test/java/ru/taximaxim/pgsqlblocks/modules/db/controller/DBControllerTest.java b/src/test/java/ru/taximaxim/pgsqlblocks/modules/db/controller/DBControllerTest.java index feca8a1a..7aa52aaf 100644 --- a/src/test/java/ru/taximaxim/pgsqlblocks/modules/db/controller/DBControllerTest.java +++ b/src/test/java/ru/taximaxim/pgsqlblocks/modules/db/controller/DBControllerTest.java @@ -1,32 +1,22 @@ -/* - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2022 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.modules.db.controller; -import com.typesafe.config.Config; -import com.typesafe.config.ConfigFactory; -import org.junit.*; -import ru.taximaxim.pgsqlblocks.common.models.DBModel; -import ru.taximaxim.pgsqlblocks.common.models.DBProcess; -import ru.taximaxim.pgsqlblocks.common.models.DBProcessStatus; -import ru.taximaxim.pgsqlblocks.modules.db.model.DBStatus; -import ru.taximaxim.pgsqlblocks.utils.Settings; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertTrue; import java.io.IOException; import java.net.URISyntaxException; @@ -34,15 +24,33 @@ import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; -import java.sql.*; -import java.util.*; +import java.sql.Connection; +import java.sql.DriverManager; +import java.sql.PreparedStatement; +import java.sql.ResultSet; +import java.sql.SQLException; +import java.util.ArrayList; +import java.util.List; +import java.util.Optional; import java.util.concurrent.CompletableFuture; import java.util.concurrent.ExecutionException; import java.util.stream.Collectors; import java.util.stream.Stream; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertTrue; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +import com.typesafe.config.Config; +import com.typesafe.config.ConfigFactory; + +import ru.taximaxim.pgsqlblocks.common.models.DBModel; +import ru.taximaxim.pgsqlblocks.common.models.DBProcess; +import ru.taximaxim.pgsqlblocks.common.models.DBProcessStatus; +import ru.taximaxim.pgsqlblocks.modules.db.model.DBStatus; +import ru.taximaxim.pgsqlblocks.utils.Settings; public class DBControllerTest { static class Listener implements DBControllerListener { diff --git a/src/test/java/ru/taximaxim/pgsqlblocks/utils/DateUtilsTest.java b/src/test/java/ru/taximaxim/pgsqlblocks/utils/DateUtilsTest.java index c5b59272..159b34a0 100644 --- a/src/test/java/ru/taximaxim/pgsqlblocks/utils/DateUtilsTest.java +++ b/src/test/java/ru/taximaxim/pgsqlblocks/utils/DateUtilsTest.java @@ -1,32 +1,28 @@ -/*- - * ========================LICENSE_START================================= - * pgSqlBlocks - * % - * Copyright (C) 2017 - 2018 "Technology" LLC - * % +/******************************************************************************* + * Copyright 2017-2024 TAXTELECOM, LLC + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * + * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - * =========================LICENSE_END================================== - */ + *******************************************************************************/ package ru.taximaxim.pgsqlblocks.utils; -import org.junit.Test; +import static org.junit.Assert.assertEquals; import java.time.Duration; import java.util.Collections; import java.util.HashMap; import java.util.Map; -import static org.junit.Assert.assertEquals; +import org.junit.Test; public class DateUtilsTest { diff --git a/src/test/resources/create_index.sql b/src/test/resources/create_index.sql index d64744d6..eecad7eb 100644 --- a/src/test/resources/create_index.sql +++ b/src/test/resources/create_index.sql @@ -1,22 +1,3 @@ ---- --- ========================LICENSE_START================================= --- pgSqlBlocks --- % --- Copyright (C) 2017 - 2022 "Technology" LLC --- % --- Licensed under the Apache License, Version 2.0 (the "License"); --- you may not use this file except in compliance with the License. --- You may obtain a copy of the License at --- --- http://www.apache.org/licenses/LICENSE-2.0 --- --- Unless required by applicable law or agreed to in writing, software --- distributed under the License is distributed on an "AS IS" BASIS, --- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. --- See the License for the specific language governing permissions and --- limitations under the License. --- =========================LICENSE_END================================== ---- CREATE INDEX CONCURRENTLY ix_pgsqlblocks_testing_name ON public.pgsqlblocks_testing USING btree diff --git a/src/test/resources/create_rule.sql b/src/test/resources/create_rule.sql index a9530425..7ce27100 100644 --- a/src/test/resources/create_rule.sql +++ b/src/test/resources/create_rule.sql @@ -1,22 +1,3 @@ ---- --- ========================LICENSE_START================================= --- pgSqlBlocks --- % --- Copyright (C) 2017 - 2022 "Technology" LLC --- % --- Licensed under the Apache License, Version 2.0 (the "License"); --- you may not use this file except in compliance with the License. --- You may obtain a copy of the License at --- --- http://www.apache.org/licenses/LICENSE-2.0 --- --- Unless required by applicable law or agreed to in writing, software --- distributed under the License is distributed on an "AS IS" BASIS, --- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. --- See the License for the specific language governing permissions and --- limitations under the License. --- =========================LICENSE_END================================== ---- CREATE OR REPLACE RULE rule_pgsqlblocks_testing AS ON INSERT TO public.pgsqlblocks_testing WHERE new.count >= 0 DO INSTEAD INSERT INTO public.pgsqlblocks_testing (name, count, description) diff --git a/src/test/resources/drop_rule.sql b/src/test/resources/drop_rule.sql index 3896af73..3e20dce5 100644 --- a/src/test/resources/drop_rule.sql +++ b/src/test/resources/drop_rule.sql @@ -1,20 +1 @@ ---- --- ========================LICENSE_START================================= --- pgSqlBlocks --- % --- Copyright (C) 2017 - 2022 "Technology" LLC --- % --- Licensed under the Apache License, Version 2.0 (the "License"); --- you may not use this file except in compliance with the License. --- You may obtain a copy of the License at --- --- http://www.apache.org/licenses/LICENSE-2.0 --- --- Unless required by applicable law or agreed to in writing, software --- distributed under the License is distributed on an "AS IS" BASIS, --- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. --- See the License for the specific language governing permissions and --- limitations under the License. --- =========================LICENSE_END================================== ---- DROP RULE rule_pgsqlblocks_testing ON public.pgsqlblocks_testing; SELECT pg_sleep(28800); \ No newline at end of file diff --git a/src/test/resources/select_1000.sql b/src/test/resources/select_1000.sql index a518a111..cf668b1e 100644 --- a/src/test/resources/select_1000.sql +++ b/src/test/resources/select_1000.sql @@ -1,20 +1 @@ ---- --- ========================LICENSE_START================================= --- pgSqlBlocks --- % --- Copyright (C) 2017 - 2022 "Technology" LLC --- % --- Licensed under the Apache License, Version 2.0 (the "License"); --- you may not use this file except in compliance with the License. --- You may obtain a copy of the License at --- --- http://www.apache.org/licenses/LICENSE-2.0 --- --- Unless required by applicable law or agreed to in writing, software --- distributed under the License is distributed on an "AS IS" BASIS, --- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. --- See the License for the specific language governing permissions and --- limitations under the License. --- =========================LICENSE_END================================== ---- SELECT * FROM public.pgsqlblocks_testing LIMIT 1000; SElECT pg_sleep(600); \ No newline at end of file diff --git a/src/test/resources/select_sleep.sql b/src/test/resources/select_sleep.sql index 0d880fb4..0204a7d9 100644 --- a/src/test/resources/select_sleep.sql +++ b/src/test/resources/select_sleep.sql @@ -1,22 +1,3 @@ ---- --- ========================LICENSE_START================================= --- pgSqlBlocks --- % --- Copyright (C) 2017 - 2022 "Technology" LLC --- % --- Licensed under the Apache License, Version 2.0 (the "License"); --- you may not use this file except in compliance with the License. --- You may obtain a copy of the License at --- --- http://www.apache.org/licenses/LICENSE-2.0 --- --- Unless required by applicable law or agreed to in writing, software --- distributed under the License is distributed on an "AS IS" BASIS, --- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. --- See the License for the specific language governing permissions and --- limitations under the License. --- =========================LICENSE_END================================== ---- BEGIN; SELECT pg_sleep(300); COMMIT; diff --git a/src/test/resources/testing_dump.sql b/src/test/resources/testing_dump.sql index eb30784f..65119a53 100644 --- a/src/test/resources/testing_dump.sql +++ b/src/test/resources/testing_dump.sql @@ -1,22 +1,3 @@ ---- --- ========================LICENSE_START================================= --- pgSqlBlocks --- % --- Copyright (C) 2017 - 2022 "Technology" LLC --- % --- Licensed under the Apache License, Version 2.0 (the "License"); --- you may not use this file except in compliance with the License. --- You may obtain a copy of the License at --- --- http://www.apache.org/licenses/LICENSE-2.0 --- --- Unless required by applicable law or agreed to in writing, software --- distributed under the License is distributed on an "AS IS" BASIS, --- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. --- See the License for the specific language governing permissions and --- limitations under the License. --- =========================LICENSE_END================================== ---- SET statement_timeout = 0; SET lock_timeout = 0; SET client_encoding = 'UTF8';