DataFlavor.java (getParameter): Fix off-by-one error which was clipping off the first character of a parameter...
2003-12-08 Fernando Nasser <fnasser@redhat.com> * java/awt/datatransfer/DataFlavor.java (getParameter): Fix off-by-one error which was clipping off the first character of a parameter value. From-SVN: r74448
This commit is contained in:
parent
3c28fc7425
commit
453d6cba7e
@ -1,3 +1,8 @@
|
||||
2003-12-08 Fernando Nasser <fnasser@redhat.com>
|
||||
|
||||
* java/awt/datatransfer/DataFlavor.java (getParameter): Fix off-by-one
|
||||
error which was clipping off the first character of a parameter value.
|
||||
|
||||
2003-12-08 Olga Rodimina <rodimina@redhat.com>
|
||||
|
||||
* java/awt/Polygon.java
|
||||
|
@ -459,7 +459,7 @@ getParameter(String paramName, String mimeString)
|
||||
if (idx == -1)
|
||||
return(null);
|
||||
|
||||
String value = mimeString.substring(idx + paramName.length() + 2);
|
||||
String value = mimeString.substring(idx + paramName.length() + 1);
|
||||
|
||||
idx = value.indexOf(" ");
|
||||
if (idx == -1)
|
||||
|
Loading…
Reference in New Issue
Block a user