~ganesha-core-maintainers/ganesha/front_end

« back to all changes in this revision

Viewing changes to lib/ganesha/src/backend/dictionary/DictManagement.java

  • Committer: Filip Hianik
  • Date: 2009-05-29 07:20:25 UTC
  • Revision ID: nonsense86@gmail.com-20090529072025-fll7ivlde831uiiv
tree in dictionary tab in preferences populated from the dict.xml entries

Show diffs side-by-side

added added

removed removed

Lines of Context:
105
105
                
106
106
                return null;
107
107
        }
108
 
        
 
108
                
109
109
        
110
110
        //==================
111
111
        // PHRASE FOR ENTITY
250
250
         * @param bHandler Singleton object
251
251
         * @return Vector<String>
252
252
         */
253
 
        public static Vector<String> getRegexs(String entityName, BackendHandler bHandler) {
254
 
                Vector<String> regexs = new Vector<String>();
 
253
        public static Vector<String> getRegexps(String entityName, BackendHandler bHandler) {
 
254
                Vector<String> regexps = new Vector<String>();
255
255
                EntityType entity = getEntity(entityName, bHandler);
256
256
                
257
257
                for (Enumeration<String> e2 = Collections.enumeration(entity.getRegex()); e2.hasMoreElements();) {
258
 
                        regexs.add(e2.nextElement());
 
258
                        regexps.add(e2.nextElement());
259
259
                }
260
260
                
261
 
                return regexs;
 
261
                return regexps;
262
262
        }
263
263
}