]> SALOME platform Git repositories - tools/siman.git/commitdiff
Salome HOME
Dot is replaced by underscore in generated names of files.
authorrkv <rkv@opencascade.com>
Tue, 4 Dec 2012 09:44:26 +0000 (09:44 +0000)
committerrkv <rkv@opencascade.com>
Tue, 4 Dec 2012 09:44:26 +0000 (09:44 +0000)
Workspace/Siman-Common/src/org/splat/service/DocumentServiceImpl.java

index ff9d5e1009aa3a46706e7a949a4a2fc7ae50d740..ea82c87dd4ab85e50b15a803cf049898866c64c8 100644 (file)
@@ -162,10 +162,10 @@ public class DocumentServiceImpl implements DocumentService {
                int number = getStudyService().generateLocalIndex(scope);
 
                if (scheme == FileNaming.encoded) {
-                       encoding.append(scope.getReference()).append(".").append(
+                       encoding.append(scope.getReference()).append("_").append(
                                        tostring.format(number));
                } else { // title and (temporarily) asis
-                       encoding.append(aDoc.getTitle()).append(".").append(
+                       encoding.append(aDoc.getTitle()).append("_").append(
                                        tostring.format(number));
                }
                return encoding.toString();