Resolve errors correctly (#8)
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
This commit is contained in:
parent
ec8cbe7d74
commit
5b345f0a1a
BIN
bin/ArcadeReader$1.class
Normal file
BIN
bin/ArcadeReader$1.class
Normal file
Binary file not shown.
BIN
bin/ArcadeReader.class
Normal file
BIN
bin/ArcadeReader.class
Normal file
Binary file not shown.
BIN
bin/exceptions/FailedResponseException.class
Normal file
BIN
bin/exceptions/FailedResponseException.class
Normal file
Binary file not shown.
BIN
bin/readers/Box.class
Normal file
BIN
bin/readers/Box.class
Normal file
Binary file not shown.
BIN
bin/readers/ColorRange.class
Normal file
BIN
bin/readers/ColorRange.class
Normal file
Binary file not shown.
BIN
bin/readers/DDRReader.class
Normal file
BIN
bin/readers/DDRReader.class
Normal file
Binary file not shown.
BIN
bin/readers/ITGReader.class
Normal file
BIN
bin/readers/ITGReader.class
Normal file
Binary file not shown.
BIN
bin/readers/LoveLiveReader.class
Normal file
BIN
bin/readers/LoveLiveReader.class
Normal file
Binary file not shown.
BIN
bin/readers/PopnReader.class
Normal file
BIN
bin/readers/PopnReader.class
Normal file
Binary file not shown.
BIN
bin/readers/Reader.class
Normal file
BIN
bin/readers/Reader.class
Normal file
Binary file not shown.
BIN
bin/readers/SoundVoltexReader.class
Normal file
BIN
bin/readers/SoundVoltexReader.class
Normal file
Binary file not shown.
BIN
bin/readers/TestReader.class
Normal file
BIN
bin/readers/TestReader.class
Normal file
Binary file not shown.
BIN
bin/readers/fonts/Font.class
Normal file
BIN
bin/readers/fonts/Font.class
Normal file
Binary file not shown.
BIN
bin/readers/fonts/Glyph.class
Normal file
BIN
bin/readers/fonts/Glyph.class
Normal file
Binary file not shown.
BIN
bin/requests/GETRequest$1.class
Normal file
BIN
bin/requests/GETRequest$1.class
Normal file
Binary file not shown.
BIN
bin/requests/GETRequest.class
Normal file
BIN
bin/requests/GETRequest.class
Normal file
Binary file not shown.
BIN
bin/requests/MultipartUtility.class
Normal file
BIN
bin/requests/MultipartUtility.class
Normal file
Binary file not shown.
BIN
bin/requests/POSTRequest$1.class
Normal file
BIN
bin/requests/POSTRequest$1.class
Normal file
Binary file not shown.
BIN
bin/requests/POSTRequest.class
Normal file
BIN
bin/requests/POSTRequest.class
Normal file
Binary file not shown.
BIN
bin/sigPlace.class
Normal file
BIN
bin/sigPlace.class
Normal file
Binary file not shown.
BIN
bin/sigServer.class
Normal file
BIN
bin/sigServer.class
Normal file
Binary file not shown.
BIN
sigPlace.jar
BIN
sigPlace.jar
Binary file not shown.
@ -137,14 +137,16 @@ public class sigPlace {
|
||||
}
|
||||
if (matches>=EXPECTED_MATCHES&&!submitted) {
|
||||
System.out.println("Data is reasonable, prepare for submitting...");
|
||||
try {
|
||||
POSTRequest postRes = new POSTRequest("http://"+args[1]+"/uploadform.html",temp);
|
||||
HttpResponse<String> res = ((HttpResponse<String>)postRes.run());
|
||||
if (res.statusCode()==200) {
|
||||
if (res.statusCode()==0) {
|
||||
playSound(Paths.get("ding.wav"));
|
||||
System.out.println("Successful!");
|
||||
submitted=true;
|
||||
} else {
|
||||
System.out.println("Got status code "+res);
|
||||
}
|
||||
} catch (FailedResponseException e) {
|
||||
System.out.println("Failed! "+e.getMessage());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user