]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Java/Source/Cpptasks/net/sf/antcontrib/cpptasks/DependencyInfo.java
Retiring the ANT/JAVA build and removing the older EDK II packages that required...
[mirror_edk2.git] / Tools / Java / Source / Cpptasks / net / sf / antcontrib / cpptasks / DependencyInfo.java
diff --git a/Tools/Java/Source/Cpptasks/net/sf/antcontrib/cpptasks/DependencyInfo.java b/Tools/Java/Source/Cpptasks/net/sf/antcontrib/cpptasks/DependencyInfo.java
deleted file mode 100644 (file)
index 429d2b0..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-/*\r
- * \r
- * Copyright 2002-2004 The Ant-Contrib project\r
- *\r
- *  Licensed under the Apache License, Version 2.0 (the "License");\r
- *  you may not use this file except in compliance with the License.\r
- *  You may obtain a copy of the License at\r
- *\r
- *      http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- *  Unless required by applicable law or agreed to in writing, software\r
- *  distributed under the License is distributed on an "AS IS" BASIS,\r
- *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- *  See the License for the specific language governing permissions and\r
- *  limitations under the License.\r
- */\r
-package net.sf.antcontrib.cpptasks;\r
-import java.util.Vector;\r
-/**\r
- * @author Curt Arnold\r
- */\r
-public final class DependencyInfo {\r
-    /**\r
-     * Last modified time of this file or anything that it depends on.\r
-     * \r
-     * Not persisted since almost any change could invalidate it. Initialized\r
-     * to long.MIN_VALUE on construction.\r
-     */\r
-    private long compositeLastModified;\r
-    private/* final */String includePathIdentifier;\r
-    private/* final */String[] includes;\r
-    private/* final */String source;\r
-    private/* final */long sourceLastModified;\r
-    private/* final */String[] sysIncludes;\r
-    public DependencyInfo(String includePathIdentifier, String source,\r
-            long sourceLastModified, Vector includes, Vector sysIncludes) {\r
-        if (source == null) {\r
-            throw new NullPointerException("source");\r
-        }\r
-        if (includePathIdentifier == null) {\r
-            throw new NullPointerException("includePathIdentifier");\r
-        }\r
-        this.source = source;\r
-        this.sourceLastModified = sourceLastModified;\r
-        this.includePathIdentifier = includePathIdentifier;\r
-        this.includes = new String[includes.size()];\r
-        if (includes.size() == 0) {\r
-            compositeLastModified = sourceLastModified;\r
-        } else {\r
-            includes.copyInto(this.includes);\r
-            compositeLastModified = Long.MIN_VALUE;\r
-        }\r
-        this.sysIncludes = new String[sysIncludes.size()];\r
-        sysIncludes.copyInto(this.sysIncludes);\r
-    }\r
-    /**\r
-     * Returns the latest modification date of the source or anything that it\r
-     * depends on.\r
-     * \r
-     * @returns the composite lastModified time, returns Long.MIN_VALUE if not\r
-     * set\r
-     */\r
-    public long getCompositeLastModified() {\r
-        return compositeLastModified;\r
-    }\r
-    public String getIncludePathIdentifier() {\r
-        return includePathIdentifier;\r
-    }\r
-    public String[] getIncludes() {\r
-        String[] includesClone = (String[]) includes.clone();\r
-        return includesClone;\r
-    }\r
-    public String getSource() {\r
-        return source;\r
-    }\r
-    public long getSourceLastModified() {\r
-        return sourceLastModified;\r
-    }\r
-    public String[] getSysIncludes() {\r
-        String[] sysIncludesClone = (String[]) sysIncludes.clone();\r
-        return sysIncludesClone;\r
-    }\r
-    public void setCompositeLastModified(long lastMod) {\r
-        compositeLastModified = lastMod;\r
-    }\r
-}\r