Commit f391810f authored by Kerstin Bach's avatar Kerstin Bach

Updated license information

parent c5ff53e2
......@@ -26,7 +26,6 @@
package de.dfki.mycbr.core.similarity;
import java.io.Console;
import java.util.HashSet;
import java.util.Observable;
......
......@@ -148,6 +148,7 @@ public class Database {
return (String) mappings.get(table).get("concept");
}
@SuppressWarnings("unchecked")
public ArrayList<Mapping> getMappings(String table) {
return (ArrayList<Mapping>) mappings.get(table).get("mapping");
}
......
......@@ -31,7 +31,6 @@ import junit.framework.TestSuite;
import test.junittest.casebase.ConceptWith2PartOfTest;
import test.junittest.casebase.OverrideAttributeTest;
import test.junittest.casebase.OverrideAttributeTest2;
import test.junittest.load.*;
import test.junittest.model.ConceptDescTest;
import test.junittest.model.ConceptTest;
import test.junittest.similarity.*;
......
......@@ -28,12 +28,9 @@ package test.junittest;
import de.dfki.mycbr.core.Project;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import java.io.*;
import java.nio.file.Files;
import java.nio.file.Path;
import java.text.DecimalFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
......
......@@ -89,6 +89,7 @@ public class UsedCars extends TestCase {
while (!r.isFinished()) {
}
@SuppressWarnings("unchecked")
Pair<Instance, Similarity>[] result = new Pair[r.size()];
int index = 0;
......@@ -97,7 +98,7 @@ public class UsedCars extends TestCase {
}
for ( int i = 0; i < 957; i++ ) {
System.out.println(result[i].getFirst().getName() + " " + result[i].getSecond().getRoundedValue());
//assertTrue(result[i].getSecond().getValue()!=0.0);
}
}
}
......@@ -26,8 +26,6 @@
package test.junittest.casebase;
import java.io.IOException;
import java.nio.file.*;
import java.text.SimpleDateFormat;
import java.util.HashSet;
......@@ -41,7 +39,6 @@ import de.dfki.mycbr.core.model.IntegerDesc;
import de.dfki.mycbr.core.model.IntervalDesc;
import de.dfki.mycbr.core.model.StringDesc;
import de.dfki.mycbr.core.model.SymbolDesc;
import org.junit.Test;
/**
* When there is a sub c B of a given c A, then all attributes of
......
......@@ -30,7 +30,6 @@ import junit.framework.TestCase;
import org.junit.Test;
import de.dfki.mycbr.core.similarity.DateFct;
import de.dfki.mycbr.core.similarity.StringFct;
import de.dfki.mycbr.core.similarity.config.StringConfig;
import test.junittest.TestFramework;
......
......@@ -27,9 +27,7 @@
package test.junittest.similarity;
import java.util.Arrays;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.Map;
import de.dfki.mycbr.util.Pair;
import junit.framework.TestCase;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment