Alissa Bonas has uploaded a new change for review.

Change subject: webadmin: start method with lowercase
......................................................................

webadmin: start method with lowercase

Start private method with lowercase in StorageListModel

Change-Id: I515aaf27351928cf5b7d4f43378c2865f6a1fcf0
Signed-off-by: Alissa Bonas <[email protected]>
---
M 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/storage/StorageListModel.java
1 file changed, 19 insertions(+), 19 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/33/14233/1

diff --git 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/storage/StorageListModel.java
 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/storage/StorageListModel.java
index 01bcf95..de895e6 100644
--- 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/storage/StorageListModel.java
+++ 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/storage/StorageListModel.java
@@ -777,7 +777,7 @@
         }
     }
 
-    private void CleanConnection(StorageServerConnections connection, Guid 
hostId) {
+    private void cleanConnection(StorageServerConnections connection, Guid 
hostId) {
         Frontend.RunAction(VdcActionType.RemoveStorageServerConnection, new 
StorageServerConnectionParametersBase(connection, hostId),
                 null, this);
     }
@@ -796,7 +796,7 @@
         
model.setMessage(ConstantsManager.getInstance().getConstants().areYouSureYouWantToRemoveTheStorageDomainMsg());
         model.getFormat().setIsAvailable(false);
 
-        AsyncDataProvider.GetHostListByStatus(new AsyncQuery(new Object[] 
{this, model}, new INewAsyncCallback() {
+        AsyncDataProvider.GetHostListByStatus(new AsyncQuery(new 
Object[]{this, model}, new INewAsyncCallback() {
             @Override
             public void onSuccess(Object target, Object returnValue) {
 
@@ -808,8 +808,8 @@
                 removeStorageModel.getHostList().setItems(hosts);
                 
removeStorageModel.getHostList().setSelectedItem(Linq.FirstOrDefault(hosts));
                 removeStorageModel.getFormat()
-                    .setIsAvailable(storage.getStorageDomainType() == 
StorageDomainType.ISO
-                        || storage.getStorageDomainType() == 
StorageDomainType.ImportExport);
+                        .setIsAvailable(storage.getStorageDomainType() == 
StorageDomainType.ISO
+                                || storage.getStorageDomainType() == 
StorageDomainType.ImportExport);
 
                 if (hosts.isEmpty()) {
 
@@ -906,18 +906,18 @@
         model.StartProgress(null);
 
         Frontend.RunMultipleAction(VdcActionType.ForceRemoveStorageDomain,
-            new ArrayList<VdcActionParametersBase>(Arrays.asList(new 
VdcActionParametersBase[] {new 
StorageDomainParametersBase(storageDomain.getId())})),
-            new IFrontendMultipleActionAsyncCallback() {
-                @Override
-                public void Executed(FrontendMultipleActionAsyncResult result) 
{
+                new ArrayList<VdcActionParametersBase>(Arrays.asList(new 
VdcActionParametersBase[]{new 
StorageDomainParametersBase(storageDomain.getId())})),
+                new IFrontendMultipleActionAsyncCallback() {
+                    @Override
+                    public void Executed(FrontendMultipleActionAsyncResult 
result) {
 
-                    ConfirmationModel localModel = (ConfirmationModel) 
result.getState();
-                    localModel.StopProgress();
-                    Cancel();
+                        ConfirmationModel localModel = (ConfirmationModel) 
result.getState();
+                        localModel.StopProgress();
+                        Cancel();
 
-                }
-            },
-            model);
+                    }
+                },
+                model);
     }
 
     private void OnSave()
@@ -1084,7 +1084,7 @@
         {
             StorageDomain storage = (StorageDomain) 
getSystemTreeSelectedItem().getEntity();
 
-            setSelectedItem(Linq.FirstOrDefault(Linq.<StorageDomain> 
Cast(getItems()),
+            
setSelectedItem(Linq.FirstOrDefault(Linq.<StorageDomain>Cast(getItems()),
                     new Linq.StoragePredicate(storage.getId())));
         }
     }
@@ -1344,7 +1344,7 @@
             public void Executed(FrontendActionAsyncResult result) {
 
                 StorageListModel storageListModel = (StorageListModel) 
result.getState();
-                storageListModel.CleanConnection(storageListModel.connection, 
storageListModel.hostId);
+                storageListModel.cleanConnection(storageListModel.connection, 
storageListModel.hostId);
                 storageListModel.OnFinish(storageListModel.context, false, 
storageListModel.storageModel);
             }
         };
@@ -1468,7 +1468,7 @@
             public void Executed(FrontendActionAsyncResult result) {
 
                 StorageListModel storageListModel = (StorageListModel) 
result.getState();
-                storageListModel.CleanConnection(storageListModel.connection, 
storageListModel.hostId);
+                storageListModel.cleanConnection(storageListModel.connection, 
storageListModel.hostId);
                 storageListModel.OnFinish(storageListModel.context, false, 
storageListModel.storageModel);
             }
         };
@@ -1678,7 +1678,7 @@
             public void Executed(FrontendActionAsyncResult result) {
 
                 StorageListModel storageListModel = (StorageListModel) 
result.getState();
-                storageListModel.CleanConnection(storageListModel.connection, 
storageListModel.hostId);
+                storageListModel.cleanConnection(storageListModel.connection, 
storageListModel.hostId);
                 storageListModel.OnFinish(storageListModel.context, false, 
storageListModel.storageModel);
 
             }
@@ -1847,7 +1847,7 @@
 
                 if (storageListModel.removeConnection)
                 {
-                    
storageListModel.CleanConnection(storageListModel.connection, 
storageListModel.hostId);
+                    
storageListModel.cleanConnection(storageListModel.connection, 
storageListModel.hostId);
                     storageListModel.removeConnection = false;
                 }
 


--
To view, visit http://gerrit.ovirt.org/14233
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I515aaf27351928cf5b7d4f43378c2865f6a1fcf0
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alissa Bonas <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to