mirror of
https://github.com/apache/jclouds.git
synced 2025-02-16 06:56:45 +00:00
fixed name to Identity
This commit is contained in:
parent
05d4b19fdd
commit
8df7468af3
@ -59,7 +59,7 @@ public interface RestContext<S, A> {
|
||||
|
||||
URI getEndpoint();
|
||||
|
||||
String getPrincipal();
|
||||
String getIdentity();
|
||||
|
||||
String getProvider();
|
||||
|
||||
|
@ -87,7 +87,7 @@ public class RestContextImpl<S, A> implements RestContext<S, A> {
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getPrincipal() {
|
||||
public String getIdentity() {
|
||||
return identity;
|
||||
}
|
||||
|
||||
|
@ -90,7 +90,7 @@ public class GetPath {
|
||||
String path = container + "/" + directory;
|
||||
InputStreamMap map = context.createInputStreamMap(path);
|
||||
System.out.printf("fetching %d entries from %s %s%n", map.size(), context
|
||||
.getProviderSpecificContext().getPrincipal(), path);
|
||||
.getProviderSpecificContext().getIdentity(), path);
|
||||
for (Entry<String, InputStream> entry : map.entrySet()) {
|
||||
System.out.printf("getting file: %s/%s%n", path, entry.getKey());
|
||||
input = entry.getValue();
|
||||
|
Loading…
x
Reference in New Issue
Block a user