mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-24 03:05:28 +01:00
Merge branch 'master' of git://github.com/FrozenCow/dynmap
This commit is contained in:
commit
959040e5f4
@ -29,7 +29,6 @@ public class ZoomedTileRenderer {
|
||||
try {
|
||||
image = ImageIO.read(new File(new File(outputPath), originalTile.getName() + ".png"));
|
||||
} catch (IOException e) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (image == null) {
|
||||
@ -42,7 +41,6 @@ public class ZoomedTileRenderer {
|
||||
try {
|
||||
zIm = ImageIO.read(zoomFile);
|
||||
} catch (IOException e) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (zIm == null) {
|
||||
|
@ -29,7 +29,10 @@ public class HttpServerConnection extends Thread {
|
||||
|
||||
private static boolean readRequestHeader(InputStream in, HttpRequest request) throws IOException {
|
||||
BufferedReader r = new BufferedReader(new InputStreamReader(in));
|
||||
Matcher m = requestHeaderLine.matcher(r.readLine());
|
||||
String statusLine = r.readLine();
|
||||
if (statusLine == null)
|
||||
return false;
|
||||
Matcher m = requestHeaderLine.matcher(statusLine);
|
||||
if (!m.matches())
|
||||
return false;
|
||||
request.method = m.group(1);
|
||||
|
Loading…
Reference in New Issue
Block a user