Subversion Repositories SmartDukaan

Rev

Rev 23081 | Rev 23089 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 23081 Rev 23088
Line 211... Line 211...
211
			iterator.next();
211
			iterator.next();
212
		}
212
		}
213
		while (iterator.hasNext()) {
213
		while (iterator.hasNext()) {
214
			Row nextRow = iterator.next();
214
			Row nextRow = iterator.next();
215
			// logger.info("IMEIs " + nextRow.getCell(0).getStringCellValue());
215
			// logger.info("IMEIs " + nextRow.getCell(0).getStringCellValue());
216
			String imei = String.valueOf((int)(nextRow.getCell(0).getNumericCellValue()));
216
			String imei = String.valueOf((long)(nextRow.getCell(0).getNumericCellValue()));
217
			if (imei.length() < 15) {
217
			if (imei.length() < 15) {
218
				addActionError("IMEI size should be of 15 digit - " + imei);
218
				addActionError("IMEI size should be of 15 digit - " + imei);
219
				return INDEX;
219
				return INDEX;
220
			}
220
			}
221
		}
221
		}