This is an automated email from the git hooks/post-receive script. New commit to branch feature/7553 in repository observe. See http://git.codelutin.com/observe.git commit 0a70a856774973408c236db8836d909486d74e54 Author: Kevin Morin <morin@codelutin.com> Date: Mon Oct 5 15:30:25 2015 +0200 remove fixme --- .../fr/ird/observe/business/db/constants/DataContextType.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/observe-application-swing/src/main/java/fr/ird/observe/business/db/constants/DataContextType.java b/observe-application-swing/src/main/java/fr/ird/observe/business/db/constants/DataContextType.java index 122b953..73448a7 100644 --- a/observe-application-swing/src/main/java/fr/ird/observe/business/db/constants/DataContextType.java +++ b/observe-application-swing/src/main/java/fr/ird/observe/business/db/constants/DataContextType.java @@ -315,13 +315,9 @@ public enum DataContextType { DataContextType result = null; for (DataContextType type : DataContextType.values()) { - //FIXME kmorin 20151005 comment checker que l'id topia match le DTO -// if (s.startsWith(type.getType().getName())) { -// result = type; -// break; -// } String[] entityFullClass = s.split("#")[0].split("\\."); - if (type.getType().getSimpleName().startsWith(entityFullClass[entityFullClass.length - 1])) { + String typeName = type.getType().getSimpleName(); + if (typeName.startsWith(entityFullClass[entityFullClass.length - 1])) { result = type; break; } -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@list.forge.codelutin.com>.