Skip to content

Fix/unify code formatting#209

Closed
JAD-SVK wants to merge 1 commit into
icsharpcode:masterfrom
JAD-SVK:FixCodeFormatting
Closed

Fix/unify code formatting#209
JAD-SVK wants to merge 1 commit into
icsharpcode:masterfrom
JAD-SVK:FixCodeFormatting

Conversation

@JAD-SVK
Copy link
Copy Markdown

@JAD-SVK JAD-SVK commented Jan 17, 2018

The code formatting contains tabs and (4) spaces formatting.
In some parts the tabs had a different width. Some lines contained spaces and tabs to "fix" position, but unfortunately, sometimes totally invalid for different tab settings (incorrect count of tabulators/spaces).

No code was changed, only white space was unified. (At least the problems I found by randomly looking at the code.)

I certify that I own, and have sufficient rights to contribute, all source code and related material intended to be compiled or integrated with the source code for the SharpZipLib open source product (the "Contribution"). My Contribution is licensed under the MIT License.

The code formatting contained tabs and (4) spaces formatting.
In some parts the tabs had a different width, sometimes formatted
spaces and tabulators to "fix" position, sometimes totally invalid
formatting (incorrect count of tabulators/spaces).
Copy link
Copy Markdown
Member

@piksel piksel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some typos that need to be fixed.

We should probably add a .editorconfig too.

for (int i = 0 ; i < matchLen; i++) {
if (window[strstart-1+i] != window[prevMatch + i])
throw new SharpZipBaseException();
hrow new SharpZipBaseException();
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we want to keep the "t" in throw.

/// <summary>
/// Get minimum Zip feature version required to extract this entry
/// </summary>
/// </summary
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Invalid tag in comment

@piksel
Copy link
Copy Markdown
Member

piksel commented Jan 14, 2019

This got superseded by #283

@piksel piksel closed this Jan 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants