1 |
/* Attributes.java -- Represents attribute name/value pairs from a Manifest |
/* Attributes.java -- Represents attribute name/value pairs from a Manifest |
2 |
Copyright (C) 2000 Free Software Foundation, Inc. |
Copyright (C) 2000, 2002 Free Software Foundation, Inc. |
3 |
|
|
4 |
This file is part of GNU Classpath. |
This file is part of GNU Classpath. |
5 |
|
|
285 |
// all other characters must be alphanums, '-' or '_' |
// all other characters must be alphanums, '-' or '_' |
286 |
for (int i = 1; i < chars.length; i++) |
for (int i = 1; i < chars.length; i++) |
287 |
{ |
{ |
288 |
|
c = chars[i]; |
289 |
if (!((c >= 'a' && c <= 'z') || |
if (!((c >= 'a' && c <= 'z') || |
290 |
(c >= 'A' && c <= 'Z') || |
(c >= 'A' && c <= 'Z') || |
291 |
(c >= '0' && c <= '9') || (c == '-') || (c == '_'))) |
(c >= '0' && c <= '9') || (c == '-') || (c == '_'))) |