BGBM BDI Projects
/
taxeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'develop' into LibrAlign
[taxeditor.git]
/
eu.etaxonomy.taxeditor.store
/
src
/
main
/
java
/
eu
/
etaxonomy
/
taxeditor
/
model
/
TextHelper.java
diff --git
a/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/model/TextHelper.java
b/eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/model/TextHelper.java
index 51681507807b4d4fe95159b3dd2a678b6ac92f7e..4c6e6c79d0afc002fef5f5f51620475a5906a882 100644
(file)
--- a/
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/model/TextHelper.java
+++ b/
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/model/TextHelper.java
@@
-62,4
+62,13
@@
public class TextHelper {
return textValue;
}
+
+ public static String deproxyClassName(Class clazz){
+ String name = clazz.getSimpleName();
+ if (name.indexOf("_$$")>-1){
+ return name.substring(0, name.indexOf("_$$"));
+ }else{
+ return name;
+ }
+ }
}