Skip to content

Commit 4c15846

Browse files
committed
added legal stuff
1 parent 86d3f48 commit 4c15846

1 file changed

Lines changed: 30 additions & 10 deletions

File tree

Lines changed: 30 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
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+
*/
116
package org.androidannotations.rest;
217

318
import org.androidannotations.annotations.rest.Rest;
@@ -6,14 +21,19 @@
621

722
@Rest(converters = { MappingJacksonHttpMessageConverter.class })
823
public 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
}

0 commit comments

Comments
 (0)