~ubuntu-branches/ubuntu/natty/tomcat6/natty-proposed

« back to all changes in this revision

Viewing changes to java/javax/el/ListELResolver.java

  • Committer: Bazaar Package Importer
  • Author(s): Thierry Carrez
  • Date: 2010-05-21 13:51:15 UTC
  • mfrom: (2.2.12 sid)
  • Revision ID: james.westby@ubuntu.com-20100521135115-qfwnf24lzvi3644v
Tags: 6.0.26-2
* debian/tomcat6.{postinst,prerm}: Respect TOMCAT6_USER and TOMCAT6_GROUP
  as defined in /etc/default/tomcat6 when setting directory permissions and
  authbind configuration (Closes: #581018, LP: #557300)
* debian/tomcat6.postinst: Use group "tomcat6" instead of "adm" for
  permissions in /var/lib/tomcat6, so that group "adm" doesn't get write
  permissions over /var/lib/tomcat6/webapps (LP: #569118)

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
                        List list = (List) base;
70
70
                        int idx = coerce(property);
71
71
                        if (idx < 0 || idx >= list.size()) {
72
 
                                return null;
 
72
                throw new PropertyNotFoundException(
 
73
                        new ArrayIndexOutOfBoundsException(idx).getMessage());
73
74
                        }
74
75
                        Object obj = list.get(idx);
75
76
                        return (obj != null) ? obj.getClass() : null;