rename LinkedIdentity to LinkedAttribute

This commit is contained in:
Vincent Breitmoser
2015-05-12 11:56:39 +02:00
parent 20a6c5ce8a
commit 6fe0a55522
5 changed files with 13 additions and 13 deletions

View File

@@ -5,11 +5,11 @@ import java.net.URI;
import android.content.Context;
import android.support.annotation.DrawableRes;
public class LinkedIdentity extends UriAttribute {
public class LinkedAttribute extends UriAttribute {
public final LinkedResource mResource;
protected LinkedIdentity(URI uri, LinkedResource resource) {
protected LinkedAttribute(URI uri, LinkedResource resource) {
super(uri);
if (resource == null) {
throw new AssertionError("resource must not be null in a LinkedIdentity!");

View File

@@ -47,7 +47,7 @@ public class UriAttribute {
return new UriAttribute(uri);
}
return new LinkedIdentity(uri, res);
return new LinkedAttribute(uri, res);
} catch (IllegalArgumentException e) {
Log.e(Constants.TAG, "error parsing uri in (suspected) linked id packet");
@@ -69,7 +69,7 @@ public class UriAttribute {
}
public String getDisplayTitle(Context context) {
return "unknown";
return "Unknown Identity";
}
public String getDisplayComment(Context context) {