Skip to content

Commit 01b5f2e

Browse files
author
Iwanow, Mihail (EXT)
committed
Reformat
1 parent d2fc676 commit 01b5f2e

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

src/NHibernate/Engine/Loading/CollectionLoadContext.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ private void EndLoadingCollection(
317317
/// <param name="persister">The persister </param>
318318
/// <param name="cacheBatchingHandler">The action for handling cache batching</param>
319319
private void AddCollectionToCache(LoadingCollectionEntry lce, ICollectionPersister persister,
320-
Action<CachePutData> cacheBatchingHandler)
320+
Action<CachePutData> cacheBatchingHandler)
321321
{
322322
ISessionImplementor session = LoadContext.PersistenceContext.Session;
323323
ISessionFactoryImplementor factory = session.Factory;
@@ -371,8 +371,8 @@ private void AddCollectionToCache(LoadingCollectionEntry lce, ICollectionPersist
371371
else
372372
{
373373
bool put = persister.Cache.Put(cacheKey, persister.CacheEntryStructure.Structure(entry),
374-
session.Timestamp, version, versionComparator,
375-
factory.Settings.IsMinimalPutsEnabled && session.CacheMode != CacheMode.Refresh);
374+
session.Timestamp, version, versionComparator,
375+
factory.Settings.IsMinimalPutsEnabled && session.CacheMode != CacheMode.Refresh);
376376

377377
if (put && factory.Statistics.IsStatisticsEnabled)
378378
{

src/NHibernate/Engine/QueryParameters.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public QueryParameters(IType[] positionalParameterTypes, object[] postionalParam
4040
: this(positionalParameterTypes, postionalParameterValues, namedParameters, null, null, false, false, false, null, null, collectionKeys, null, null) {}
4141

4242
public QueryParameters(IType[] positionalParameterTypes, object[] positionalParameterValues, IDictionary<string, LockMode> lockModes, RowSelection rowSelection,
43-
bool isReadOnlyInitialized, bool readOnly, bool cacheable, string cacheRegion, string comment, bool isLookupByNaturalKey, IResultTransformer transformer)
43+
bool isReadOnlyInitialized, bool readOnly, bool cacheable, string cacheRegion, string comment, bool isLookupByNaturalKey, IResultTransformer transformer)
4444
: this(positionalParameterTypes, positionalParameterValues, null, lockModes, rowSelection, isReadOnlyInitialized, readOnly, cacheable, cacheRegion, comment, null, transformer, null)
4545
{
4646
NaturalKeyLookup = isLookupByNaturalKey;
@@ -67,15 +67,15 @@ public QueryParameters(IDictionary<string, TypedValue> namedParameters, IDiction
6767
[Obsolete("Please use QueryParameters(IType[], object[], IDictionary<string, TypedValue>, " +
6868
"IDictionary<string, LockMode>, RowSelection, bool, bool, bool, string, string, object[], IResultTransformer, HashSet<string>) instead.")]
6969
public QueryParameters(IType[] positionalParameterTypes, object[] positionalParameterValues, IDictionary<string, TypedValue> namedParameters,
70-
IDictionary<string, LockMode> lockModes, RowSelection rowSelection, bool isReadOnlyInitialized, bool readOnly, bool cacheable, string cacheRegion,
71-
string comment, object[] collectionKeys, IResultTransformer transformer)
70+
IDictionary<string, LockMode> lockModes, RowSelection rowSelection, bool isReadOnlyInitialized, bool readOnly, bool cacheable, string cacheRegion,
71+
string comment, object[] collectionKeys, IResultTransformer transformer)
7272
: this(
7373
TypeHelper.EmptyTypeArray, Array.Empty<object>(), namedParameters, lockModes, rowSelection, isReadOnlyInitialized, readOnly, cacheable, cacheRegion, comment, null,
7474
transformer, null) {}
7575

7676
public QueryParameters(IType[] positionalParameterTypes, object[] positionalParameterValues, IDictionary<string, TypedValue> namedParameters,
77-
IDictionary<string, LockMode> lockModes, RowSelection rowSelection, bool isReadOnlyInitialized, bool readOnly, bool cacheable, string cacheRegion,
78-
string comment, object[] collectionKeys, IResultTransformer transformer, HashSet<string> uncacheableCollections)
77+
IDictionary<string, LockMode> lockModes, RowSelection rowSelection, bool isReadOnlyInitialized, bool readOnly, bool cacheable, string cacheRegion,
78+
string comment, object[] collectionKeys, IResultTransformer transformer, HashSet<string> uncacheableCollections)
7979
{
8080
PositionalParameterTypes = positionalParameterTypes ?? Array.Empty<IType>();
8181
PositionalParameterValues = positionalParameterValues ?? Array.Empty<object>();
@@ -93,8 +93,8 @@ public QueryParameters(IType[] positionalParameterTypes, object[] positionalPara
9393
}
9494

9595
public QueryParameters(IType[] positionalParameterTypes, object[] positionalParameterValues, IDictionary<string, TypedValue> namedParameters,
96-
IDictionary<string, LockMode> lockModes, RowSelection rowSelection, bool isReadOnlyInitialized, bool readOnly, bool cacheable, string cacheRegion,
97-
string comment, object[] collectionKeys, object optionalObject, string optionalEntityName, object optionalId, IResultTransformer transformer)
96+
IDictionary<string, LockMode> lockModes, RowSelection rowSelection, bool isReadOnlyInitialized, bool readOnly, bool cacheable, string cacheRegion,
97+
string comment, object[] collectionKeys, object optionalObject, string optionalEntityName, object optionalId, IResultTransformer transformer)
9898
: this(
9999
positionalParameterTypes, positionalParameterValues, namedParameters, lockModes, rowSelection, isReadOnlyInitialized, readOnly, cacheable, cacheRegion, comment, collectionKeys,
100100
transformer, null)
@@ -219,7 +219,7 @@ public void ValidateParameters()
219219
if (typesLength != valuesLength)
220220
{
221221
throw new QueryException("Number of positional parameter types (" + typesLength
222-
+ ") does not match number of positional parameter values (" + valuesLength + ")");
222+
+ ") does not match number of positional parameter values (" + valuesLength + ")");
223223
}
224224
}
225225

0 commit comments

Comments
 (0)