Skip to content

Commit

Permalink
Fix comment after changing condition
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmg committed Jul 18, 2019
1 parent 41d3503 commit c4b4c41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Autofac/Features/Decorators/InstanceDecorator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ internal static object TryDecorateRegistration(
{
var instanceType = instance.GetType();

// Issue #965: Do not apply the decorator if already applied, or if the registration is for an adapter.
// Issue #965: Do not apply the decorator if the registration is for an adapter.
if (registration.IsAdapting()) return instance;

var decoratorRegistrations = context.ComponentRegistry.DecoratorsFor(registration);
Expand Down

0 comments on commit c4b4c41

Please sign in to comment.