diff options
author | Bananeweizen <bananeweizen@gmx.de> | 2011-11-19 20:09:30 +0100 |
---|---|---|
committer | Bananeweizen <bananeweizen@gmx.de> | 2011-11-19 20:09:30 +0100 |
commit | 13cebd799c30d0542c44fdb4cdffbbef37cfa86c (patch) | |
tree | 2fb4a238a2ee370c150eeead8e28780b696d8325 /main/src/cgeo/geocaching/network | |
parent | c1c685765acb471b3399046e3fc4c4cd415e015d (diff) | |
download | cgeo-13cebd799c30d0542c44fdb4cdffbbef37cfa86c.zip cgeo-13cebd799c30d0542c44fdb4cdffbbef37cfa86c.tar.gz cgeo-13cebd799c30d0542c44fdb4cdffbbef37cfa86c.tar.bz2 |
fix several FindBugs warnings
* methods starting with uppercase letter
* unused field and access methods
* null value not explicitly given as null argument in method call
* unnecessary math.floor()
Diffstat (limited to 'main/src/cgeo/geocaching/network')
-rw-r--r-- | main/src/cgeo/geocaching/network/OAuth.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/cgeo/geocaching/network/OAuth.java b/main/src/cgeo/geocaching/network/OAuth.java index 38b04e9..9e0a703 100644 --- a/main/src/cgeo/geocaching/network/OAuth.java +++ b/main/src/cgeo/geocaching/network/OAuth.java @@ -18,7 +18,7 @@ public class OAuth { "oauth_consumer_key", Settings.getKeyConsumerPublic(), "oauth_nonce", CryptUtils.md5(Long.toString(System.currentTimeMillis())), "oauth_signature_method", "HMAC-SHA1", - "oauth_timestamp", Long.toString((long) Math.floor(new Date().getTime() / 1000)), + "oauth_timestamp", Long.toString(new Date().getTime() / 1000), "oauth_token", StringUtils.defaultString(token), "oauth_version", "1.0"); params.sort(); |