Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-41995

Switch to only using one BeanUtils

    XMLWordPrintable

    Details

    • Previous Issue Keys:
      SKE-260

      Description

      On an issue I was working on I noticed that we use 2 different BeanUtils in Sakai. I think we should switch to just one. The problem is that the arguments are reversed between these two so it could lead to confusion. Since only copyProperties are used from the springframework one, that's the easiest to just switch to apache.

      https://stackoverflow.com/a/34988281/3708872

       

      • org.springframework.beans.BeanUtils: (just copyProperties)
        • assignment/AssignmentServiceTest
        • kernel/MessageBundleServiceImpl
      • org.apache.commons.beanutils.BeanUtils: (uses populate, setProperty, copyProperties, describe)
        • samigo/XmlMapper
        • samigo/TotalScoreListener
        • samigo/HistogramListener
        • samigo/SubmissionStatusListener
        • samigo/TotalScoreUpdateListener
        • samigo/BeanSortComparator
        • polls/PollsEntityProvider

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                jonespm Matthew Jones
                Reporter:
                jonespm Matthew Jones
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration