[augeas-devel] [Augeas] #213: net.augeas.Augeas Java Binding API Java-Doc incorrectly described the Augeas.close() method

Augeas trac at fedorahosted.org
Tue Jul 19 23:33:11 UTC 2011


#213: net.augeas.Augeas Java Binding API Java-Doc incorrectly described the
Augeas.close() method
---------------------+------------------------------------------------------
 Reporter:  loleary  |       Owner:  lutter
     Type:  defect   |      Status:  new   
 Priority:  major    |   Milestone:  next  
Component:  Augeas   |     Version:  0.8.0 
 Keywords:           |  
---------------------+------------------------------------------------------
 The Java-Doc in net.augeas.Augeas.close() incorrectly describes the
 function of the method. It currently states:

 Write all pending changes to disk

 It should state that this releases the resource held by the instance of
 Augeas by freeing the AugPtr and the underlying resources it is hanging on
 to.

 In other words, it appears that this method must be called prior to the
 instance of Augeas being de-referenced by the a Java implementation and
 does not appear to actually write pending changes to disk.

-- 
Ticket URL: <https://fedorahosted.org/augeas/ticket/213>
Augeas <http://augeas.net/>
a configuration API




More information about the augeas-devel mailing list