Parent Directory | Revision Log | Patch
revision 1.12 by dog, Thu Oct 21 15:21:55 2004 UTC | revision 1.13 by dog, Thu Nov 25 12:45:43 2004 UTC | |
---|---|---|
# | Line 724 public class Request | Line 724 public class Request |
724 | String unquote (String text) | String unquote (String text) |
725 | { | { |
726 | int len = text.length (); | int len = text.length (); |
727 | if (text.charAt (0) == '"' && text.charAt (len - 1) == '"') | if (len > 0 && text.charAt (0) == '"' && text.charAt (len - 1) == '"') |
728 | { | { |
729 | return text.substring (1, len - 1); | return text.substring (1, len - 1); |
730 | } | } |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |