mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-10-26 08:42:29 +01:00 
			
		
		
		
	Do not instantiate long just to generate String
Replaced toString call to the static toString method Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
This commit is contained in:
		
							parent
							
								
									88954053c3
								
							
						
					
					
						commit
						3650f12e9b
					
				| @ -6862,7 +6862,7 @@ public abstract class CitrixResourceBase implements ServerResource, HypervisorRe | ||||
|                 vbdr.bootable = false; | ||||
|                 vbdr.unpluggable = true; | ||||
|             } | ||||
|             vbdr.userdevice = new Long(volumeTO.getDeviceId()).toString(); | ||||
|             vbdr.userdevice = Long.toString(volumeTO.getDeviceId()); | ||||
|             vbdr.mode = Types.VbdMode.RW; | ||||
|             vbdr.type = Types.VbdType.DISK; | ||||
|             VBD.create(conn, vbdr); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user