@@ -137,7 +137,7 @@ private Response post(String url, byte[] body) throws QiniuException {
137137 return client .post (url , body , headers , Client .FormMime );
138138 }
139139
140- public static Batch createBatch (){
140+ public static Batch createBatch () {
141141 return new Batch ();
142142 }
143143
@@ -148,32 +148,32 @@ private Batch() {
148148 this .ops = new ArrayList <String >();
149149 }
150150
151- public Batch copy (String from_bucket , String from_key , String to_bucket , String to_key ){
151+ public Batch copy (String from_bucket , String from_key , String to_bucket , String to_key ) {
152152 String from = entry (from_bucket , from_key );
153153 String to = entry (to_bucket , to_key );
154154 ops .add ("copy" + "/" + from + "/" + to );
155155 return this ;
156156 }
157157
158- public Batch rename (String from_bucket , String from_key , String to_key ){
158+ public Batch rename (String from_bucket , String from_key , String to_key ) {
159159 return move (from_bucket , from_key , from_bucket , to_key );
160160 }
161161
162- public Batch move (String from_bucket , String from_key , String to_bucket , String to_key ){
162+ public Batch move (String from_bucket , String from_key , String to_bucket , String to_key ) {
163163 String from = entry (from_bucket , from_key );
164164 String to = entry (to_bucket , to_key );
165165 ops .add ("move" + "/" + from + "/" + to );
166166 return this ;
167167 }
168168
169- public Batch delete (String bucket , String ... keys ){
169+ public Batch delete (String bucket , String ... keys ) {
170170 for (String key : keys ) {
171171 ops .add ("delete" + "/" + entry (bucket , key ));
172172 }
173173 return this ;
174174 }
175175
176- public Batch stat (String bucket , String ... keys ){
176+ public Batch stat (String bucket , String ... keys ) {
177177 for (String key : keys ) {
178178 ops .add ("stat" + "/" + entry (bucket , key ));
179179 }
0 commit comments