aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-08-02 14:33:08 +0500
committerAbyss777 <abyss@fox5.ru>2017-08-02 14:33:08 +0500
commit4eddccadb9eb0fd14590d55766d2efdbc9152d6b (patch)
treed4e2e1e3b22f3c6dc0840d3ecfebb95311608aa2
parent6f8651f11bb0c08bc70fb3b3462202cb273b2569 (diff)
downloadtraccar-server-4eddccadb9eb0fd14590d55766d2efdbc9152d6b.tar.gz
traccar-server-4eddccadb9eb0fd14590d55766d2efdbc9152d6b.tar.bz2
traccar-server-4eddccadb9eb0fd14590d55766d2efdbc9152d6b.zip
Add comment
-rw-r--r--src/org/traccar/database/DataManager.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/traccar/database/DataManager.java b/src/org/traccar/database/DataManager.java
index 531d21817..ea90d4d67 100644
--- a/src/org/traccar/database/DataManager.java
+++ b/src/org/traccar/database/DataManager.java
@@ -267,6 +267,7 @@ public class DataManager {
private static String getObjectsTableName(Class<?> clazz) {
String result = Introspector.decapitalize(clazz.getSimpleName());
+ // Add "s" ending if object name is not plural already
if (!result.endsWith("s")) {
result += "s";
}