Skip to content

Commit 833756f

Browse files
committed
Minor refactoring
1 parent 70eed6f commit 833756f

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

samples/cs/tar/Main.cs

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@
2727

2828
using System;
2929
using System.IO;
30-
31-
using ICSharpCode.SharpZipLib;
3230
using ICSharpCode.SharpZipLib.Zip.Compression.Streams;
3331
using ICSharpCode.SharpZipLib.GZip;
3432
using ICSharpCode.SharpZipLib.BZip2;
@@ -129,14 +127,14 @@ enum Operation
129127
/// </summary>
130128
public Tar()
131129
{
132-
this.blockingFactor = TarBuffer.DefaultBlockFactor;
133-
this.userId = 0;
130+
blockingFactor = TarBuffer.DefaultBlockFactor;
131+
userId = 0;
134132

135133
string sysUserName = Environment.UserName;
136-
this.userName = ((sysUserName == null) ? "" : sysUserName);
134+
userName = ((sysUserName == null) ? "" : sysUserName);
137135

138-
this.groupId = 0;
139-
this.groupName = "None";
136+
groupId = 0;
137+
groupName = "None";
140138
}
141139

142140
/// <summary>

0 commit comments

Comments
 (0)