Author: mladen.turk(a)jboss.com
Date: 2007-10-29 04:02:20 -0400 (Mon, 29 Oct 2007)
New Revision: 1146
Modified:
trunk/sight/java/org/jboss/sight/Directory.java
Log:
Add synonim close for Directory.destroy()
Modified: trunk/sight/java/org/jboss/sight/Directory.java
===================================================================
--- trunk/sight/java/org/jboss/sight/Directory.java 2007-10-26 07:43:50 UTC (rev 1145)
+++ trunk/sight/java/org/jboss/sight/Directory.java 2007-10-29 08:02:20 UTC (rev 1146)
@@ -224,4 +224,13 @@
return size0(INSTANCE, recursive, Path);
}
+ /**
+ * Close the directory.
+ * This is synonim for destroy method
+ */
+ public void close()
+ {
+ destroy();
+ }
+
}
Show replies by date