Skip to main content

[glassfish~svn:59903] Remove '-' from the keys

  • From: mk111283@...
  • To: commits@...
  • Subject: [glassfish~svn:59903] Remove '-' from the keys
  • Date: Thu, 28 Feb 2013 09:03:03 +0000

Project:    glassfish
Repository: svn
Revision:   59903
Author:     mk111283
Date:       2013-02-28 09:03:00 UTC
Link:       

Log Message:
------------
Remove '-' from the keys


Revisions:
----------
59903


Modified Paths:
---------------
trunk/main/appserver/batch/batch-connector/src/main/java/org/glassfish/batch/ListBatchJobSteps.java
trunk/main/appserver/batch/batch-connector/src/main/java/org/glassfish/batch/ListBatchJobExecutions.java
trunk/main/appserver/batch/batch-connector/src/main/java/org/glassfish/batch/ListBatchJobs.java


Diffs:
------
Index: 
trunk/main/appserver/batch/batch-connector/src/main/java/org/glassfish/batch/ListBatchJobExecutions.java
===================================================================
--- 
trunk/main/appserver/batch/batch-connector/src/main/java/org/glassfish/batch/ListBatchJobExecutions.java
    (revision 59902)
+++ 
trunk/main/appserver/batch/batch-connector/src/main/java/org/glassfish/batch/ListBatchJobExecutions.java
    (revision 59903)
@@ -108,7 +108,7 @@
         }
         ColumnFormatter columnFormatter = new 
ColumnFormatter(getDisplayHeaders());
         List<Map<String, Object>> jobExecutions = new ArrayList<>();
-        extraProps.put("list-batch-jobs", jobExecutions);
+        extraProps.put("listBatchJobExecutions", jobExecutions);
         if (executionId != null) {
             for (JobExecution je : 
findJobExecutions(Long.valueOf(executionId))) {
                 jobExecutions.add(handleJob(je, columnFormatter));
Index: 
trunk/main/appserver/batch/batch-connector/src/main/java/org/glassfish/batch/ListBatchJobSteps.java
===================================================================
--- 
trunk/main/appserver/batch/batch-connector/src/main/java/org/glassfish/batch/ListBatchJobSteps.java
 (revision 59902)
+++ 
trunk/main/appserver/batch/batch-connector/src/main/java/org/glassfish/batch/ListBatchJobSteps.java
 (revision 59903)
@@ -100,7 +100,7 @@
 
         ColumnFormatter columnFormatter = new 
ColumnFormatter(getDisplayHeaders());
         List<Map<String, Object>> jobExecutions = new ArrayList<>();
-        extraProps.put("list-batch-jobs", jobExecutions);
+        extraProps.put("listBatchJobSteps", jobExecutions);
         for (StepExecution je : findStepExecutions()) {
             jobExecutions.add(handleJob(je, columnFormatter));
         }
Index: 
trunk/main/appserver/batch/batch-connector/src/main/java/org/glassfish/batch/ListBatchJobs.java
===================================================================
--- 
trunk/main/appserver/batch/batch-connector/src/main/java/org/glassfish/batch/ListBatchJobs.java
     (revision 59902)
+++ 
trunk/main/appserver/batch/batch-connector/src/main/java/org/glassfish/batch/ListBatchJobs.java
     (revision 59903)
@@ -103,12 +103,12 @@
 
         ColumnFormatter columnFormatter = new 
ColumnFormatter(getDisplayHeaders());
         if (isSimpleMode()) {
-            extraProps.put("simple-mode", true);
-            extraProps.put("list-batch-jobs", 
findSimpleJobInfo(columnFormatter));
+            extraProps.put("simpleMode", true);
+            extraProps.put("listBatchJobs", 
findSimpleJobInfo(columnFormatter));
         } else {
-            extraProps.put("simple-mode", false);
+            extraProps.put("simpleMode", false);
             List<Map<String, Object>> jobExecutions = new ArrayList<>();
-            extraProps.put("list-batch-jobs", jobExecutions);
+            extraProps.put("listBatchJobs", jobExecutions);
             for (JobExecution je : findJobExecutions()) {
                 jobExecutions.add(handleJob(je, columnFormatter));
             }





[glassfish~svn:59903] Remove '-' from the keys

mk111283 02/28/2013
 
 
Close
loading
Please Confirm
Close