tapestry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hls...@apache.org
Subject svn commit: r479721 - in /tapestry/tapestry5/tapestry-ioc/trunk/src: main/java/org/apache/tapestry/ioc/internal/services/ test/java/org/apache/tapestry/ioc/internal/services/
Date Mon, 27 Nov 2006 18:44:17 GMT
Author: hlship
Date: Mon Nov 27 10:44:16 2006
New Revision: 479721

URL: http://svn.apache.org/viewvc?view=rev&rev=479721
Log:
Move test under src/test

Added:
    tapestry/tapestry5/tapestry-ioc/trunk/src/test/java/org/apache/tapestry/ioc/internal/services/ThreadLocaleImplTest.java
      - copied unchanged from r479717, tapestry/tapestry5/tapestry-ioc/trunk/src/main/java/org/apache/tapestry/ioc/internal/services/ThreadLocaleImplTest.java
Removed:
    tapestry/tapestry5/tapestry-ioc/trunk/src/main/java/org/apache/tapestry/ioc/internal/services/ThreadLocaleImplTest.java
Modified:
    tapestry/tapestry5/tapestry-ioc/trunk/src/main/java/org/apache/tapestry/ioc/internal/services/ThreadLocaleImpl.java

Modified: tapestry/tapestry5/tapestry-ioc/trunk/src/main/java/org/apache/tapestry/ioc/internal/services/ThreadLocaleImpl.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-ioc/trunk/src/main/java/org/apache/tapestry/ioc/internal/services/ThreadLocaleImpl.java?view=diff&rev=479721&r1=479720&r2=479721
==============================================================================
--- tapestry/tapestry5/tapestry-ioc/trunk/src/main/java/org/apache/tapestry/ioc/internal/services/ThreadLocaleImpl.java
(original)
+++ tapestry/tapestry5/tapestry-ioc/trunk/src/main/java/org/apache/tapestry/ioc/internal/services/ThreadLocaleImpl.java
Mon Nov 27 10:44:16 2006
@@ -14,9 +14,10 @@
 
 package org.apache.tapestry.ioc.internal.services;
 
+import static org.apache.tapestry.ioc.internal.util.Defense.notNull;
+
 import java.util.Locale;
 
-import org.apache.tapestry.ioc.internal.util.Defense;
 import org.apache.tapestry.ioc.services.ThreadLocale;
 
 public class ThreadLocaleImpl implements ThreadLocale
@@ -30,7 +31,7 @@
 
     public void setLocale(Locale locale)
     {
-        Defense.notNull(locale, "locale");
+        notNull(locale, "locale");
 
         _locale = locale;
     }



Mime
View raw message