Anonymous avatar Anonymous committed 2568205

->_dir() instead of _dir_copy().

Comments (0)

Files changed (2)

     - A small optimization - got rid of _current_components_copy() (which
     was useless because _current_components already returns a dynamic
     reference) and replaced all calls with calls to _current_components().
+    - A small optimization - ->dir() instead of ->_dir_copy() for 
+    a function whose return value is dereferenced and flatted.
 
 0.1.5 - Sat Jan  3 17:17:31 IST 2009
     - Unified the two calls to stat() (and several calls to other file

lib/File/Find/Object.pm

 {
     my $self = shift;
 
-    return $self->_current_father->_dir_copy();
+    return $self->_current_father->_dir();
 }
 
 sub _open_dir {
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.