Hi,
Thank you for your suggestions.
+-From: "Oberhuber, Martin" <[EMAIL PROTECTED]> --
|_Date: Thu, 10 Apr 2008 10:55:51 +0200 _______________________
|
|(1) With your solution, the HashMap can now either hold a
|String Mapping, or a Byte->Byte Mapping, right?
| It means that just in case you'd ever want to switch
| to Java 1.5 and Generics you couldn't port this because
| it's polymorphic.
Yes, I had also felt the bad feeling.
Ok, so I'll mark setEnv(Hastable env) as @deprecated
and add folling methods instead,
setEnv(String name, String value);
setEnv(byte[] name, byte[] value);
Sincerely,
--
Atsuhiko Yamanaka
JCraft,Inc.
1-14-20 HONCHO AOBA-KU,
SENDAI, MIYAGI 980-0014 Japan.
Tel +81-22-723-2150
+1-415-578-3454
Fax +81-22-224-8773
Skype callto://jcraft/
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users