dblevins 2005/08/16 01:48:33
Modified: modules/core/src/java/org/openejb/util FileUtils.java
Log:
Unpacked ejb-jar support!
Revision Changes Path
1.8 +7 -1
openejb1/modules/core/src/java/org/openejb/util/FileUtils.java
Index: FileUtils.java
===================================================================
RCS file:
/home/projects/openejb/scm/openejb1/modules/core/src/java/org/openejb/util/FileUtils.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- FileUtils.java 9 Jul 2005 08:51:00 -0000 1.7
+++ FileUtils.java 16 Aug 2005 05:48:33 -0000 1.8
@@ -98,6 +98,12 @@
return getDirectory(path, false);
}
+ public boolean equals(Object obj) {
+ if (!(obj instanceof FileUtils)) return false;
+ FileUtils that = (FileUtils)obj;
+ return this.getDirectory().equals(that.getDirectory());
+ }
+
/**
* Resolves the specified path relative to the home directory; create
it if requested
*