Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix variable names and doc wording #1849

Merged
merged 16 commits into from
Aug 4, 2016
Merged

Conversation

ayan4m1
Copy link
Contributor

@ayan4m1 ayan4m1 commented Aug 1, 2016

This is not exhaustive, but a step in the direction of conforming all source to use the conventions that were suggested by Microsoft.

@@ -265,7 +265,7 @@ public override string Message
// our base class?

public ModNotInstalledKraken(string mod, string reason = null, Exception inner_exception = null)
:base(reason, inner_exception)
: base(reason, inner_exception)
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't this be innerException, too?

@ayan4m1 ayan4m1 changed the title Fix variable names Fix variable names and doc wording Aug 1, 2016
@politas
Copy link
Member

politas commented Aug 2, 2016

I don't think the forum thread link in the Contribution guidelines page has been updated to the new thread.

@ayan4m1
Copy link
Contributor Author

ayan4m1 commented Aug 4, 2016

Rebased and updated

@@ -481,7 +476,7 @@ private void InitializeComponent()
this.ModList.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.ModList.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.Installed,
this.UpdateCol,
this.Update,
Copy link
Member

@politas politas Aug 4, 2016

Choose a reason for hiding this comment

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

Please revert, or expand name to UpdateColumn or UpdateSelection or some such. "Update" gives us build warnings.

Main.Designer.cs(1614,44): warning CS0108: `CKAN.Main.Update' hides inherited member `System.Windows.Forms.Control.Update()'. Use the new keyword if hiding was intended
/usr/lib/mono/4.5-api/System.Windows.Forms.dll (Location of the symbol related to previous warning)
Main.Designer.cs(1600,44): warning CS0169: The private field `CKAN.Main.UpdateCol' is never used

@politas
Copy link
Member

politas commented Aug 4, 2016

Whew! That's a lot to review!

@ayan4m1
Copy link
Contributor Author

ayan4m1 commented Aug 4, 2016

Yep, and thanks for doing so! I made the changes related to points you brought up.

@politas politas merged commit e40a8f8 into KSP-CKAN:master Aug 4, 2016
@ayan4m1 ayan4m1 deleted the fix/vars branch August 30, 2016 19:54
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.

3 participants