]> SALOME platform Git repositories - tools/siman.git/blobdiff - Workspace/Siman/src/org/splat/simer/StudyPropertiesAction.java
Salome HOME
Modifications to respect PMD rules.
[tools/siman.git] / Workspace / Siman / src / org / splat / simer / StudyPropertiesAction.java
index e38497d8e61d2fb78a28d2b2a597d09defa85f6f..452ee07302469de3ce62ae61ffd16bb128eb1e37 100644 (file)
@@ -120,13 +120,13 @@ public class StudyPropertiesAction extends DisplayStudyStepAction {
         */
        public String doInitialize() {
 
-               mystudy = getOpenStudy();
+               _openStudy = getOpenStudy();
                validation = new Vector<ValidationFacade>();
                validefault = null;
                other = getDocumentTypeService().selectResultTypes();
 
-               Study study = mystudy.getStudyObject();
-               StudyRights user = mystudy.getStudyRights();
+               Study study = _openStudy.getStudyObject();
+               StudyRights user = _openStudy.getStudyRights();
                for (Iterator<DocumentType> i = other.iterator(); i.hasNext();) {
                        DocumentType type = i.next();
                        ValidationCycle cycle = getStudyService().getValidationCycleOf(study, type);
@@ -150,7 +150,7 @@ public class StudyPropertiesAction extends DisplayStudyStepAction {
                setLeftMenuProperty("open");
                initializationFullScreenContext(_menuProperty, _titleProperty, _editDisabledProperty, _toolProperty, _leftMenuProperty);
 
-               if (mystudy.isOpenForWriting() && user.canEditProperties()) {                   
+               if (_openStudy.isOpenForWriting() && user.canEditProperties()) {                        
                        return "edit";
                }
                else {
@@ -162,12 +162,12 @@ public class StudyPropertiesAction extends DisplayStudyStepAction {
 //             Session connex = Database.getCurSession();
 //             Transaction transax = connex.beginTransaction();
 
-               mystudy = getOpenStudy();
+               _openStudy = getOpenStudy();
                validation = new Vector<ValidationFacade>();
                validefault = null;
                other = getDocumentTypeService().selectResultTypes();
 
-               Study study = mystudy.getStudyObject();
+               Study study = _openStudy.getStudyObject();
                for (Iterator<DocumentType> i = other.iterator(); i.hasNext();) {
                        DocumentType type = i.next();
                        ValidationCycle cycle = getStudyService().getValidationCycleOf(study, type);
@@ -200,12 +200,12 @@ public class StudyPropertiesAction extends DisplayStudyStepAction {
 //             Session connex = Database.getCurSession();
 //             Transaction transax = connex.beginTransaction();
 
-               mystudy = getOpenStudy();
+               _openStudy = getOpenStudy();
                validation = new Vector<ValidationFacade>();
                validefault = null;
                other = getDocumentTypeService().selectAllTypes();
 
-               Study study = mystudy.getStudyObject();
+               Study study = _openStudy.getStudyObject();
                for (Iterator<DocumentType> i = other.iterator(); i.hasNext();) {
                        DocumentType type = i.next();
                        ValidationCycle cycle = getStudyService().getValidationCycleOf(study, type);
@@ -245,12 +245,12 @@ public class StudyPropertiesAction extends DisplayStudyStepAction {
 //             Session connex = Database.getCurSession();
 //             Transaction transax = connex.beginTransaction();
 
-               mystudy = getOpenStudy();
+               _openStudy = getOpenStudy();
                validation = new Vector<ValidationFacade>();
                validefault = null;
                other = getDocumentTypeService().selectResultTypes();
 
-               Study study = mystudy.getStudyObject();
+               Study study = _openStudy.getStudyObject();
                for (Iterator<DocumentType> i = other.iterator(); i.hasNext();) {
                        DocumentType type = i.next();
                        ValidationCycle cycle = getStudyService().getValidationCycleOf(study, type);
@@ -383,7 +383,7 @@ public class StudyPropertiesAction extends DisplayStudyStepAction {
 
        public User getAuthor() {
                // ------------------------
-               return mystudy.getStudyObject().getAuthor();
+               return _openStudy.getStudyObject().getAuthor();
        }
 
        public List<User> getCandidates() {
@@ -418,7 +418,7 @@ public class StudyPropertiesAction extends DisplayStudyStepAction {
 
        public String getStudyTitle() {
                // ------------------------------
-               return mystudy.getTitle();
+               return _openStudy.getTitle();
        }
 
        public List<ValidationFacade> getValidations() {