mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-09 09:09:38 +02:00
Bump errorprone to 2.2.0
This commit is contained in:
parent
214218c49b
commit
3132d9a224
17 changed files with 59 additions and 87 deletions
|
@ -39,7 +39,7 @@ import org.xmlpull.v1.XmlPullParserException;
|
|||
*/
|
||||
public class AgentStatus implements ExtensionElement {
|
||||
|
||||
@SuppressWarnings("SimpleDateFormatConstant")
|
||||
@SuppressWarnings("DateFormatConstant")
|
||||
private static final SimpleDateFormat UTC_FORMAT = new SimpleDateFormat("yyyyMMdd'T'HH:mm:ss");
|
||||
|
||||
static {
|
||||
|
|
|
@ -41,7 +41,7 @@ import org.xmlpull.v1.XmlPullParserException;
|
|||
*/
|
||||
public class OccupantsInfo extends IQ {
|
||||
|
||||
@SuppressWarnings("SimpleDateFormatConstant")
|
||||
@SuppressWarnings("DateFormatConstant")
|
||||
private static final SimpleDateFormat UTC_FORMAT = new SimpleDateFormat("yyyyMMdd'T'HH:mm:ss");
|
||||
|
||||
static {
|
||||
|
|
|
@ -37,7 +37,7 @@ import org.jxmpp.jid.Jid;
|
|||
*/
|
||||
public class Transcripts extends IQ {
|
||||
|
||||
@SuppressWarnings("SimpleDateFormatConstant")
|
||||
@SuppressWarnings("DateFormatConstant")
|
||||
private static final SimpleDateFormat UTC_FORMAT = new SimpleDateFormat("yyyyMMdd'T'HH:mm:ss");
|
||||
static {
|
||||
UTC_FORMAT.setTimeZone(TimeZone.getTimeZone("GMT+0"));
|
||||
|
|
|
@ -39,7 +39,7 @@ import org.xmlpull.v1.XmlPullParserException;
|
|||
*/
|
||||
public class TranscriptsProvider extends IQProvider<Transcripts> {
|
||||
|
||||
@SuppressWarnings("SimpleDateFormatConstant")
|
||||
@SuppressWarnings("DateFormatConstant")
|
||||
private static final SimpleDateFormat UTC_FORMAT = new SimpleDateFormat("yyyyMMdd'T'HH:mm:ss");
|
||||
static {
|
||||
UTC_FORMAT.setTimeZone(TimeZone.getTimeZone("GMT+0"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue