[undertow-dev] Strange line in WarMetaDataProcessor

Tomaz Cerar tomaz.cerar at redhat.com
Thu Apr 18 14:40:29 EDT 2013


Hi,

You are right, that part of code looks funky, this code was just copied
over from old web subsystem and not modified much.
I will review this whole class + few others.

--
tomaz

> -----Original Message-----
> From: undertow-dev-bounces at lists.jboss.org [mailto:undertow-dev-
> bounces at lists.jboss.org] On Behalf Of Andrej Golovnin
> Sent: Thursday, April 18, 2013 8:09 PM
> To: undertow-dev at lists.jboss.org
> Subject: [undertow-dev] Strange line in WarMetaDataProcessor
> 
> Hi all,
> 
> I was looking today at source code of undertow and its integration into
JBoss.
> And I've found a little bit strange line in the class
WarMetaDataProcessor:
> 
> 129:       WebFragmentMetaData fragmentMetaData =
> webFragments.get(jarName);
> 130:       webFragments.put(jarName, fragmentMetaData);
> 
> I think the line 130 is pretty useless and does not make sense.
> It would be nice if someone could review this part of code.
> 
> Best regards,
> Andrej Golovnin
> _______________________________________________
> undertow-dev mailing list
> undertow-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/undertow-dev


More information about the undertow-dev mailing list