Skip to content

Commit

Permalink
Adding FIXME comment to LocateFile
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiocarvalho777 committed Dec 31, 2017
1 parent cb9f100 commit 19e7dd2
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,13 @@ public String getDescription() {
if (StringUtils.isBlank(location)) {
location = "root folder";
}

// FIXME
// An usage like the one below results in a wrong description.
// Instead of resulting in something like "Locate file '/foo/bar/init'" it results in "Locate file root folder"
//
// add(new LocateFile().absolute(APP_PACKAGE_LOCATION, "init");

if (parentLevel == 0) {
return String.format(DESCRIPTION_PARENT_ZERO, location);
} else {
Expand Down

0 comments on commit 19e7dd2

Please sign in to comment.