Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
thers committed Jan 25, 2017
1 parent 28196fe commit 989f2e6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions EntityDecoration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,6 @@ public static void Set(Entity entity, string propertyName, bool boolValue) {
}

public static T Get<T>(Entity entity, string propertyName) {
if (entity == null) {
Debug.WriteLine("Null reference detected");
throw new Exception("Null reference detected");
}

if (!ExistOn(entity, propertyName)) {
throw new EntityDecorationUnregisteredPropertyException();
}
Expand Down

0 comments on commit 989f2e6

Please sign in to comment.