From 8c6a3dc0e687fd4652087a396c26927aaeb4dfdf Mon Sep 17 00:00:00 2001 From: markpollack Date: Sun, 12 Oct 2008 14:03:41 +0000 Subject: [PATCH] fix build 4 .net 1.0 (ug!) --- .../PersistenceExceptionTranslationAdvisorTests.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test/Spring/Spring.Data.Tests/Dao/Attributes/PersistenceExceptionTranslationAdvisorTests.cs b/test/Spring/Spring.Data.Tests/Dao/Attributes/PersistenceExceptionTranslationAdvisorTests.cs index bf458398..08cd1663 100644 --- a/test/Spring/Spring.Data.Tests/Dao/Attributes/PersistenceExceptionTranslationAdvisorTests.cs +++ b/test/Spring/Spring.Data.Tests/Dao/Attributes/PersistenceExceptionTranslationAdvisorTests.cs @@ -18,6 +18,7 @@ #endregion +#if !NET_1_0 #region Imports using System; @@ -151,7 +152,7 @@ namespace Spring.Dao.Attributes -#if !NET_1_0 + [Repository] public class StereotypedRepositoryInterfaceImpl : RepositoryInterfaceImpl { @@ -194,7 +195,6 @@ namespace Spring.Dao.Attributes } } } -#endif public interface IRepositoryInterface { @@ -228,4 +228,5 @@ namespace Spring.Dao.Attributes #endregion } -} \ No newline at end of file +} +#endif \ No newline at end of file