commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hans Gilde" <hgi...@gmail.com>
Subject [jelly] double checking my logic
Date Mon, 07 Nov 2005 01:57:22 GMT
Just to be sure I'm not missing something. the following if condition
couldn't possible execute:

 

if (type != null && type.isAssignableFrom(Expression.class) &&
!type.isAssignableFrom(Object.class)) 

 

The reason being that anything that isAssignableFrom(Expression.class) also
isAssignableFrom(Object.class)

 

right?

 

Hans


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message