Browse Source
A list of Transport instances is provided by Transport.openAll, and then iterated over in a for loop. Eclipse warns that the Transport in the for-loop should be managed by try-with-resource. The Transport is explicitly closed in the finally block, so just suppress the warning. Change-Id: I92b73cd90902637cf1ac1ab7b02b5ee5ed6bdb1e Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>stable-5.0
David Pursehouse
7 years ago
1 changed files with 2 additions and 1 deletions
Loading…
Reference in new issue