1+ /*
2+ * Copyright 2013 Netflix, Inc.
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ * limitations under the License.
15+ */
116package feign ;
217
318import com .google .common .base .Objects ;
1328import com .google .common .collect .Maps ;
1429import com .google .common .collect .Multimap ;
1530import com .google .common .collect .Multimaps ;
16- import com .google .common .net .HttpHeaders ;
1731
1832import java .io .Serializable ;
1933import java .io .UnsupportedEncodingException ;
2539import java .util .Map ;
2640import java .util .Map .Entry ;
2741
28- import feign .codec .BodyEncoder ;
29- import feign .codec .FormEncoder ;
30-
3142import static com .google .common .base .Charsets .UTF_8 ;
3243import static com .google .common .base .Objects .equal ;
3344import static com .google .common .base .Preconditions .checkNotNull ;
@@ -165,8 +176,7 @@ private static String urlEncode(Object arg) {
165176 }
166177
167178 /**
168- * Expands a {@code template}, such as {@code <username> username}
169- * </username>}, using the {@code variables} supplied. Any unresolved
179+ * Expands a {@code template}, such as {@code username}, using the {@code variables} supplied. Any unresolved
170180 * parameters will remain.
171181 * <p/>
172182 * Note that if you'd like curly braces literally in the {@code template},
@@ -400,9 +410,9 @@ public ListMultimap<String, String> headers() {
400410 }
401411
402412 /**
403- * replaces the {@link HttpHeaders#CONTENT_LENGTH} header.
413+ * replaces the {@link com.google.common.net. HttpHeaders#CONTENT_LENGTH} header.
404414 * <p/>
405- * Usually populated by {@link BodyEncoder} or {@link FormEncoder}
415+ * Usually populated by {@link feign.codec. BodyEncoder} or {@link feign.codec. FormEncoder}
406416 *
407417 * @see Request#body()
408418 */
@@ -530,4 +540,4 @@ public String queryLine() {
530540 }
531541
532542 private static final long serialVersionUID = 1L ;
533- }
543+ }
0 commit comments