diff options
author | Abyss777 <abyss@fox5.ru> | 2017-08-02 14:33:08 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-08-02 14:33:08 +0500 |
commit | 4eddccadb9eb0fd14590d55766d2efdbc9152d6b (patch) | |
tree | d4e2e1e3b22f3c6dc0840d3ecfebb95311608aa2 /src | |
parent | 6f8651f11bb0c08bc70fb3b3462202cb273b2569 (diff) | |
download | traccar-server-4eddccadb9eb0fd14590d55766d2efdbc9152d6b.tar.gz traccar-server-4eddccadb9eb0fd14590d55766d2efdbc9152d6b.tar.bz2 traccar-server-4eddccadb9eb0fd14590d55766d2efdbc9152d6b.zip |
Add comment
Diffstat (limited to 'src')
-rw-r--r-- | src/org/traccar/database/DataManager.java | 1 |
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"; } |