diff options
Diffstat (limited to 'src/msil/ch/epfl/lamp/compiler/msil/Attribute.java')
-rw-r--r-- | src/msil/ch/epfl/lamp/compiler/msil/Attribute.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/msil/ch/epfl/lamp/compiler/msil/Attribute.java b/src/msil/ch/epfl/lamp/compiler/msil/Attribute.java index cdcf6a64f1..0f2c4e6764 100644 --- a/src/msil/ch/epfl/lamp/compiler/msil/Attribute.java +++ b/src/msil/ch/epfl/lamp/compiler/msil/Attribute.java @@ -372,10 +372,8 @@ public class Attribute { private Type getTypeFromSerString() { String typename = parseString(); int i = typename.indexOf(','); - // fully qualified assembly name follows - // just strip it on the assumtion theat the - // assembly is referenced in the externs and the - // type will be found + /* fully qualified assembly name follows. Just strip it on the assumption that + the assembly is referenced in the externs and the type will be found. */ String name = (i < 0) ? typename : typename.substring(0, i); Type t = Type.GetType(name); if (t == null && i > 0) { |