Subversion Repositories SmartDukaan

Rev

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

Rev 31602 Rev 31737
Line 63... Line 63...
63
 
63
 
64
            } else {
64
            } else {
65
                cities.add(postOffice.getCity());
65
                cities.add(postOffice.getCity());
66
            }
66
            }
67
            map.put(ProfitMandiConstants.STATE, postOffice.getState());
67
            map.put(ProfitMandiConstants.STATE, postOffice.getState());
68
            String[] nameArr = postOffice.getCodeName().split(" ");
-
 
69
            if (nameArr.length > 2)
-
 
70
                cities.add(postOffice.getCodeName().split(" ")[0]);
68
            cities.add(postOffice.getCodeName().substring(0, postOffice.getCodeName().lastIndexOf(" ")));
-
 
69
 
71
        }
70
        }
72
        map.put(ProfitMandiConstants.CITIES, cities);
71
        map.put(ProfitMandiConstants.CITIES, cities);
73
        return map;
72
        return map;
74
    }
73
    }
75
 
74