Commit bff5e750 authored by Alexey Zimarev's avatar Alexey Zimarev Committed by Nick Craver

Code formatting fix (tabs to spaces) (#896)

parent dfbcaa16
...@@ -321,9 +321,9 @@ using (var reader = connection.ExecuteReader("select * from Shapes")) ...@@ -321,9 +321,9 @@ using (var reader = connection.ExecuteReader("select * from Shapes"))
var squareParser = reader.GetRowParser<IShape>(typeof(Square)); var squareParser = reader.GetRowParser<IShape>(typeof(Square));
var triangleParser = reader.GetRowParser<IShape>(typeof(Triangle)); var triangleParser = reader.GetRowParser<IShape>(typeof(Triangle));
var typeColumnIndex = reader.GetOrdinal("Type"); var typeColumnIndex = reader.GetOrdinal("Type");
while (reader.Read()) while (reader.Read())
{ {
IShape shape; IShape shape;
var type = (ShapeType)reader.GetInt32(typeColumnIndex); var type = (ShapeType)reader.GetInt32(typeColumnIndex);
...@@ -335,7 +335,7 @@ using (var reader = connection.ExecuteReader("select * from Shapes")) ...@@ -335,7 +335,7 @@ using (var reader = connection.ExecuteReader("select * from Shapes"))
case ShapeType.Square: case ShapeType.Square:
shape = squareParser(reader); shape = squareParser(reader);
break; break;
case ShapeType.Triangle: case ShapeType.Triangle:
shape = triangleParser(reader); shape = triangleParser(reader);
break; break;
default: default:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment