File tree Expand file tree Collapse file tree
AndroidAnnotations/androidannotations/src/test/java/org/androidannotations/rest Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ /**
2+ * Copyright (C) 2010-2013 eBusiness Information, Excilys Group
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5+ * use this file except in compliance with the License. You may obtain a copy of
6+ * 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, WITHOUT
12+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13+ * License for the specific language governing permissions and limitations under
14+ * the License.
15+ */
116package org .androidannotations .rest ;
217
318import org .androidannotations .annotations .rest .Rest ;
621
722@ Rest (converters = { MappingJacksonHttpMessageConverter .class })
823public interface ClientWithWrongEnhancedMethod {
9- // Correct
10- RestTemplate getTemplate ();
11- String getRootUrl ();
12-
13- // Wrong
14- Object getRestTemplate ();
15- String getURL ();
16- String getRootURL ();
17- String getRootURL (String param );
18- boolean setRootURL ();
24+ // Correct
25+ RestTemplate getTemplate ();
26+
27+ String getRootUrl ();
28+
29+ // Wrong
30+ Object getRestTemplate ();
31+
32+ String getURL ();
33+
34+ String getRootURL ();
35+
36+ String getRootURL (String param );
37+
38+ boolean setRootURL ();
1939}
You can’t perform that action at this time.
0 commit comments