@@ -330,7 +330,7 @@ protected void ProcessJoins()
330
330
while ( joinQueue . Count > 0 )
331
331
{
332
332
QueueEntry entry = joinQueue . Dequeue ( ) ;
333
- entry . Walk ( this , ref depth ) ;
333
+ entry . Walk ( this ) ;
334
334
}
335
335
}
336
336
@@ -1256,7 +1256,7 @@ protected static string GetSelectFragment(OuterJoinableAssociation join, string
1256
1256
1257
1257
protected abstract class QueueEntry
1258
1258
{
1259
- public abstract void Walk ( JoinWalker walker , ref int depth ) ;
1259
+ public abstract void Walk ( JoinWalker walker ) ;
1260
1260
}
1261
1261
1262
1262
protected abstract class QueueEntry < T > : QueueEntry where T : IJoinable
@@ -1272,7 +1272,7 @@ protected abstract class EntityQueueEntry<T> : QueueEntry<T> where T : IJoinable
1272
1272
1273
1273
protected class EntityQueueEntry : EntityQueueEntry < IOuterJoinLoadable >
1274
1274
{
1275
- public override void Walk ( JoinWalker walker , ref int depth )
1275
+ public override void Walk ( JoinWalker walker )
1276
1276
{
1277
1277
walker . WalkEntityTree ( Persister , Alias , Path ) ;
1278
1278
}
@@ -1282,7 +1282,7 @@ protected class CollectionQueueEntry : EntityQueueEntry<IQueryableCollection>
1282
1282
{
1283
1283
public string PathAlias { get ; set ; }
1284
1284
1285
- public override void Walk ( JoinWalker walker , ref int depth )
1285
+ public override void Walk ( JoinWalker walker )
1286
1286
{
1287
1287
walker . WalkCollectionTree ( Persister , Alias , Path , PathAlias ) ;
1288
1288
}
@@ -1296,9 +1296,9 @@ private NextLevelQueueEntry()
1296
1296
{
1297
1297
}
1298
1298
1299
- public override void Walk ( JoinWalker walker , ref int depth )
1299
+ public override void Walk ( JoinWalker walker )
1300
1300
{
1301
- depth ++ ;
1301
+ walker . depth ++ ;
1302
1302
}
1303
1303
}
1304
1304
}
0 commit comments