Subversion Repositories SmartDukaan

Rev

Rev 5075 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5075 Rev 5090
Line 57... Line 57...
57
    			synMap = new HashMap<String, Map<String,String>>();
57
    			synMap = new HashMap<String, Map<String,String>>();
58
    		}
58
    		}
59
    		Map<String,String> typeMap = synMap.get(type);
59
    		Map<String,String> typeMap = synMap.get(type);
60
    		if(typeMap==null){
60
    		if(typeMap==null){
61
    			typeMap = new HashMap<String,String>();
61
    			typeMap = new HashMap<String,String>();
-
 
62
    			synMap.put(type, typeMap);
62
    		}
63
    		}
63
    		typeMap.put(key,value);
64
    		typeMap.put(key,value);
64
    		CreationUtils.storeSynonyms(synMap);
65
    		CreationUtils.storeSynonyms(synMap);
65
    	} catch(Exception e){
66
    	} catch(Exception e){
66
    		e.printStackTrace();
67
    		e.printStackTrace();