Hi,

Apache Hudson Server schrieb:
> [INFO] Compilation failure
> 
> http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.jcr.jcrinstall/ws/src/test/java/org/apache/sling/jcr/jcrinstall/osgi/impl/BundleResourceProcessorTest.java
>  :[113,92] 'void' type not allowed here
> 
> http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.jcr.jcrinstall/ws/src/test/java/org/apache/sling/jcr/jcrinstall/osgi/impl/BundleResourceProcessorTest.java
>  :[119,89] 'void' type not allowed here
> 
> http://hudson.zones.apache.org/hudson/job/sling-contrib-1.5/org.apache.sling$org.apache.sling.jcr.jcrinstall/ws/src/test/java/org/apache/sling/jcr/jcrinstall/osgi/impl/BundleResourceProcessorTest.java
>  :[131,78] 'void' type not allowed here

These are statements like:

   assertEquals("First install returns INSTALLED", INSTALLED,
         c.scheduleInstallOrUpdate(uri, data));

where the return value of scheduleInstallOrUpdate is being checked,
which hopefully is flagged by the compiler because this method does not
return anything since it is defined as "public void".

Regards
Felix

> 
> 
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 8 minutes 6 seconds
> [INFO] Finished at: Mon May 04 05:09:32 PDT 2009
> [INFO] Final Memory: 27M/60M
> [INFO] 
> ------------------------------------------------------------------------
> 
> 

Reply via email to