Subversion Repositories eFlore/Applications.del

Rev

Rev 1180 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1180 Rev 1470
Line 15... Line 15...
15
public class PreferencesServiceConcret implements PreferencesService {
15
public class PreferencesServiceConcret implements PreferencesService {
Line 16... Line 16...
16
	
16
	
Line 17... Line 17...
17
	private String baseUrl;
17
	private String baseUrl;
18
 
18
 
19
	public PreferencesServiceConcret() {
-
 
20
		Config config = new Config();
19
	public PreferencesServiceConcret() {
Line 21... Line 20...
21
		this.baseUrl = config.getServiceBaseUrl();
20
		this(new Config());
22
	}
21
	}
23
	
22
	
Line 24... Line 23...
24
	public PreferencesServiceConcret(Config config) {
23
	public PreferencesServiceConcret(Config config) {
25
		this.baseUrl = config.getServiceBaseUrl();
24
		this.baseUrl = config.getUrl("serviceUtilisateursBaseUrl");
26
	}
25
	}