(Final) is not a codename

This commit is contained in:
Doug MacEachern 2005-12-15 23:35:36 +00:00
parent 2750b0b50c
commit e014912280
1 changed files with 3 additions and 1 deletions

View File

@ -333,7 +333,9 @@ public class OperatingSystem {
String codeName = line.substring(ix+1); String codeName = line.substring(ix+1);
ix = codeName.indexOf(")"); ix = codeName.indexOf(")");
codeName = codeName.substring(0, ix); codeName = codeName.substring(0, ix);
os.vendorCodeName = codeName; if (!"Final".equals(codeName)) {
os.vendorCodeName = codeName;
}
} }
String token = "Red Hat Enterprise Linux "; String token = "Red Hat Enterprise Linux ";