Skip to content

Commit 5c72d60

Browse files
committed
Code refactoring: Use SMBLibrary.DFS namespace for DFS data structures
1 parent 4a4430c commit 5c72d60

File tree

5 files changed

+5
-15
lines changed

5 files changed

+5
-15
lines changed

SMBLibrary/DFS/DfsReferralEntry.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,9 @@
44
* the GNU Lesser Public License as published by the Free Software Foundation,
55
* either version 3 of the License, or (at your option) any later version.
66
*/
7-
using System;
8-
using System.Collections.Generic;
9-
using System.Text;
107
using Utilities;
118

12-
namespace SMBLibrary
9+
namespace SMBLibrary.DFS
1310
{
1411
public abstract class DfsReferralEntry
1512
{

SMBLibrary/DFS/RequestGetDfsReferral.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,9 @@
44
* the GNU Lesser Public License as published by the Free Software Foundation,
55
* either version 3 of the License, or (at your option) any later version.
66
*/
7-
using System;
8-
using System.Collections.Generic;
9-
using System.Text;
107
using Utilities;
118

12-
namespace SMBLibrary
9+
namespace SMBLibrary.DFS
1310
{
1411
/// <summary>
1512
/// [MS-DFSC] REQ_GET_DFS_REFERRAL

SMBLibrary/DFS/ResponseGetDfsReferral.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@
66
*/
77
using System;
88
using System.Collections.Generic;
9-
using System.Text;
109
using Utilities;
1110

12-
namespace SMBLibrary
11+
namespace SMBLibrary.DFS
1312
{
1413
/// <summary>
1514
/// [MS-DFSC] RESP_GET_DFS_REFERRAL

SMBLibrary/SMB1/Transaction2Subcommands/Transaction2GetDfsReferralRequest.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
* the GNU Lesser Public License as published by the Free Software Foundation,
55
* either version 3 of the License, or (at your option) any later version.
66
*/
7-
using System;
8-
using System.Collections.Generic;
7+
using SMBLibrary.DFS;
98
using Utilities;
109

1110
namespace SMBLibrary.SMB1

SMBLibrary/SMB1/Transaction2Subcommands/Transaction2GetDfsReferralResponse.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44
* the GNU Lesser Public License as published by the Free Software Foundation,
55
* either version 3 of the License, or (at your option) any later version.
66
*/
7-
using System;
8-
using System.Collections.Generic;
9-
using Utilities;
7+
using SMBLibrary.DFS;
108

119
namespace SMBLibrary.SMB1
1210
{

0 commit comments

Comments
 (0)