mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 21:20:45 +00:00
Checkstyle
This commit is contained in:
@ -1,5 +1,22 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright © 2022-2024. ColdTrack <contact@coldtrack.com>. All Rights Reserved.
|
* QQQ - Low-code Application Framework for Engineers.
|
||||||
|
* Copyright (C) 2021-2025. Kingsrook, LLC
|
||||||
|
* 651 N Broad St Ste 205 # 6917 | Middletown DE 19709 | United States
|
||||||
|
* contact@kingsrook.com
|
||||||
|
* https://github.com/Kingsrook/
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU Affero General Public License as
|
||||||
|
* published by the Free Software Foundation, either version 3 of the
|
||||||
|
* License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU Affero General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Affero General Public License
|
||||||
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.kingsrook.qqq.backend.core.scheduler.processes;
|
package com.kingsrook.qqq.backend.core.scheduler.processes;
|
||||||
|
@ -186,11 +186,11 @@ public class QInstanceValidatorTest extends BaseTest
|
|||||||
"Instance tableCustomizer of type preInsertRecord: CodeReference is not of the expected type");
|
"Instance tableCustomizer of type preInsertRecord: CodeReference is not of the expected type");
|
||||||
|
|
||||||
assertValidationFailureReasons((qInstance) ->
|
assertValidationFailureReasons((qInstance) ->
|
||||||
{
|
{
|
||||||
qInstance.withTableCustomizer(TableCustomizers.POST_UPDATE_RECORD, new QCodeReference(QInstanceValidator.class));
|
qInstance.withTableCustomizer(TableCustomizers.POST_UPDATE_RECORD, new QCodeReference(QInstanceValidator.class));
|
||||||
qInstance.withTableCustomizer(TableCustomizers.POST_UPDATE_RECORD, new QCodeReference(QInstanceValidator.class));
|
qInstance.withTableCustomizer(TableCustomizers.POST_UPDATE_RECORD, new QCodeReference(QInstanceValidator.class));
|
||||||
qInstance.withTableCustomizer(TableCustomizers.PRE_DELETE_RECORD, new QCodeReference(QInstanceValidator.class));
|
qInstance.withTableCustomizer(TableCustomizers.PRE_DELETE_RECORD, new QCodeReference(QInstanceValidator.class));
|
||||||
},
|
},
|
||||||
"Instance tableCustomizer of type postUpdateRecord: CodeReference is not of the expected type",
|
"Instance tableCustomizer of type postUpdateRecord: CodeReference is not of the expected type",
|
||||||
"Instance tableCustomizer of type postUpdateRecord: CodeReference is not of the expected type",
|
"Instance tableCustomizer of type postUpdateRecord: CodeReference is not of the expected type",
|
||||||
"Instance tableCustomizer of type preDeleteRecord: CodeReference is not of the expected type");
|
"Instance tableCustomizer of type preDeleteRecord: CodeReference is not of the expected type");
|
||||||
|
@ -164,7 +164,7 @@ public class RDBMSBackendAssessor
|
|||||||
QFieldMetaData columnMetaData = new QFieldMetaData(columnName, typeMap.get(dataTypeName));
|
QFieldMetaData columnMetaData = new QFieldMetaData(columnName, typeMap.get(dataTypeName));
|
||||||
columnMap.put(columnName, columnMetaData);
|
columnMap.put(columnName, columnMetaData);
|
||||||
|
|
||||||
if("YES" .equals(isAutoIncrement))
|
if("YES".equals(isAutoIncrement))
|
||||||
{
|
{
|
||||||
primaryKeyColumnName = columnName;
|
primaryKeyColumnName = columnName;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user