Joel Baranick created GOBBLIN-316:
-------------------------------------

             Summary: gobblin.util.ImmutableProperties behavior is different 
from Properties
                 Key: GOBBLIN-316
                 URL: https://issues.apache.org/jira/browse/GOBBLIN-316
             Project: Apache Gobblin
          Issue Type: Bug
            Reporter: Joel Baranick


gobblin.util.ImmutableProperties uses Lombok's @Delegate annotation to delegate 
calls to the underlying Properties implementation.  Unfortunately @Delegate 
isn't delegating cals to the underlying Hashtable.  This results in different 
behavior between Properties and ImmutableProperties.  For example, on 
Properties, .keys() and .keyset() return the same list of keys.  However on 
ImmutableProperties, .keys() returns an empty enumerable and .keyset() return 
all the keys.

Additionally, Lombok's @Delegate is likely to be removed in a future version of 
the library as they are not pleased with it: 
https://projectlombok.org/features/experimental/Delegate



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to