It is wasteful to always instantiate a default inputFactory considering it may 
not be used. Alternatively I can write in create method like:

```
        public GraphMLReader create() {
            if (this.inputFactory == null) {
                this.inputFactory = XMLInputFactory.newInstance();
            }
            return new GraphMLReader(this);
        }
```

[ Full content available at: https://github.com/apache/tinkerpop/pull/1230 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to