andreid911 commented on code in PR #230: URL: https://github.com/apache/mina-sshd/pull/230#discussion_r912182439
########## sshd-core/src/main/java/org/apache/sshd/client/channel/ChannelSession.java: ########## @@ -217,4 +223,42 @@ protected int securedRead( } } } + + /** + * @param key The (never {@code null}) key (Note: may be empty...) + * @param value The value to set - if {@code null} then the pre-existing value for the key (if any) is + * <U>removed</U>. + * @return The replaced/removed previous value - {@code null} if no previous value set for the key. + */ + public Object setEnv(String key, Object value) { + ValidateUtils.checkNotNull(key, "No key provided"); Review Comment: @tomaswolf Agree. Changes were reverted. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org For additional commands, e-mail: dev-h...@mina.apache.org