rename LinkedIdentity to LinkedAttribute
This commit is contained in:
@@ -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!");
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user