Commits

Anonymous committed 3ba12f7

XW-548 Make buildConverterMapping(Class) method in XWorkConverter protected instead of private
o ported fix from xwork 1.2 branch

git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk@1806e221344d-f017-0410-9bd5-d282ab1896d7

  • Participants
  • Parent commits 4d24c6f

Comments (0)

Files changed (1)

File src/java/com/opensymphony/xwork2/conversion/impl/XWorkConverter.java

      * @param mapping an existing map to add new converter mappings to
      * @param clazz   class to look for converter mappings for
      */
-    void addConverterMapping(Map<String, Object> mapping, Class clazz) {
+    protected void addConverterMapping(Map<String, Object> mapping, Class clazz) {
         try {
             String converterFilename = buildConverterFilename(clazz);
             InputStream is = FileManager.loadFile(converterFilename, clazz);
      * @param clazz the class to look for converter mappings for
      * @return the converter mappings
      */
-    private Map<String, Object> buildConverterMapping(Class clazz) throws Exception {
+    protected Map<String, Object> buildConverterMapping(Class clazz) throws Exception {
         Map<String, Object> mapping = new HashMap<String, Object>();
 
         // check for conversion mapping associated with super classes and any implemented interfaces