[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Paging code review

timfox do-not-reply at jboss.com
Sun Dec 21 05:30:43 EST 2008


"timfox" wrote : "timfox" wrote : 12) If paging address is used in directory name we need to ensure it works if the paging address contains characters like "/", "\" or other characters (non ascii etc).
  | 
  | Is this done yet? (Doesn't look like it).
  | 

Ah sorry. I can see it is done.

One thing:


  | final String destinationDirectory = directory + "/" + Base64.encodeBytes(destinationName.getData(), Base64.URL_SAFE);
  | 

Is it same to assume "/" is file separator on all OSes?

Should we use Systm.getproperty("file.separator") ?




View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4197843#4197843

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4197843



More information about the jboss-dev-forums mailing list