commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r344028 - /jakarta/commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertFileNotFoundTag.java
Date Mon, 14 Nov 2005 03:22:25 GMT
Author: dion
Date: Sun Nov 13 19:22:21 2005
New Revision: 344028

URL: http://svn.apache.org/viewcvs?rev=344028&view=rev
Log:
Update svn props

Modified:
    jakarta/commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertFileNotFoundTag.java
  (contents, props changed)

Modified: jakarta/commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertFileNotFoundTag.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertFileNotFoundTag.java?rev=344028&r1=344027&r2=344028&view=diff
==============================================================================
--- jakarta/commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertFileNotFoundTag.java
(original)
+++ jakarta/commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertFileNotFoundTag.java
Sun Nov 13 19:22:21 2005
@@ -1,70 +1,70 @@
-/*
- * Copyright 2002,2004 The Apache Software Foundation.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.commons.jelly.tags.junit;
-
-import java.io.File;
-
-import org.apache.commons.jelly.JellyTagException;
-import org.apache.commons.jelly.XMLOutput;
-import org.apache.commons.jelly.expression.Expression;
-
-/**
- * Checks that a file cant be found.
- *
- * @author <a href="mailto:dion@apache.org">Dion Gillard</a>
- * @version $Revision: 344020 $
- */
-public class AssertFileNotFoundTag extends AssertTagSupport
-{
-    /** the file to check */
-    private File file;
-
-    /**
-     * Do the tag functionality: check the file can't be found.
-     * @param output a place to write text output
-     * @throws JellyTagException if the file exists.
-     */
-    public void doTag(XMLOutput output) throws JellyTagException
-    {
-        String message = getBodyText();
-        if (message == null || message.length() == 0)
-        {
-            message = "File exists.";
-        }
-
-        
-        if (file == null)
-        {
-            fail(message, "file given is null");
-        }
-        else
-        {
-            if (file.exists())
-            {
-                fail(message);
-            }
-        }
-    }
-    
-    /**
-     * The file to be tested. If this file exists, the test will pass.
-     * @param aFile the file to test.
-     */
-    public void setFile(File aFile)
-    {
-        file = aFile;
-    }
-}
+/*
+ * Copyright 2002,2004 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.commons.jelly.tags.junit;
+
+import java.io.File;
+
+import org.apache.commons.jelly.JellyTagException;
+import org.apache.commons.jelly.XMLOutput;
+import org.apache.commons.jelly.expression.Expression;
+
+/**
+ * Checks that a file cant be found.
+ *
+ * @author <a href="mailto:dion@apache.org">Dion Gillard</a>
+ * @version $Revision$
+ */
+public class AssertFileNotFoundTag extends AssertTagSupport
+{
+    /** the file to check */
+    private File file;
+
+    /**
+     * Do the tag functionality: check the file can't be found.
+     * @param output a place to write text output
+     * @throws JellyTagException if the file exists.
+     */
+    public void doTag(XMLOutput output) throws JellyTagException
+    {
+        String message = getBodyText();
+        if (message == null || message.length() == 0)
+        {
+            message = "File exists.";
+        }
+
+        
+        if (file == null)
+        {
+            fail(message, "file given is null");
+        }
+        else
+        {
+            if (file.exists())
+            {
+                fail(message);
+            }
+        }
+    }
+    
+    /**
+     * The file to be tested. If this file exists, the test will pass.
+     * @param aFile the file to test.
+     */
+    public void setFile(File aFile)
+    {
+        file = aFile;
+    }
+}

Propchange: jakarta/commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertFileNotFoundTag.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: jakarta/commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertFileNotFoundTag.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message