Skip to content

Commit 839911d

Browse files
committed
Updated with Swordfish 4.29.0
1 parent 3e51223 commit 839911d

17 files changed

Lines changed: 44 additions & 23 deletions
294 Bytes
Binary file not shown.
-6.95 KB
Binary file not shown.

WebContent/WEB-INF/lib/xmljava.jar

69 Bytes
Binary file not shown.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"build": "tsc"
1818
},
1919
"dependencies": {
20-
"@types/node": "^18.16.3",
21-
"esbuild": "^0.19.5"
20+
"@types/node": "^20.11.5",
21+
"esbuild": "^0.19.11"
2222
}
2323
}

src/com/maxprograms/remotetm/Constants.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ private Constants() {
1818
// private for security
1919
}
2020

21-
public static final String VERSION = "5.7.0";
22-
public static final String BUILD = "20231115_1100";
21+
public static final String VERSION = "5.8.0";
22+
public static final String BUILD = "20240122_2130";
2323

2424
public static final String STATUS = "status";
2525
public static final String OK = "OK";

src/com/maxprograms/remotetm/rest/AuthorizeServlet.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
import java.io.IOException;
1616
import java.lang.System.Logger;
1717
import java.lang.System.Logger.Level;
18+
import java.net.URISyntaxException;
1819
import java.security.NoSuchAlgorithmException;
1920
import java.sql.SQLException;
2021
import java.util.Base64;
@@ -75,7 +76,7 @@ protected void doGet(HttpServletRequest request, HttpServletResponse response) {
7576
}
7677
}
7778
Utils.denyAccess(response);
78-
} catch (IOException | SQLException | NoSuchAlgorithmException e) {
79+
} catch (IOException | SQLException | NoSuchAlgorithmException | URISyntaxException e) {
7980
logger.log(Level.ERROR, e);
8081
}
8182
}

src/com/maxprograms/remotetm/rest/DownloadServlet.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
import java.io.IOException;
1919
import java.lang.System.Logger;
2020
import java.lang.System.Logger.Level;
21+
import java.net.URISyntaxException;
2122
import java.nio.file.Files;
2223

2324
import javax.servlet.ServletException;
@@ -68,7 +69,7 @@ protected void doGet(HttpServletRequest request, HttpServletResponse response)
6869
}
6970
}
7071
Utils.denyAccess(response);
71-
} catch (IOException e) {
72+
} catch (IOException | URISyntaxException e) {
7273
logger.log(Level.ERROR, e);
7374
}
7475
}

src/com/maxprograms/remotetm/rest/EmailServerServlet.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
import java.io.IOException;
1919
import java.lang.System.Logger;
2020
import java.lang.System.Logger.Level;
21+
import java.net.URISyntaxException;
2122
import java.nio.charset.StandardCharsets;
2223
import java.security.NoSuchAlgorithmException;
2324
import java.sql.SQLException;
@@ -76,7 +77,7 @@ protected void doGet(HttpServletRequest request, HttpServletResponse response) {
7677
}
7778
}
7879
Utils.denyAccess(response);
79-
} catch (IOException | SQLException | NoSuchAlgorithmException e) {
80+
} catch (IOException | SQLException | NoSuchAlgorithmException | URISyntaxException e) {
8081
logger.log(Level.ERROR, e);
8182
}
8283
}
@@ -104,7 +105,7 @@ protected void doPost(HttpServletRequest request, HttpServletResponse response)
104105
}
105106
}
106107
Utils.denyAccess(response);
107-
} catch (IOException | SQLException | NoSuchAlgorithmException e) {
108+
} catch (IOException | SQLException | NoSuchAlgorithmException | URISyntaxException e) {
108109
logger.log(Level.ERROR, e);
109110
}
110111
}

src/com/maxprograms/remotetm/rest/LogoutServlet.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
import java.io.IOException;
1616
import java.lang.System.Logger;
1717
import java.lang.System.Logger.Level;
18+
import java.net.URISyntaxException;
1819

1920
import javax.servlet.http.HttpServlet;
2021
import javax.servlet.http.HttpServletRequest;
@@ -44,7 +45,7 @@ protected void doGet(HttpServletRequest request, HttpServletResponse response) {
4445
}
4546
result.put(Constants.STATUS, Constants.ERROR);
4647
Utils.writeResponse(result, response, 500);
47-
} catch (IOException e) {
48+
} catch (IOException | URISyntaxException e) {
4849
Logger logger = System.getLogger(LogoutServlet.class.getName());
4950
logger.log(Level.ERROR, e);
5051
}

src/com/maxprograms/remotetm/rest/MemoriesServlet.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
import java.io.IOException;
1717
import java.lang.System.Logger;
1818
import java.lang.System.Logger.Level;
19+
import java.net.URISyntaxException;
1920
import java.security.NoSuchAlgorithmException;
2021
import java.sql.DriverManager;
2122
import java.sql.SQLException;
@@ -84,7 +85,7 @@ protected void doGet(HttpServletRequest request, HttpServletResponse response) {
8485
return;
8586
}
8687
Utils.denyAccess(response);
87-
} catch (IOException e) {
88+
} catch (IOException | URISyntaxException e) {
8889
logger.log(Level.ERROR, e);
8990
}
9091
}

0 commit comments

Comments
 (0)