Update SSHD to 1.0-r784137
This now uses MINA 2.0.0-M6. Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
		
							
								
								
									
										2
									
								
								pom.xml
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								pom.xml
									
									
									
									
									
								
							@@ -519,7 +519,7 @@ limitations under the License.
 | 
			
		||||
    <dependency>
 | 
			
		||||
      <groupId>org.apache.sshd</groupId>
 | 
			
		||||
      <artifactId>sshd-core</artifactId>
 | 
			
		||||
      <version>1.0-r773859</version>
 | 
			
		||||
      <version>1.0-r784137</version>
 | 
			
		||||
      <scope>compile</scope>
 | 
			
		||||
    </dependency>
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -20,7 +20,6 @@ import org.spearce.jgit.lib.Constants;
 | 
			
		||||
import java.io.IOException;
 | 
			
		||||
import java.io.InputStream;
 | 
			
		||||
import java.io.OutputStream;
 | 
			
		||||
import java.util.Map;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Dummy shell which prints a message and terminates.
 | 
			
		||||
@@ -53,7 +52,7 @@ class NoShell implements ShellFactory {
 | 
			
		||||
        this.exit = callback;
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
      public void start(final Map<String, String> env) throws IOException {
 | 
			
		||||
      public void start(final Environment env) throws IOException {
 | 
			
		||||
        err.write(Constants.encodeASCII("gerrit: no shell available\n"));
 | 
			
		||||
        in.close();
 | 
			
		||||
        out.close();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user