eclipse-californium / californium.tools

Californium project
Other
59 stars 57 forks source link

Improvement to RDNodeResource #26

Closed navoda closed 7 years ago

navoda commented 7 years ago

The method addNodeResource changed to addResource making it more generalized when adding new resources with attributes. Added addEndResource method to modifying purposes, like dynamically adding resources with specific resource types according to receiving attributes (e.g. rt, if) also added a lifeTime getter and changed updateEndpointResources's access modifier from private to public. Signed-off-by: navoda mpnavoda@gmail.com

navoda commented 7 years ago

Okay. Sorry about that. I will send a new PR :)

navoda commented 7 years ago

Sorry about the mess. :( I fixed the unnecessary formatting changes with 23c613b, but some lines indented badly. I tried to update it directly but again that validation thing came up. Hope you can still work with it. If not, I can send a new PR