@@ -266,7 +266,7 @@ public void testChangeMime() {
266266 }
267267
268268 @ Test
269- public void testChangeHeaders (){
269+ public void testChangeHeaders () {
270270 List <String []> cases = new ArrayList <String []>();
271271 cases .add (new String []{TestConfig .testBucket_z0 , TestConfig .testKey_z0 });
272272 cases .add (new String []{TestConfig .testBucket_na0 , TestConfig .testKey_na0 });
@@ -275,13 +275,13 @@ public void testChangeHeaders(){
275275 String bucket = icase [0 ];
276276 String key = icase [1 ];
277277 try {
278- Map <String ,String > headers = new HashMap <>();
278+ Map <String , String > headers = new HashMap <>();
279279 Date d = new Date ();
280- SimpleDateFormat dateFm = new SimpleDateFormat ("EEE, dd MMM yyyy HH:mm:ss 'GMT'" ,Locale .ENGLISH );
280+ SimpleDateFormat dateFm = new SimpleDateFormat ("EEE, dd MMM yyyy HH:mm:ss 'GMT'" , Locale .ENGLISH );
281281 System .out .println (dateFm .format (d ));
282- headers .put ("x-qn-meta-!Content-Type" ,"image/png" );
283- headers .put ("x-qn-meta-!Last-Modifie" ,dateFm .format (d ));
284- bucketManager .changeHeaders (bucket ,key ,headers );
282+ headers .put ("x-qn-meta-!Content-Type" , "image/png" );
283+ headers .put ("x-qn-meta-!Last-Modifie" , dateFm .format (d ));
284+ bucketManager .changeHeaders (bucket , key , headers );
285285 } catch (QiniuException e ) {
286286 fail (bucket + ":" + key + "==> " + e .response .toString ());
287287 }
0 commit comments