Subversion Repositories SmartDukaan

Rev

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

Rev 8749 Rev 8777
Line 122... Line 122...
122
    	if (MapUtils.isNotEmpty(medias)){
122
    	if (MapUtils.isNotEmpty(medias)){
123
	    	Map<String, Media> m = new HashMap<String, Media>(); 
123
	    	Map<String, Media> m = new HashMap<String, Media>(); 
124
	    	for(Map.Entry<String, Media> m1 : medias.entrySet()) {
124
	    	for(Map.Entry<String, Media> m1 : medias.entrySet()) {
125
	    		if(m1.getKey().contains(".")){
125
	    		if(m1.getKey().contains(".")){
126
	    			m.put(m1.getKey().replaceAll("\\.", "-"),m1.getValue());
126
	    			m.put(m1.getKey().replaceAll("\\.", "-"),m1.getValue());
-
 
127
	    		}else {
-
 
128
	    			m.put(m1.getKey(), m1.getValue());
127
	    		}
129
	    		}
128
	    	}
130
	    	}
129
	    	medias = m;
131
	    	medias = m;
130
    	}
132
    	}
131
    	return medias;
133
    	return medias;