can you use try with resource here since we are on java 7 now ie:

```Java
try (CBORParser parser = CborXContent.cborFactory.createParser(content)) {
  parser.nextToken();
  generator.copyCurrentStructure(parser);
}
```