Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

SmokingDevices
Copy link
Contributor

While playing around with this lib i noticed that some of the newer devices are not supported.

}

public <T> T parse(String data, Class<T> resultType) {
//LOG.info("parsing data:"+data);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't add commented code

Suggested change
//LOG.info("parsing data:"+data);

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

has been removed, sorry for that.

public void parseDeviceListFritzDect200() throws IOException {
final String fileContent = Files.readAllLines(Paths.get("src/test/resources/deviceListConnectedFritzDect200Payload.xml")).stream()
.collect(joining("\n"));
new Deserializer().parse(fileContent, DeviceList.class);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding tests 👍

@kaklakariada kaklakariada merged commit a57e100 into kaklakariada:master Dec 4, 2020
@kaklakariada
Copy link
Owner

I will build a new release soon, maybe on the weekend.

@kaklakariada
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants