Revision 62f168b2 src/gr/ebs/gss/client/rest/RestCommand.java

b/src/gr/ebs/gss/client/rest/RestCommand.java
56 56
		return (new Date()).toUTCString();
57 57
	}-*/;
58 58

  
59
	public static native String getDate(Long ms)/*-{
60
	return (new Date(ms)).toUTCString();
61
	}-*/;
62

  
59 63
	public static native String calculateSig(String method, String date, String resource, String token)/*-{
60 64
		$wnd.b64pad = "=";
61 65
		var q = resource.indexOf('?');
......
66 70
	}-*/;
67 71

  
68 72
	public static native String base64decode(String encStr)/*-{
69
        if (typeof atob === 'function') {
70
            return atob(encStr);
73
		if (typeof atob === 'function') {
74
           return atob(encStr);
71 75
        }
72 76
        var base64s = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
73 77
        var bits;

Also available in: Unified diff