Skip to content

Commit 9b294ec

Browse files
committed
Ran all cs files through git stripspace
- Remove trailing whitespace from all lines - Collapse multiple consecutive empty lines into one empty line - Remove empty lines from the beginning and end of the input - Add a missing \n to the last line if necessary.
1 parent b3d5979 commit 9b294ec

150 files changed

Lines changed: 1288 additions & 1736 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/Npgsql.Designer/AssemblyInfo.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
using System.Runtime.InteropServices;
55
using System.Runtime.ConstrainedExecution;
66

7-
// General Information about an assembly is controlled through the following
7+
// General Information about an assembly is controlled through the following
88
// set of attributes. Change these attribute values to modify the information
99
// associated with an assembly.
1010
[assembly: AssemblyTitle("Npgsql.Designer")]
@@ -16,8 +16,8 @@
1616
[assembly: AssemblyTrademark("")]
1717
[assembly: AssemblyCulture("")]
1818

19-
// Setting ComVisible to false makes the types in this assembly not visible
20-
// to COM componenets. If you need to access a type in this assembly from
19+
// Setting ComVisible to false makes the types in this assembly not visible
20+
// to COM componenets. If you need to access a type in this assembly from
2121
// COM, set the ComVisible attribute to true on that type.
2222
[assembly: ComVisible(false)]
2323
[assembly: CLSCompliant(true)]
@@ -26,11 +26,11 @@
2626
// Version information for an assembly consists of the following four values:
2727
//
2828
// Major Version
29-
// Minor Version
29+
// Minor Version
3030
// Build Number
3131
// Revision
3232
//
33-
// You can specify all the values or you can default the Revision and Build Numbers
33+
// You can specify all the values or you can default the Revision and Build Numbers
3434
// by using the '*' as shown below:
3535
[assembly: AssemblyVersion("1.0.36.0")]
3636
[assembly: AssemblyFileVersion("1.0.36.0")]

src/Npgsql.Designer/ChangePasswordDialog.Designer.cs

Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Npgsql.Designer/ChangePasswordDialog.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/********************************************************
22
* ADO.NET 2.0 Data Provider for SQLite Version 3.X
33
* Written by Robert Simpson (robert@blackcastlesoft.com)
4-
*
4+
*
55
* Released to the public domain, use at your own risk!
66
********************************************************/
77

@@ -80,4 +80,4 @@ private void okButton_Click(object sender, EventArgs e)
8080
Close();
8181
}
8282
}
83-
}
83+
}

src/Npgsql.Designer/ChangeScriptDialog.Designer.cs

Lines changed: 25 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Npgsql.Designer/ChangeScriptDialog.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/********************************************************
22
* ADO.NET 2.0 Data Provider for SQLite Version 3.X
33
* Written by Robert Simpson (robert@blackcastlesoft.com)
4-
*
4+
*
55
* Released to the public domain, use at your own risk!
66
********************************************************/
77

@@ -76,7 +76,7 @@ private void yesButton_Click(object sender, EventArgs e)
7676
writer.WriteLine(_original.Text.Replace("\r", "").TrimEnd('\n').Replace("\n", "\r\n"));
7777
if (_show.Visible == true) writer.WriteLine("*/");
7878
}
79-
if (_show.Visible == true || _splitter.Panel2Collapsed == false)
79+
if (_show.Visible == true || _splitter.Panel2Collapsed == false)
8080
writer.WriteLine(_script.Text.Replace("\r", "").TrimEnd('\n').Replace("\n", "\r\n"));
8181
}
8282
}

src/Npgsql.Designer/Design/Check.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/********************************************************
22
* ADO.NET 2.0 Data Provider for SQLite Version 3.X
33
* Written by Robert Simpson (robert@blackcastlesoft.com)
4-
*
4+
*
55
* Released to the public domain, use at your own risk!
66
********************************************************/
77

@@ -98,4 +98,4 @@ protected override object SetItems(object editValue, object[] value)
9898
return editValue;
9999
}
100100
}
101-
}
101+
}

src/Npgsql.Designer/Design/Column.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/********************************************************
22
* ADO.NET 2.0 Data Provider for SQLite Version 3.X
33
* Written by Robert Simpson (robert@blackcastlesoft.com)
4-
*
4+
*
55
* Released to the public domain, use at your own risk!
66
********************************************************/
77

@@ -86,7 +86,6 @@ public DbConnection GetConnection()
8686

8787
#endregion
8888

89-
9089
[Browsable(false)]
9190
internal Table Table
9291
{
@@ -101,7 +100,7 @@ internal void Committed()
101100
internal DataGridViewRow Parent
102101
{
103102
get { return _parent; }
104-
set
103+
set
105104
{
106105
_parent = value;
107106
_parent.Cells[0].Value = ColumnName;
@@ -166,7 +165,7 @@ public virtual string Collate
166165
if (_collate != value)
167166
{
168167
_collate = value;
169-
168+
170169
if (_table.PrimaryKey.Columns.Count == 1 && String.Compare(ColumnName, _table.PrimaryKey.Columns[0].Column, StringComparison.OrdinalIgnoreCase) == 0)
171170
_table.PrimaryKey.Columns[0].Collate = value;
172171

src/Npgsql.Designer/Design/ForeignKey.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/********************************************************
22
* ADO.NET 2.0 Data Provider for SQLite Version 3.X
33
* Written by Robert Simpson (robert@blackcastlesoft.com)
4-
*
4+
*
55
* Released to the public domain, use at your own risk!
66
********************************************************/
77

@@ -105,7 +105,7 @@ protected override object SetItems(object editValue, object[] value)
105105
}
106106
}
107107
if ((dirty == true || list.Count != _count) && _form.DialogResult == DialogResult.OK)
108-
_table.MakeDirty();
108+
_table.MakeDirty();
109109
}
110110
return editValue;
111111
}
@@ -402,4 +402,4 @@ public object Clone()
402402

403403
#endregion
404404
}
405-
}
405+
}

0 commit comments

Comments
 (0)