Subversion Repositories SmartDukaan

Rev

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

Rev 7670 Rev 7673
Line 388... Line 388...
388
    	
388
    	
389
	}
389
	}
390
	private List<Long> getRiskyActiveItems() {
390
	private List<Long> getRiskyActiveItems() {
391
		try {
391
		try {
392
			Reader reader = new FileReader(Utils.EXPORT_PATH + Utils.RISKY_PAUSED_JSON);
392
			Reader reader = new FileReader(Utils.EXPORT_PATH + Utils.RISKY_PAUSED_JSON);
393
			return new Gson().fromJson(reader, new TypeToken<List<Integer>>() {}.getType());
393
			return new Gson().fromJson(reader, new TypeToken<List<Long>>() {}.getType());
394
		} catch (FileNotFoundException e) {
394
		} catch (FileNotFoundException e) {
395
			log.error("Could not read popularity file");
395
			log.error("Could not read popularity file");
396
			e.printStackTrace();
396
			e.printStackTrace();
397
			return new ArrayList<Long>();
397
			return new ArrayList<Long>();
398
		}
398
		}