netty5/example/src/main
feijermu 125cd9552d
Add a null check to method HttpStaticFileServerHandler.sendListing (#10040)
Motivation:

java.io.File.listFiles() may return null and cause a unexpected NPE.

Modification:

Extract a local variable from the return value of File.listFiles() and do a null check.

Result:

Fix the potential NPE.
2020-02-18 15:04:19 +01:00
..
java/io/netty/example Add a null check to method HttpStaticFileServerHandler.sendListing (#10040) 2020-02-18 15:04:19 +01:00
resources fix the typos 2017-04-20 04:56:09 +02:00