final
authoralfred <alfred@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 23 Aug 2006 09:13:41 +0000 (09:13 +0000)
committeralfred <alfred@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 23 Aug 2006 09:13:41 +0000 (09:13 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1362 6f19259b-4bc3-4df7-8a09-765794883524

Tools/Source/MigrationTools/org/tianocore/migration/ModuleInfo.java

index 3e4c4cbae2abb90736255a2bf46e6ed48c3b790d..49dde8b67a84e892822a4f022c2f8281a8941ea3 100644 (file)
@@ -19,7 +19,7 @@ import java.util.*;
        Class ModuleInfo is built for scanning the source files, it contains all the needed\r
 information and all the temporary data.\r
 */\r
-public class ModuleInfo {\r
+public final class ModuleInfo {\r
        ModuleInfo(String modulepath) throws Exception {\r
                this.modulepath = modulepath;\r
                \r
@@ -43,21 +43,21 @@ public class ModuleInfo {
        public String moduletype = null;\r
        public String entrypoint = null;\r
        \r
-       public Set<String> localmodulesources = new HashSet<String>();          //contains both .c and .h\r
-       public Set<String> preprocessedccodes = new HashSet<String>();\r
-       public Set<String> msaorinf = new HashSet<String>();                            //only a little, hash may be too big for this\r
+       public final Set<String> localmodulesources = new HashSet<String>();            //contains both .c and .h\r
+       public final Set<String> preprocessedccodes = new HashSet<String>();\r
+       public final Set<String> msaorinf = new HashSet<String>();                              //only a little, hash may be too big for this\r
        \r
-       public Set<String> hashfuncc = new HashSet<String>();\r
-       public Set<String> hashfuncd = new HashSet<String>();\r
-       public Set<String> hashnonlocalfunc = new HashSet<String>();\r
-       public Set<String> hashnonlocalmacro = new HashSet<String>();\r
-       public Set<String> hashEFIcall = new HashSet<String>();\r
-       public Set<String> hashr8only = new HashSet<String>();\r
+       public final Set<String> hashfuncc = new HashSet<String>();\r
+       public final Set<String> hashfuncd = new HashSet<String>();\r
+       public final Set<String> hashnonlocalfunc = new HashSet<String>();\r
+       public final Set<String> hashnonlocalmacro = new HashSet<String>();\r
+       public final Set<String> hashEFIcall = new HashSet<String>();\r
+       public final Set<String> hashr8only = new HashSet<String>();\r
        \r
-       public Set<String> hashrequiredr9libs = new HashSet<String>();  // hashrequiredr9libs is now all added in SourceFileReplacer \r
-       public Set<String> guid = new HashSet<String>();\r
-       public Set<String> protocol = new HashSet<String>();\r
-       public Set<String> ppi = new HashSet<String>();\r
+       public final Set<String> hashrequiredr9libs = new HashSet<String>();    // hashrequiredr9libs is now all added in SourceFileReplacer \r
+       public final Set<String> guid = new HashSet<String>();\r
+       public final Set<String> protocol = new HashSet<String>();\r
+       public final Set<String> ppi = new HashSet<String>();\r
 \r
        public final void enroll(String filepath) throws Exception {\r
                String[] temp;\r