Whitespace cleanup

This commit is contained in:
Javi Fontan committed 2015-07-01 15:18:28 -04:00
1 parent fc831b7c99
commit 4b08d76fbf
290 files changed
+1618 -1618

No files matched your search

+4 -4
View File
@@ -1,12 +1,12 @@
/*******************************************************************************
* Copyright 2002-2015, OpenNebula Project (OpenNebula.org), C12G Labs
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -104,7 +104,7 @@ public class HostTest
{
res = host.info();
assertTrue( res.getErrorMessage(), !res.isError() );
// assertTrue( host.getId().equals("0") );
assertTrue( host.id() >= 0 );
+1 -1
View File
@@ -205,7 +205,7 @@ public class SecurityGroupTest
assertTrue( sg.xpath("PERMISSIONS/OTHER_M").equals("1") );
assertTrue( sg.xpath("PERMISSIONS/OTHER_A").equals("1") );
}
@Test
public void attributes()
{
+9 -9
View File
@@ -21,9 +21,9 @@ import org.w3c.dom.Node;
public class SessionTest {
@Test
public void createSession()
{
@Test
public void createSession()
{
Client oneClient = null;
try
{
@@ -35,12 +35,12 @@ public class SessionTest {
}
assertNotNull(oneClient);
}
}
@Test
public void wrong_url()
{
Client oneClient = null;
@Test
public void wrong_url()
{
Client oneClient = null;
try
{
// The HTTP is misspelled
@@ -52,7 +52,7 @@ public class SessionTest {
}
assertNull("Client should complain about misspelled url", oneClient);
}
}
@Test
public void version()
+1 -1
View File
@@ -228,7 +228,7 @@ public class TemplateTest
assertTrue( template.xpath("PERMISSIONS/OTHER_M").equals("1") );
assertTrue( template.xpath("PERMISSIONS/OTHER_A").equals("1") );
}
@Test
public void attributes()
{
+4 -4
View File
@@ -1,12 +1,12 @@
/*******************************************************************************
* Copyright 2002-2015, OpenNebula Project (OpenNebula.org), C12G Labs
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -172,7 +172,7 @@ public class VirtualNetworkTest
@Test
public void updateAr()
{
String new_template =
String new_template =
"AR = [ AR_ID = 0, ATT2 = NEW_VAL, ATT3 = VAL3 ]";
res = vnet.updateAr(new_template);