Fix typo in 'getProperties' function name

This commit is contained in:
William Collishaw
2019-06-07 20:24:36 -06:00
parent 59886b084a
commit 1733147195

View File

@@ -30,7 +30,7 @@ import java.util.Properties;
public class CacheProperties public class CacheProperties
{ {
private static Properties getProperies() throws IOException private static Properties getProperties() throws IOException
{ {
Properties properties = new Properties(); Properties properties = new Properties();
InputStream resourceAsStream = StoreLocation.class.getResourceAsStream("/cache.properties"); InputStream resourceAsStream = StoreLocation.class.getResourceAsStream("/cache.properties");
@@ -40,11 +40,11 @@ public class CacheProperties
public static int getRsVersion() throws IOException public static int getRsVersion() throws IOException
{ {
return Integer.parseInt(getProperies().getProperty("rs.version")); return Integer.parseInt(getProperties().getProperty("rs.version"));
} }
public static int getCacheVersion() throws IOException public static int getCacheVersion() throws IOException
{ {
return Integer.parseInt(getProperies().getProperty("cache.version")); return Integer.parseInt(getProperties().getProperty("cache.version"));
} }
} }