Permalink
Browse files

addressed code review comments.

  • Loading branch information...
1 parent cafb0b6 commit 06b3c96114e09ef66eae070c7a6cd33f4699cbb5 @craiggwilson craiggwilson committed Dec 10, 2012
View
2 MongoDB.Driver/Linq/Expressions/ExpressionNormalizer.cs
@@ -167,8 +167,6 @@ protected override Expression VisitUnary(UnaryExpression node)
{
return newUnaryNode.Operand;
}
-
- return newNode;
}
return newNode;
View
6 MongoDB.DriverUnitTests/Jira/CSharp542Tests.cs
@@ -42,10 +42,10 @@ public class Test
public void TestNullableComparison()
{
var server = Configuration.TestServer;
- var db = server.GetDatabase("test");
- var col = db.GetCollection<Test>("foos");
+ var database = server.GetDatabase("test");
+ var collection = database.GetCollection<Test>("foos");
- var query = col.AsQueryable().Where(p => p.MyNullableInt == 3);
+ var query = collection.AsQueryable().Where(p => p.MyNullableInt == 3);
var list = query.ToList();

0 comments on commit 06b3c96

Please sign in to comment.