Commit 5a153783 authored by Nicolas Gilmard's avatar Nicolas Gilmard

Fix some deprecated methods due to migration to TUIO v1.1

parent fd51f3b4
......@@ -344,7 +344,7 @@ public class TuioAdapter extends TuiAdapter implements TuioListener {
@Override
public Collection<TangibleObject> getActiveCursors() {
Vector<TangibleObject> cursorList = new Vector<>();
for (TuioCursor cursor : client.getTuioCursors()) {
for (TuioCursor cursor : client.getTuioCursorList()) {
cursorList.add(convertTuioCursorToTangibleObject(cursor));
}
......@@ -359,7 +359,7 @@ public class TuioAdapter extends TuiAdapter implements TuioListener {
@Override
public Collection<TangibleObject> getActiveObjects() {
Vector<TangibleObject> objectList = new Vector<>();
for (TuioObject object : client.getTuioObjects()) {
for (TuioObject object : client.getTuioObjectList()) {
objectList.add(convertTuioObjectToTangibleObject(object));
}
......
......@@ -33,9 +33,9 @@ import java.util.logging.Level;
/**
* Test case for testing the {@link TangibleApplication} class.
*
* @author Eric TOBIAS [eric.tobias@list.lu]
* @since 1.0
* @version 1.0.2
* @author Nicolas GILMARD [nicolas.gilmard@list.lu]
* @since 2.0
* @version 2.0.41
*/
public class TangibleApplicationTest2 {
private String propertiesLocation = "test_properties.properties"; //$NON-NLS-1$
......
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