Refactored scribe 1.1.0 to handdle properly encodings as per RFC5849. This is the first try for comment.

This commit is contained in:
krogoth authored and unknown committed 2011-02-03 00:03:45 +01:00
1 parent 70358ad651
commit ca0076c043
9 files changed
+86 -32

No files matched your search

+4 -3
View File
@@ -1,7 +1,5 @@
package org.scribe.model;
import org.scribe.utils.*;
/**
* Represents an OAuth verifier code.
*
@@ -19,7 +17,10 @@ public class Verifier
*/
public Verifier(String value)
{
this.value = URLUtils.percentDecode(value);
if (value == null) {
throw new IllegalArgumentException();
}
this.value = value;
}
public String getValue()