[skin][fluido] jdk5 proof?

2011-10-15 Thread Robert Scholte

I noticed this in the site.vm
 

 #if( $poweredBy.isEmpty() )
 a href=http://maven.apache.org/; title=$i18n.getString( site-renderer, 
$locale, template.builtby ) Maven class=poweredBy
 img class=poweredBy alt=$i18n.getString( site-renderer, $locale, 
template.builtby ) Maven src=$relativePath/images/logos/maven-feather.png 
/
 /a
 #end
 

String.isEmpty() is available since jdk6
http://download.oracle.com/javase/6/docs/api/java/lang/String.html#isEmpty()



I guess we want to support jdk5+, right?
 

-Robert   
-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org



Re: [skin][fluido] jdk5 proof?

2011-10-15 Thread Simone Tripodi
Hi Robert,
thanks for the notification, I'll fix it ASAP!
All the bets, have a nice WE!
Simo

http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/



On Sat, Oct 15, 2011 at 12:50 PM, Robert Scholte rfscho...@codehaus.org wrote:

 I noticed this in the site.vm


  #if( $poweredBy.isEmpty() )
  a href=http://maven.apache.org/; title=$i18n.getString( site-renderer, 
 $locale, template.builtby ) Maven class=poweredBy
  img class=poweredBy alt=$i18n.getString( site-renderer, $locale, 
 template.builtby ) Maven 
 src=$relativePath/images/logos/maven-feather.png /
  /a
  #end


 String.isEmpty() is available since jdk6
 http://download.oracle.com/javase/6/docs/api/java/lang/String.html#isEmpty()



 I guess we want to support jdk5+, right?


 -Robert
 -
 To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
 For additional commands, e-mail: dev-h...@maven.apache.org



-
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org