File tree Expand file tree Collapse file tree
gcloud-java-storage/src/main/java/com/google/gcloud/storage Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -73,25 +73,11 @@ String entry() {
7373 }
7474 }
7575
76- public static abstract class EntityField {
77-
78- private final String selector ;
79-
80- public EntityField (String selector ) {
81- this .selector = selector ;
82- }
83-
84- public String selector () {
85- return selector ;
86- }
87- }
88-
8976 enum BucketField {
9077 ID ("id" ),
9178 SELF_LINK ("selfLink" ),
9279 NAME ("name" ),
9380 TIME_CREATED ("timeCreated" ),
94- UPDATED ("updated" ),
9581 METAGENERATION ("metageneration" ),
9682 ACL ("acl" ),
9783 DEFAULT_OBJECT_ACL ("defaultObjectAcl" ),
@@ -114,7 +100,7 @@ public String selector() {
114100 }
115101
116102 static String selector (BucketField ... fields ) {
117- HashSet <String > fieldStrings = Sets .newHashSetWithExpectedSize (fields .length + 2 );
103+ HashSet <String > fieldStrings = Sets .newHashSetWithExpectedSize (fields .length + 1 );
118104 fieldStrings .add (NAME .selector ());
119105 for (BucketField field : fields ) {
120106 fieldStrings .add (field .selector ());
@@ -146,7 +132,6 @@ enum BlobField {
146132 SELF_LINK ("selfLink" ),
147133 SIZE ("size" ),
148134 STORAGE_CLASS ("storageClass" ),
149- TIME_CREATED ("timeCreated" ),
150135 TIME_DELETED ("timeDeleted" ),
151136 UPDATED ("updated" );
152137
You can’t perform that action at this time.
0 commit comments