Subversion Repositories SmartDukaan

Rev

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

Rev 27113 Rev 31599
Line 50... Line 50...
50
	
50
	
51
			} else {
51
			} else {
52
				cities.add(postOffice.getCity());
52
				cities.add(postOffice.getCity());
53
			}
53
			}
54
			map.put(ProfitMandiConstants.STATE, postOffice.getState());
54
			map.put(ProfitMandiConstants.STATE, postOffice.getState());
-
 
55
			String[] nameArr = postOffice.getCodeName().split( " ");
-
 
56
			if(nameArr.length > 2)
-
 
57
			cities.add(postOffice.getCodeName().split( " ")[0]);
55
		}
58
		}
56
		map.put(ProfitMandiConstants.CITIES, cities);
59
		map.put(ProfitMandiConstants.CITIES, cities);
57
		return responseSender.ok(map);
60
		return responseSender.ok(map);
58
 
61
 
59
	}
62
	}