remove 1.6 ism, let it compile with jdk 1.5

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1038996 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2010-11-25 10:34:16 +00:00
parent 00daefc58e
commit fa6d939a2e
1 changed files with 2 additions and 1 deletions

View File

@ -118,7 +118,8 @@ public class FileSystemBlobStrategy implements BlobUploadStrategy, BlobDownloadS
try {
return new File(message.getURL().toURI());
} catch (URISyntaxException e) {
throw new IOException("Unable to open file for message " + message ,e);
IOException ioe = new IOException("Unable to open file for message " + message);
ioe.initCause(e);
}
}
//replace all : with _ to make windows more happy