From add35f9de6cc3f50f630a15d96e1a5df32007aeb Mon Sep 17 00:00:00 2001 From: Tglman Date: Fri, 24 May 2019 17:49:09 +0100 Subject: [PATCH] enabled modifier order check and fixed all the relative issues --- _base/orient_checks.xml | 2 - .../common/collection/OLRUCache.java | 2 +- .../concur/lock/OComparableLockManager.java | 2 +- .../lock/OOneEntryPerKeyLockManager.java | 2 +- .../concur/lock/OReadersWriterSpinLock.java | 2 +- .../common/concur/lock/ScalableRWLock.java | 18 ++--- .../common/console/TTYConsoleReader.java | 34 +++++----- .../common/log/OAnsiCode.java | 2 +- .../core/command/traverse/OTraversePath.java | 2 +- .../orient/core/db/OExecutionThreadLocal.java | 4 +- .../core/db/document/ODatabaseDocument.java | 2 +- .../core/db/record/OLazyRecordIterator.java | 6 +- .../orient/core/db/record/ORecordLazyMap.java | 2 +- .../db/record/ORecordTrackedIterator.java | 4 +- .../core/db/record/ORecordTrackedSet.java | 2 +- .../orient/core/db/record/OTrackedMap.java | 2 +- .../core/db/tool/ODatabaseImpExpAbstract.java | 2 +- .../core/index/OIndexManagerShared.java | 2 +- .../orient/core/index/OIndexRemote.java | 38 +++++------ .../core/index/OIndexRemoteMultiValue.java | 2 +- .../core/index/OIndexRemoteOneValue.java | 2 +- .../core/index/ONullOutputListener.java | 2 +- .../v1/OCellBTreeMultiValueIndexEngine.java | 2 +- .../core/metadata/schema/OPropertyImpl.java | 2 +- .../security/ODatabaseSecurityResources.java | 68 +++++++++---------- .../core/metadata/security/OIdentity.java | 2 +- .../orient/core/metadata/security/ORole.java | 18 ++--- .../orient/core/metadata/security/ORule.java | 2 +- .../orient/core/schedule/OScheduledEvent.java | 2 +- .../core/serialization/OStreamableHelper.java | 16 ++--- .../functions/geo/OSQLFunctionDistance.java | 2 +- .../orient/core/storage/OStorageAbstract.java | 2 +- .../storage/cache/local/twoq/O2QCache.java | 2 +- .../cluster/v0/OPaginatedClusterV0.java | 2 +- .../cluster/v1/OPaginatedClusterV1.java | 2 +- .../storage/disk/OLocalPaginatedStorage.java | 2 +- .../orient/core/storage/fs/OFileClassic.java | 2 +- .../wal/cas/OCASDiskWriteAheadLog.java | 2 +- .../OSessionStoragePerformanceStatistic.java | 2 +- .../OHashIndexFileLevelMetadataPage.java | 10 +-- .../storage/index/sbtree/local/OSBTree.java | 2 +- .../multivalue/v1/OCellBTreeMultiValueV1.java | 4 +- .../multivalue/v2/OCellBTreeMultiValueV2.java | 4 +- .../singlevalue/OCellBTreeSingleValue.java | 4 +- .../orient/core/util/OURLHelper.java | 4 +- .../transaction/OIndexKeyChange.java | 4 +- .../transaction/OIndexKeyOperation.java | 4 +- .../impl/task/OAbstractSyncDatabaseTask.java | 2 +- .../impl/task/OAbstractSyncDatabaseTask.java | 2 +- .../distributed/impl/task/OGossipTask.java | 2 +- .../impl/task/OSyncClusterTask.java | 2 +- .../etl/util/OMigrationConfigManager.java | 4 +- .../jdbc/OrientJdbcDatabaseMetaData.java | 2 +- .../jdbc/OrientJdbcResultSetMetaData.java | 2 +- .../strategy/SpatialQueryBuilderAbstract.java | 10 +-- .../orient/object/db/OObjectLazyIterator.java | 2 +- .../orient/object/jpa/OJPAProperties.java | 8 +-- .../jpa/parsing/PersistenceXmlUtil.java | 4 +- .../OObjectSerializerContext.java | 2 +- .../distributed/ORemoteServerChannel.java | 2 +- .../distributed/ORemoteServerController.java | 2 +- .../orient/console/OTableFormatter.java | 4 +- .../stresstest/OConsoleProgressWriter.java | 2 +- .../OStressTesterCommandLineParser.java | 30 ++++---- 64 files changed, 191 insertions(+), 193 deletions(-) diff --git a/_base/orient_checks.xml b/_base/orient_checks.xml index fa8caba4dd3..b61f9762773 100644 --- a/_base/orient_checks.xml +++ b/_base/orient_checks.xml @@ -88,9 +88,7 @@ -