Commit b8049ffb authored by Andre Freyssinet's avatar Andre Freyssinet
Browse files

Minor changes.

parent 962879c6
/*
* Copyright (C) 2009 ScalAgent Distributed Technologies
* Copyright (C) 2009 - 2022 ScalAgent Distributed Technologies
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
......@@ -93,7 +93,7 @@ public class Configuration {
*/
public static Integer getInteger(String key, int value) {
Integer result = getInteger(key);
return (result == null) ? new Integer(value) : result;
return (result == null) ? Integer.valueOf(value) : result;
}
/**
......@@ -122,7 +122,7 @@ public class Configuration {
*/
public static Long getLong(String key, long value) {
Long result = getLong(key);
return (result == null) ? new Long(value) : result;
return (result == null) ? Long.valueOf(value) : result;
}
/**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment