diff options
author | Julien Lancelot <julien.lancelot@gmail.com> | 2013-08-20 12:26:24 +0200 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@gmail.com> | 2013-08-20 12:26:24 +0200 |
commit | cfd9912407a505d6005d70f89ffc01c2d19b7ab4 (patch) | |
tree | bcb920437ce0055791f01d994dc3560d99e63e58 /sonar-ws-client | |
parent | ab09254608fa6dcf5595891d9070e4d9faf21276 (diff) | |
download | sonarqube-cfd9912407a505d6005d70f89ffc01c2d19b7ab4.tar.gz sonarqube-cfd9912407a505d6005d70f89ffc01c2d19b7ab4.zip |
Fix quality flaws
Diffstat (limited to 'sonar-ws-client')
-rw-r--r-- | sonar-ws-client/src/main/java/org/sonar/wsclient/internal/EncodingUtils.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-ws-client/src/main/java/org/sonar/wsclient/internal/EncodingUtils.java b/sonar-ws-client/src/main/java/org/sonar/wsclient/internal/EncodingUtils.java index 99be0b4af2f..51354057bb9 100644 --- a/sonar-ws-client/src/main/java/org/sonar/wsclient/internal/EncodingUtils.java +++ b/sonar-ws-client/src/main/java/org/sonar/wsclient/internal/EncodingUtils.java @@ -64,7 +64,7 @@ public class EncodingUtils { } public static String toQueryParam(Date d, boolean includeTime) { - String format = (includeTime ? DATETIME_FORMAT : DATE_FORMAT); + String format = includeTime ? DATETIME_FORMAT : DATE_FORMAT; SimpleDateFormat dateFormat = new SimpleDateFormat(format); return dateFormat.format(d); } |