Skip to content
Snippets Groups Projects
Commit 12faeac0 authored by Chrissi's avatar Chrissi
Browse files

change naming of sync functions

parent bf408609
No related branches found
No related tags found
No related merge requests found
......@@ -60,11 +60,11 @@ class SyncEnhancingVisitor() extends SModelVisitor {
private def extractSetterAttr(sMethod: SMethod): Option[String] = {
sMethod.getName match {
case SyncEnhancingVisitor.Setter(attrName) =>
Option("set" + attrName + " ()")
Option("syncSet" + attrName + " ()")
case SyncEnhancingVisitor.Adder(attrName) =>
Option("add" + attrName + s" (${attrName.charAt(0).toLower})")
Option("syncAdd" + attrName + s" (${attrName.charAt(0).toLower})")
case SyncEnhancingVisitor.Remover(attrName) =>
Option("remove" + attrName + s" (${attrName.charAt(0).toLower})")
Option("syncRemove" + attrName + s" (${attrName.charAt(0).toLower})")
case _ =>
None
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment