From a623d0c2715856f5400a2f34afd15c52f3c19688 Mon Sep 17 00:00:00 2001 From: Endolf Date: Thu, 31 May 2018 19:42:43 +0100 Subject: [PATCH] Fixed compile warnings --- .../main/java/net/java/games/input/WinTabContext.java | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/plugins/wintab/src/main/java/net/java/games/input/WinTabContext.java b/plugins/wintab/src/main/java/net/java/games/input/WinTabContext.java index c774c0f..987f4a6 100644 --- a/plugins/wintab/src/main/java/net/java/games/input/WinTabContext.java +++ b/plugins/wintab/src/main/java/net/java/games/input/WinTabContext.java @@ -1,4 +1,4 @@ -/** +/* * Copyright (C) 2006 Jeremy Booth (jeremy@newdawnsoftware.com) * * Redistribution and use in source and binary forms, with or without @@ -47,17 +47,14 @@ public class WinTabContext { public synchronized void open() { this.hCTX = nOpen(window.getHwnd()); - List devices = new ArrayList(); + List devices = new ArrayList<>(); int numSupportedDevices = nGetNumberOfSupportedDevices(); for(int i=0;i