mirror of https://github.com/apache/jclouds.git
Avoid lower-case l literal suffix
Readers can confuse this with 1. Found via error-prone. Fixed via: find -name \*.java | xargs sed -i 's/\( [0-9][0-9]*\)l/\1L/g' find -name \*.java | xargs sed -i 's/\(([0-9][0-9]*\)l/\1L/g'
This commit is contained in:
parent
11c636b6b3
commit
89787b4c97
|
@ -39,9 +39,9 @@ public class BucketUpdateTest extends BaseGoogleCloudStorageParseTest<Bucket> {
|
|||
return Bucket.create(
|
||||
"bhashbucket", // id
|
||||
"bhashbucket", // name
|
||||
1082289308625l, // projectNumber
|
||||
1082289308625L, // projectNumber
|
||||
new SimpleDateFormatDateService().iso8601DateParse("2014-06-02T19:19:41.112z"), // timeCreated
|
||||
204l, // metageneration
|
||||
204L, // metageneration
|
||||
null, // acl
|
||||
null, // defaultObjectAcl
|
||||
Owner.create("project-owners-1082289308625", null), // owner
|
||||
|
|
|
@ -62,9 +62,9 @@ public class FullBucketGetTest extends BaseGoogleCloudStorageParseTest<Bucket> {
|
|||
return Bucket.create(
|
||||
"jcloudstestbucket3500", // id
|
||||
"jcloudstestbucket3500", // name
|
||||
1082289308625l, // projectNumber
|
||||
1082289308625L, // projectNumber
|
||||
new SimpleDateFormatDateService().iso8601DateParse("2014-06-19T14:03:22.345Z"), // timeCreated
|
||||
10l, // metageneration
|
||||
10L, // metageneration
|
||||
Arrays.asList(acl1), // acl
|
||||
Arrays.asList(defObjectAcl), // defaultObjectAcl
|
||||
Owner.create("project-owners-1082289308625", null), // owner
|
||||
|
|
|
@ -34,9 +34,9 @@ public class NoAclBucketListTest extends BaseGoogleCloudStorageParseTest<ListPag
|
|||
|
||||
private Bucket item1 = Bucket.create("bhashbucket", // id
|
||||
"bhashbucket", // name
|
||||
1082289308625l, // projectNumber
|
||||
1082289308625L, // projectNumber
|
||||
new SimpleDateFormatDateService().iso8601DateParse("2014-06-02T19:19:41.112z"), // timeCreated
|
||||
99l, // metageneration
|
||||
99L, // metageneration
|
||||
null, // acl
|
||||
null, // defaultObjectAcl
|
||||
Owner.create("project-owners-1082289308625", null), // owner
|
||||
|
|
|
@ -39,9 +39,9 @@ public class NoAclBucketTest extends BaseGoogleCloudStorageParseTest<Bucket> {
|
|||
return Bucket.create(
|
||||
"bhashbucket", // id
|
||||
"bhashbucket", // name
|
||||
1082289308625l, // projectNumber
|
||||
1082289308625L, // projectNumber
|
||||
new SimpleDateFormatDateService().iso8601DateParse("2014-06-02T19:19:41.112z"), // timeCreated
|
||||
87l, // metageneration
|
||||
87L, // metageneration
|
||||
null, // acl
|
||||
null, // defaultObjectAcl
|
||||
Owner.create("project-owners-1082289308625", null), // owner
|
||||
|
|
Loading…
Reference in New Issue