]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/PcdTools/org/tianocore/pcd/entity/DynamicTokenValue.java
This patch make sure that Pcd Dynamic database generation tool is able to handle...
[mirror_edk2.git] / Tools / Source / PcdTools / org / tianocore / pcd / entity / DynamicTokenValue.java
index d1e113352bbdb85e117ddb734363b6bfc35f8077..15d003622c1b9055def07cb8054947f0bd7a128b 100644 (file)
@@ -125,30 +125,12 @@ public class DynamicTokenValue {
     }\r
 \r
     /**\r
-       Get the string like L"xxx" for a variable Name.\r
-\r
-       BUGBUG: In fact, it is not correctly, variable name should be\r
-               treated as unicode UINT16 array.\r
+       Get the variable Name.\r
 \r
        @return String\r
     **/\r
-    public String getStringOfVariableName()\r
-        throws EntityException {\r
-        String str;\r
-        int    index, num;\r
-        int    size;\r
-\r
-        str  = "";\r
-        size = variableName.size();\r
-        for (index = 0; index < size; index++) {\r
-            num = Integer.decode(variableName.get(index).toString());\r
-            if ((num > 127 ) || (num < 0)) {\r
-                throw new EntityException(String.format("The variable name contains more than 0x80 characters; this is not supported at thist time!"));\r
-            }\r
-            str += (char)num;\r
-        }\r
-\r
-        return str;\r
+    public List getStringOfVariableName() {\r
+        return variableName;\r
     }\r
 \r
     /**\r