File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
utils/src/main/java/com/cloud/utils/ssh Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -131,13 +131,13 @@ public String getPublicKey() {
131131 return null ;
132132 }
133133
134- private static void writeString (ByteArrayOutputStream out , String str ) throws Exception {
134+ private static void writeString (ByteArrayOutputStream out , String str ) {
135135 byte [] data = str .getBytes (StandardCharsets .UTF_8 );
136136 out .write (ByteBuffer .allocate (4 ).putInt (data .length ).array ());
137137 out .write (data );
138138 }
139139
140- private static void writeBigInt (ByteArrayOutputStream out , BigInteger value ) throws Exception {
140+ private static void writeBigInt (ByteArrayOutputStream out , BigInteger value ) {
141141 byte [] data = value .toByteArray ();
142142 out .write (ByteBuffer .allocate (4 ).putInt (data .length ).array ());
143143 out .write (data );
You can’t perform that action at this time.
0 commit comments