netapp: Fix String conversion method of long id

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
This commit is contained in:
Rohit Yadav 2013-01-09 11:22:35 -08:00
parent 066edc1105
commit 4e71a5a7b9
1 changed files with 1 additions and 1 deletions

View File

@ -660,7 +660,7 @@ public class NetappManagerImpl implements NetappManager
lun = _lunDao.persist(lun);
//Lun id created: 6 digits right justified eg. 000045
String lunIdStr = lun.getId().toString();
String lunIdStr = String.valueOf(lun.getId());
String zeroStr = "000000";
int length = lunIdStr.length();
int offset = 6-length;