From 1eac75f911034feed279a69fbe6b84853682dca3 Mon Sep 17 00:00:00 2001 From: alfred Date: Wed, 23 Aug 2006 09:13:41 +0000 Subject: [PATCH] final git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1362 6f19259b-4bc3-4df7-8a09-765794883524 --- .../org/tianocore/migration/ModuleInfo.java | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/Tools/Source/MigrationTools/org/tianocore/migration/ModuleInfo.java b/Tools/Source/MigrationTools/org/tianocore/migration/ModuleInfo.java index 3e4c4cbae2..49dde8b67a 100644 --- a/Tools/Source/MigrationTools/org/tianocore/migration/ModuleInfo.java +++ b/Tools/Source/MigrationTools/org/tianocore/migration/ModuleInfo.java @@ -19,7 +19,7 @@ import java.util.*; Class ModuleInfo is built for scanning the source files, it contains all the needed information and all the temporary data. */ -public class ModuleInfo { +public final class ModuleInfo { ModuleInfo(String modulepath) throws Exception { this.modulepath = modulepath; @@ -43,21 +43,21 @@ public class ModuleInfo { public String moduletype = null; public String entrypoint = null; - public Set localmodulesources = new HashSet(); //contains both .c and .h - public Set preprocessedccodes = new HashSet(); - public Set msaorinf = new HashSet(); //only a little, hash may be too big for this + public final Set localmodulesources = new HashSet(); //contains both .c and .h + public final Set preprocessedccodes = new HashSet(); + public final Set msaorinf = new HashSet(); //only a little, hash may be too big for this - public Set hashfuncc = new HashSet(); - public Set hashfuncd = new HashSet(); - public Set hashnonlocalfunc = new HashSet(); - public Set hashnonlocalmacro = new HashSet(); - public Set hashEFIcall = new HashSet(); - public Set hashr8only = new HashSet(); + public final Set hashfuncc = new HashSet(); + public final Set hashfuncd = new HashSet(); + public final Set hashnonlocalfunc = new HashSet(); + public final Set hashnonlocalmacro = new HashSet(); + public final Set hashEFIcall = new HashSet(); + public final Set hashr8only = new HashSet(); - public Set hashrequiredr9libs = new HashSet(); // hashrequiredr9libs is now all added in SourceFileReplacer - public Set guid = new HashSet(); - public Set protocol = new HashSet(); - public Set ppi = new HashSet(); + public final Set hashrequiredr9libs = new HashSet(); // hashrequiredr9libs is now all added in SourceFileReplacer + public final Set guid = new HashSet(); + public final Set protocol = new HashSet(); + public final Set ppi = new HashSet(); public final void enroll(String filepath) throws Exception { String[] temp; -- 2.39.2