[Mulgara-svn] r748 - branches/mgr-61-sparql/src/jar/tuples/java/org/mulgara/store/tuples
pag at mulgara.org
pag at mulgara.org
Tue Apr 8 20:46:04 UTC 2008
Author: pag
Date: 2008-04-08 13:46:03 -0700 (Tue, 08 Apr 2008)
New Revision: 748
Modified:
branches/mgr-61-sparql/src/jar/tuples/java/org/mulgara/store/tuples/DifferenceUnitTest.java
Log:
Updated license and copyright, and removed warnings.
Modified: branches/mgr-61-sparql/src/jar/tuples/java/org/mulgara/store/tuples/DifferenceUnitTest.java
===================================================================
--- branches/mgr-61-sparql/src/jar/tuples/java/org/mulgara/store/tuples/DifferenceUnitTest.java 2008-04-08 20:44:53 UTC (rev 747)
+++ branches/mgr-61-sparql/src/jar/tuples/java/org/mulgara/store/tuples/DifferenceUnitTest.java 2008-04-08 20:46:03 UTC (rev 748)
@@ -1,28 +1,13 @@
/*
- * The contents of this file are subject to the Mozilla Public License
- * Version 1.1 (the "License"); you may not use this file except in
+ * The contents of this file are subject to the Open Software License
+ * Version 3.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
+ * http://www.opensource.org/licenses/osl-3.0.txt
*
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
* the License for the specific language governing rights and limitations
* under the License.
- *
- * The Original Code is the Kowari Metadata Store.
- *
- * The Initial Developer of the Original Code is Plugged In Software Pty
- * Ltd (http://www.pisoftware.com, mailto:info at pisoftware.com). Portions
- * created by Plugged In Software Pty Ltd are Copyright (C) 2001,2002
- * Plugged In Software Pty Ltd. All Rights Reserved.
- *
- * Contributor(s): N/A.
- *
- * [NOTE: The text of this Exhibit A may differ slightly from the text
- * of the notices in the Source Code files of the Original Code. You
- * should use the text of this Exhibit A rather than the text found in the
- * Original Code Source Code for Your Modifications.]
- *
*/
package org.mulgara.store.tuples;
@@ -39,25 +24,14 @@
* Test case for {@link Difference}.
*
* @created 2005-03-31
- *
* @author <a href="mailto:pgearon at users.sourceforge.net">Paul Gearon</a>
- *
- * @version $Revision: 1.1 $
- *
- * @modified $Date: 2005/04/10 09:21:22 $
- *
- * @maintenanceAuthor $Author: pgearon $
- *
- * @copyright © 2003 <A href="http://www.PIsoftware.com/">Plugged In
- * Software Pty Ltd</A>
- *
- * @licence <a href="{@docRoot}/../../LICENCE">Mozilla Public License v1.1</a>
+ * @copyright © 2003 <A href="http://www.topazproject.org/">The Topaz Project</A>
+ * @licence <a href="{@docRoot}/../../LICENCE">Open Software License v3.0</a>
*/
public class DifferenceUnitTest extends TestCase {
- /**
- * Logger.
- */
+ /** Logger. */
+ @SuppressWarnings("unused")
private static final Logger logger = Logger.getLogger(DifferenceUnitTest.class);
/** Test variable. */
@@ -162,7 +136,7 @@
8));
try {
- Tuples joined = new Difference(lhs, rhs);
+ new Difference(lhs, rhs);
assertTrue(false);
} catch (IllegalArgumentException e) {
/* no-op */
@@ -446,6 +420,13 @@
TuplesTestingUtil.closeTuples(new Tuples[] { actual, lhs, rhs });
}
+ /**
+ * Internal method used during debugging. This method writes the contents of a tuples
+ * to STDOUT.
+ * @param t The tuples to dump
+ * @throws TuplesException If there was an exception accessing the tuples.
+ */
+ @SuppressWarnings("unused")
private void dumpTuples(Tuples t) throws TuplesException {
Variable[] v = t.getVariables();
for (int i = 0; i < v.length; i++) {
More information about the Mulgara-svn
mailing list