comparison src/main/java/org/monetdb/jdbc/MonetConnection.java @ 684:9cc67e98e9c6

Fix Xlint warnings
author Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
date Mon, 07 Nov 2022 11:15:47 +0100 (2022-11-07)
parents 8464a17caedf
children 35653312f9cb
comparison
equal deleted inserted replaced
683:79f246478ca8 684:9cc67e98e9c6
299 final Calendar cal = Calendar.getInstance(); 299 final Calendar cal = Calendar.getInstance();
300 int offsetMillis = cal.get(Calendar.ZONE_OFFSET) + cal.get(Calendar.DST_OFFSET); 300 int offsetMillis = cal.get(Calendar.ZONE_OFFSET) + cal.get(Calendar.DST_OFFSET);
301 int offsetSeconds = offsetMillis / 1000; 301 int offsetSeconds = offsetMillis / 1000;
302 timeZoneSetting.set(offsetSeconds); 302 timeZoneSetting.set(offsetSeconds);
303 303
304 server.setHandshakeOptions(new HandshakeOption[] { 304 server.setHandshakeOptions(new HandshakeOption<?>[] {
305 autoCommitSetting, 305 autoCommitSetting,
306 replySizeSetting, 306 replySizeSetting,
307 sizeHeaderSetting, 307 sizeHeaderSetting,
308 timeZoneSetting, 308 timeZoneSetting,
309 }); 309 });