Hi Erik, The main reason is that AutoCloseable was introduced in Java 7, while when v 2.2 was released it was compatible with Java 6. About Closeable, I think it would make sense. In v 3.0 we are reviewing many of the database interfaces, for sure we will add these mechanisms
Thanks Luigi 2017-03-06 20:02 GMT+01:00 Erik T <[email protected]>: > Couldn't this method be closeable since it implements the close method? > That could make it more usable when a reference to a closeable object is > needed but the implementation isn't important. > > -- > > --- > You received this message because you are subscribed to the Google Groups > "OrientDB" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
