Skip to content

Commit d499ed0

Browse files
committed
Updating dependencies.
1 parent 0189944 commit d499ed0

File tree

7 files changed

+15
-11
lines changed

7 files changed

+15
-11
lines changed

.env

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
# Override log directory
2-
LOG_DIR=logs
1+
# Override default log directory (logs)
2+
#LOG_DIR=logs
3+
4+
# Override default log name (server)
5+
#LOG_NAME=server
36

47
# Enable debug logging
58
#LOG_DEBUG=on

pom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,31 +95,31 @@
9595
<dependency>
9696
<groupId>com.mclarkdev.tools</groupId>
9797
<artifactId>libargs</artifactId>
98-
<version>1.2</version>
98+
<version>1.5.1</version>
9999
</dependency>
100100

101101
<dependency>
102102
<groupId>com.mclarkdev.tools</groupId>
103103
<artifactId>libmetrics</artifactId>
104-
<version>1.1.2</version>
104+
<version>1.5.1</version>
105105
</dependency>
106106

107107
<dependency>
108108
<groupId>com.mclarkdev.tools</groupId>
109109
<artifactId>liblog</artifactId>
110-
<version>1.4.2</version>
110+
<version>1.5.1</version>
111111
</dependency>
112112

113113
<dependency>
114114
<groupId>com.mclarkdev.tools</groupId>
115115
<artifactId>libloggelf</artifactId>
116-
<version>1.4.2</version>
116+
<version>1.5.1</version>
117117
</dependency>
118118

119119
<dependency>
120120
<groupId>com.mclarkdev.tools</groupId>
121121
<artifactId>libextras</artifactId>
122-
<version>1.2.3</version>
122+
<version>1.5.1</version>
123123
</dependency>
124124

125125
</dependencies>

src/main/java/org/barcodeapi/core/ServerLauncher.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
*/
4141
public class ServerLauncher {
4242

43-
{
43+
static {
4444
LibLog._logF("Network logging: %s", LibLogGELF.enabled());
4545
}
4646

src/main/java/org/barcodeapi/server/api/BarcodeAPIHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public BarcodeAPIHandler() {
3131
"/128/$$@B$$@L$$@A$$@C$$@K$$@L$$@I$$@S$$@T$$@"));
3232
} catch (GenerationException e) {
3333

34-
throw LibLog._clog("E0789", e).asException();
34+
throw LibLog._clog("E0789", e).asException(IllegalStateException.class);
3535
}
3636
}
3737

src/main/java/org/barcodeapi/server/core/Authlist.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public static void reload() {
2323
authlist = Files.readAllLines(Paths.get("config/authlist.conf"));
2424
} catch (Exception e) {
2525

26-
throw LibLog._clog("E0799").asException();
26+
throw LibLog._clog("E0799").asException(IllegalStateException.class);
2727
}
2828
}
2929

src/main/java/org/barcodeapi/server/core/Blacklist.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public static void reload() {
2323
blacklist = Files.readAllLines(Paths.get("config/blacklist.conf"));
2424
} catch (Exception e) {
2525

26-
throw LibLog._clog("E0798").asException();
26+
throw LibLog._clog("E0798").asException(IllegalStateException.class);
2727
}
2828
}
2929

src/main/java/org/barcodeapi/server/core/RestHandler.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ public abstract class RestHandler extends AbstractHandler {
2929
private final boolean authRequired;
3030

3131
public RestHandler(boolean authRequired) {
32+
LibMetrics.hitMethodRunCounter();
3233

3334
// extract class name
3435
String className = getClass().getName();

0 commit comments

Comments
 (0)