Mail Archive Home | fractal-commits List | April 2008 Index
| <-- Date Index --> | <-- Thread Index --> |
Licence. @since. Suppress warning.
--- trunk/fractaladl/juliac/examples/advanced/ultra-merge-helloworld/src/test/java/example/hw/HelloWorldTestCase.java 2008-04-29 15:40:56 UTC (rev 7550)
+++ trunk/fractaladl/juliac/examples/advanced/ultra-merge-helloworld/src/test/java/example/hw/HelloWorldTestCase.java 2008-04-29 19:05:25 UTC (rev 7551)
@@ -1,3 +1,26 @@
+/***
+ * Juliac
+ * Copyright (C) 2008 INRIA, USTL
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * Contact: Lionel.Seinturier@xxxxxxxxxxxxxx
+ *
+ * Author: Lionel Seinturier
+ */
+
package example.hw;
import java.io.File;
@@ -14,6 +37,7 @@
* optimization level of Juliac and check that the example runs as expected.
*
* @author Lionel Seinturier <Lionel.Seinturier@xxxxxxxxxxxxxx>
+ * @since 1.3
*/
public class HelloWorldTestCase extends TestCase {
@@ -23,6 +47,7 @@
ClassNotFoundException, IOException, java.lang.InstantiationException,
IllegalAccessException {
+ @SuppressWarnings("unchecked")
Class<Runnable> hw = (Class<Runnable>) Class.forName("example.hw.HelloWorld");
/*
| <-- Date Index --> | <-- Thread Index --> |
Powered by MHonArc.
Copyright © 2006-2007, OW2 Consortium | contact | webmaster.