Skip to content

Commit 0d8468e

Browse files
authored
Merge pull request #8 from timmaybrown/patch-1
path changed to dirPath to match argument name
2 parents f433cf1 + e055a42 commit 0d8468e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/cbjavaloader/models/Loader.cfc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ component accessors="true" singleton{
133133
*/
134134
array function arrayOfJars( required string dirPath, string filter="*.jar" ){
135135
if( not directoryExists( arguments.dirPath ) ){
136-
throw( message="Invalid library path", detail="The path is #path#", type="JavaLoader.DirectoryNotFoundException" );
136+
throw( message="Invalid library path", detail="The path is #dirPath#", type="JavaLoader.DirectoryNotFoundException" );
137137
}
138138

139139
return directoryList( arguments.dirPath, true, "array", arguments.filter, "name desc" );
@@ -154,4 +154,4 @@ component accessors="true" singleton{
154154
return structKeyExists( server, getstaticIDKey());
155155
}
156156

157-
}
157+
}

0 commit comments

Comments
 (0)