src/main/java/org/jboss/net/protocol/file/FileURLLister.java
/**
    * Create a URL by concatenating the baseUrlString that should end at '/',
    * the filename, and a trailing slash, if it points to a directory
    */
Create a URL by concatenating the baseUrlString that should end at '/',
the filename, and a trailing slash, if it points to a directory
Create a URL by concatenating the baseUrlString that should end at ' / ' the filename and a trailing slash if it points to a directory
private URL createURL(String baseUrlString, String filename, boolean isDirectory)
   {
      try
      {
         return new URL(baseUrlString + filename + (isDirectory ? "/" : ""));
      } 
      catch (MalformedURLException e)
      {
         throw new IllegalStateException();
      }
   }
private URL createURL ( String baseUrlString , String filename , boolean isDirectory ) { try { return new URL ( baseUrlString + filename + ( isDirectory ? "/" : "" ) ) ; } catch ( MalformedURLException e ) { throw new IllegalStateException ( ) ; } }
Create a URL by concatenating the baseUrlString that should end at '/',
 the filename, and a trailing slash, if it points to a directory
Create a URL by concatenating the baseUrlString that should end at ' / ' the filename and a trailing slash if it points to a directory
// shouldn't happen