Skip to content

Commit

Permalink
Applied Huberto.Kusters' fix for issue 329.
Browse files Browse the repository at this point in the history
  • Loading branch information
dschilling authored and paulbatum committed Nov 25, 2009
1 parent 9e0c6f1 commit 8a5f4bb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/FluentNHibernate/Automapping/AutoMapVersion.cs
Expand Up @@ -19,8 +19,7 @@ public bool MapsProperty(PropertyInfo property)

public void Map(ClassMappingBase classMap, PropertyInfo property)
{
if (property.DeclaringType != classMap.Type || !(classMap is ClassMapping))
return;
if (!(classMap is ClassMapping)) return;

var version = new VersionMapping
{
Expand Down

0 comments on commit 8a5f4bb

Please sign in to comment.