File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/main/java/de/bitzeche/video/transcoding/zencoder Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 17
17
package de .bitzeche .video .transcoding .zencoder ;
18
18
19
19
import java .io .StringWriter ;
20
+ import java .net .SocketTimeoutException ;
20
21
import java .util .HashMap ;
21
22
import java .util .Map ;
22
23
@@ -159,7 +160,7 @@ private Document createDocumentForException(String message) {
159
160
DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory .newInstance ();
160
161
DocumentBuilder documentBuilder = documentBuilderFactory .newDocumentBuilder ();
161
162
Document errorDocument = documentBuilder .newDocument ();
162
- Element root = errorDocument .createElemet ("error" );
163
+ Element root = errorDocument .createElement ("error" );
163
164
errorDocument .appendChild (root );
164
165
Node input = errorDocument .createElement ("reason" );
165
166
input .setTextContent (message );
@@ -318,7 +319,7 @@ public boolean resubmitJob(int id) {
318
319
+ zencoderAPIKey ;
319
320
ClientResponse response = sendPutRequest (url );
320
321
if (response == null ) {
321
- currentConnectionAtttempt ++;
322
+ currentConnectionAttempt ++;
322
323
return resubmitJob (id );
323
324
}
324
325
int responseStatus = response .getStatus ();
You can’t perform that action at this time.
0 commit comments